Notion MCP Server
Servidor MCP de Notion
Un servidor que se conecta a la API de Notion y expone la funcionalidad a través del Protocolo de contexto de máquina (MCP) de Claude.
Características
Buscar páginas de Notion por título o contenido
Recuperar detalles y contenido de la página
Consultar bases de datos de Notion
Crear nuevas páginas en Notion
Related MCP server: Notion MCP Server
Configuración
Clonar este repositorio:
git clone https://github.com/yourusername/notion-mcp-server.git
cd notion-mcp-serverInstalar dependencias:
npm installCree un archivo
.enven el directorio raíz con el siguiente contenido:
NOTION_API_KEY=your_notion_api_key_here
PORT=3000
# Optional: if you want to query a specific database by default
NOTION_DATABASE_ID=your_notion_database_id_hereObtenga su clave API de Notion:
Crear una nueva integración
Copiar el "Token de integración interna"
Agregue este token como su
NOTION_API_KEYen el archivo.env
Conecte su integración de Notion a su espacio de trabajo:
Vaya a una página o base de datos en su espacio de trabajo de Notion
Haga clic en el menú "..." en la parte superior derecha
Seleccione "Agregar conexiones"
Encuentra y agrega tu integración
Ejecución del servidor
Inicie el servidor en modo de desarrollo:
npm run devO en modo de producción:
npm startEl servidor se ejecutará en el puerto especificado en su archivo .env (predeterminado: 3000).
Puntos finales de API
Puntos finales HTTP regulares
POST /api/notion/búsqueda
Buscar páginas en Notion
Cuerpo:
{ "query": "search term" }
POST /api/notion/página
Obtener una página por ID
Cuerpo:
{ "page_id": "page-id-here" }
POST /api/notion/base de datos/consulta
Consultar una base de datos
Cuerpo:
{ "database_id": "database-id-here", "filter": {}, "sorts": [] }
POST /api/notion/página/crear
Crear una nueva página
Cuerpo:
{ "parent": {}, "properties": {}, "children": [] }
Integración MCP
El servidor expone un manifiesto MCP en /mcp/manifest.json que describe las funciones disponibles.
Para invocar una función MCP, envíe una solicitud POST a /api/notion/mcp/invoke con la siguiente estructura:
{
"function_name": "search_pages",
"parameters": {
"query": "search term"
}
}Funciones MCP disponibles
search_pages - Buscar páginas de Notion por título o contenido
get_page - Obtener una página de Notion por ID
query_database - Consultar una base de datos de Notion
create_page - Crea una nueva página en Notion
Licencia
Instituto Tecnológico de Massachusetts (MIT)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that enables Claude and other LLMs to interact with Notion workspaces, providing capabilities like searching, retrieving, creating and updating pages, as well as managing databases.108373MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides a standardized interface for interacting with Notion's API, enabling users to list databases, create pages, and search across their Notion workspace.111MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server that exposes the official Notion SDK, allowing AI models to interact with Notion workspaces.174610Apache 2.0
- AlicenseBqualityDmaintenanceA Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.12411MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/snowan/notion-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server