mcp-server-notion-prompt

mcp-server-notion-prompt

2

The Notion Prompts MCP Server is a tool that provides access to and management of prompts stored in Notion databases, utilizing the Model Context Protocol (MCP) standard. It supports various prompt handling modes and features category management, caching, and search functionalities to enhance usability and performance.

Notion Prompts MCP Server

This server utilizes the Model Context Protocol (MCP) standard to provide access to prompts stored in a Notion database.

Features

  • List of available prompts in MCP resource format
  • Read individual prompts by ID or name
  • Combine user input with prompt templates
  • Category management: grouping and querying prompts by category
  • Search functionality: search prompts by name, description, and content
  • Caching system to enhance performance and reduce API calls
  • Configurable via environment variables or command-line arguments
  • Supports various prompt handling modes to prevent LLM out-of-bounds processing

Notion Database Structure

  • Name: Prompt name
  • Content: Prompt content; can include placeholders such as {{USER_INPUT}}
  • Description: Description of the prompt
  • Category: Prompt category

MCP Tools

  1. list_prompts: List all available prompts
  2. get_prompt_by_name: Retrieve a prompt by name
  3. compose_prompt: Integrate user input into a prompt template
  4. process_composed_prompt: Process the composed prompt
  5. process_category_prompts: Process all prompts within a specified category
  6. refresh_prompts: Refresh prompt cache
  7. get_prompts_by_category: Retrieve prompts of a specific category
  8. search_prompts: Search prompts by name, description, and content
  9. list_categories: List all available prompt categories