Notion MCP
Begriff-MCP
Ein einfacher Model Context Protocol (MCP)-Server, der sich in die API von Notion integrieren lässt, um meine persönliche To-Do-Liste zu verwalten.
Demo

Related MCP server: Notion MCP Server
Visuelle Anleitung
Notion MCP-Abfrage 1

Notion MCP-Abfrage 2

Notion MCP-Abfrage 3

Voraussetzungen
Python 3.11 oder höher
Ein Notion-Konto mit API-Zugriff
Ein Notion-Integrationstoken
Eine Notion-Seite, auf der Sie Ihre To-Do-Liste verwalten möchten
Claude Desktop Clint
Aufstellen
Installation über Smithery
So installieren Sie Notion MCP für Claude Desktop automatisch über Smithery :
npx -y @smithery/cli install @Badhansen/notion-mcp --client claudeKlonen Sie das Repository:
git clone https://github.com/Badhansen/notion-mcp.git
cd notion-mcpPython-Umgebung einrichten:
uv venv
source .venv/bin/activate
uv pip install -e .Erstellen Sie eine Notion-Integration:
Gehen Sie zu https://www.notion.so/my-integrations
Neue Integration erstellen
Kopieren Sie den API-Schlüssel
Geben Sie Ihre Datenbank/Seite mit der Integration frei:
Öffnen Sie Ihren Notion-Arbeitsbereich mit einer vorhandenen Datenbank/Tabelle oder einer Seite.
Klicken Sie auf das Menü „…“ → „Verbindungen hinzufügen“
Wählen Sie Ihre Integration aus (Suche nach Namen)
Konfiguration
Erstellen Sie
.envDatei:
cp .env.example .envKonfigurieren Sie Notion-Anmeldeinformationen in
.env:
NOTION_TOKEN=<your-notion-api-token>
PAGE_ID=<your-notion-page-id>
NOTION_VERSION="2022-06-28"
NOTION_BASE_URL="https://api.notion.com/v1"Um es wie vorgesehen mit Claude Desktop zu verwenden, müssen Sie Ihre Datei
claude_desktop_config.jsonanpassen. Gehen Sie zuClaude Desktop -> Settings -> Developer -> Edit Config. Fügen Sie nun dieNotion-Serverkonfiguration hinzu.
{
"mcpServers": {
"notion-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/username/Projects/Python/notion-mcp/src" /* Path to your project */,
"run",
"server.py"
]
}
}
}Entwicklung
Projektstruktur:
notion-mcp/
├── docs/
├── src/
│ └── server.py
├── .env
├── .python-version
├── README.md
├── pyproject.toml
└── uv.lockSupportfunktionen
Aufgaben anzeigen
Um alle Aufgaben aus Ihrem Notion-Arbeitsbereich anzuzeigen, verwenden Sie die Funktion show_all_todos :
{
"name": "show_all_todos",
"arguments": {}
}Aufgabe hinzufügen
Um Ihrem Notion-Arbeitsbereich eine neue Aufgabe hinzuzufügen, verwenden Sie die Funktion add_todo :
{
"name": "add_todo",
"arguments": {
"task": "Your task description"
}
}Update-Aufgabe
Um eine vorhandene Aufgabe in Ihrem Notion-Arbeitsbereich zu aktualisieren, verwenden Sie die Funktion complete_todo :
{
"name": "complete_todo",
"arguments": {
"task_id": "your-task-id"
}
}Beitragen
Forken Sie das Repository
Feature-Zweig erstellen
Pull-Anfrage senden
Lizenz
MIT-Lizenz. Weitere Informationen finden Sie in der Datei LICENSE.
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
- AlicenseNot gradedqualityDmaintenanceA simple Model Context Protocol (MCP) server that integrates with Notion's API to manage my personal todo list through Claude.207MIT
- 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
- AlicenseAqualityDmaintenanceA Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.128371MIT
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…
A Model Context Protocol server for Wix AI tools
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/Badhansen/notion-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server