Notion MCP Server
Notion MCP Server
Ein Server, der eine Verbindung zur Notion-API herstellt und Funktionen über Claudes Machine Context Protocol (MCP) bereitstellt.
Merkmale
Durchsuchen Sie Notion-Seiten nach Titel oder Inhalt
Seitendetails und Inhalte abrufen
Abfragen von Notion-Datenbanken
Erstellen Sie neue Seiten in Notion
Related MCP server: Notion MCP Server
Aufstellen
Klonen Sie dieses Repository:
git clone https://github.com/yourusername/notion-mcp-server.git
cd notion-mcp-serverInstallieren Sie Abhängigkeiten:
npm installErstellen Sie im Stammverzeichnis eine
.envDatei mit folgendem Inhalt:
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_hereHolen Sie sich Ihren Notion-API-Schlüssel:
Gehen Sie zu https://www.notion.so/my-integrations
Erstellen einer neuen Integration
Kopieren Sie das „Interne Integrationstoken“
Fügen Sie dieses Token als Ihren
NOTION_API_KEYin der.envDatei hinzu
Verbinden Sie Ihre Notion-Integration mit Ihrem Arbeitsbereich:
Gehen Sie zu einer Seite oder Datenbank in Ihrem Notion-Arbeitsbereich
Klicken Sie oben rechts auf das Menü „…“
Wählen Sie „Verbindungen hinzufügen“
Suchen und fügen Sie Ihre Integration hinzu
Ausführen des Servers
Starten Sie den Server im Entwicklungsmodus:
npm run devOder im Produktionsmodus:
npm startDer Server wird auf dem in Ihrer .env Datei angegebenen Port ausgeführt (Standard: 3000).
API-Endpunkte
Reguläre HTTP-Endpunkte
POST /api/notion/search
Suchen Sie in Notion nach Seiten
Body:
{ "query": "search term" }
POST /api/notion/page
Abrufen einer Seite nach ID
Text:
{ "page_id": "page-id-here" }
POST /api/notion/database/query
Abfragen einer Datenbank
Text:
{ "database_id": "database-id-here", "filter": {}, "sorts": [] }
POST /api/notion/page/create
Erstellen einer neuen Seite
Text:
{ "parent": {}, "properties": {}, "children": [] }
MCP-Integration
Der Server stellt unter /mcp/manifest.json ein MCP-Manifest bereit, das die verfügbaren Funktionen beschreibt.
Um eine MCP-Funktion aufzurufen, senden Sie eine POST-Anfrage an /api/notion/mcp/invoke mit der folgenden Struktur:
{
"function_name": "search_pages",
"parameters": {
"query": "search term"
}
}Verfügbare MCP-Funktionen
search_pages – Notion-Seiten nach Titel oder Inhalt durchsuchen
get_page - Ruft eine Notion-Seite nach ID ab
query_database – Abfrage einer Notion-Datenbank
create_page – Erstellen Sie eine neue Seite in Notion
Lizenz
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