
Begriff MCP
Ein Modellkontext -Protokoll -Server -Server -Implementierung für die Integration der Begriffsintegration, die eine standardisierte Schnittstelle für die Interaktion mit der API des Begriffs bietet.
3
Github Watches
15
Github Forks
92
Github Stars
Notion MCP Server
A Model Context Protocol (MCP) server implementation for Notion integration, providing a standardized interface for interacting with Notion's API. Compatible with Claude Desktop and other MCP clients.
Features
- List and query Notion databases
- Create and update pages
- Search across Notion workspace
- Get database details and block children
- Full async/await support with httpx
- Type-safe with Pydantic v2 models
- Proper error handling with detailed logging
- Compatibility with MCP 1.6.0
Installation
- Clone the repository:
git clone https://github.com/ccabanillas/notion-mcp.git
cd notion-mcp
- Create a virtual environment and install dependencies (using uv):
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .
Alternatively, using standard venv:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e .
- Create a
.env
file in the project root:
NOTION_API_KEY=your_notion_integration_token
Usage
- Test the server (it should run without errors):
python -m notion_mcp
- To use it with Claude Desktop, adjust your
claude_desktop_config.json
file (located at~/Library/Application Support/Claude/claude_desktop_config.json
on macOS):
{
"servers": {
"notion-mcp": {
"command": "/Users/username/Projects/notion-mcp/.venv/bin/python",
"args": ["-m", "notion_mcp"],
"cwd": "/Users/username/Projects/notion-mcp"
}
}
}
Be sure to replace /Users/username/
with your actual home directory path.
Development
Project Structure
notion-mcp/
├── src/
│ └── notion_mcp/
│ ├── models/
│ │ ├── __init__.py
│ │ └── notion.py # Pydantic models for Notion objects
│ ├── __init__.py
│ ├── __main__.py # Entry point
│ ├── client.py # Notion API client
│ └── server.py # MCP server implementation
├── .env # Environment variables (add your Notion API key here)
├── .gitignore
├── pyproject.toml # Project dependencies
└── README.md
Running Tests
pytest
Configuration
The server requires a Notion integration token. To set this up:
- Go to https://www.notion.so/my-integrations
- Create a new integration with appropriate capabilities (read/write as needed)
- Copy the integration token
- Add it to your
.env
file in the project root directory:
NOTION_API_KEY=your_notion_integration_token
- Share your Notion databases with the integration (from the database's "Share" menu)
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
MIT License - Use at your own risk
Troubleshooting
Common Issues
- Connection Errors: Make sure your Notion API key is correct and you have internet access
- Permission Errors: Ensure your integration has been given access to the databases you're trying to access
- Claude Desktop Integration: If Claude Desktop isn't connecting, check that your config path is correct and that the server is running without logging to stdout
Acknowledgments
- Built to work with Claude Desktop and other MCP clients
- Uses Notion's API (latest compatible version 2022-02-22)
- MCP 1.6.0 compatibility maintained
- Special thanks to danhilse, I referenced his notion-mcp-server project
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
MCP -Server für den Fetch -Webseiteninhalt mit dem Headless -Browser von Dramatikern.
Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)
Brücke zwischen Ollama und MCP -Servern und ermöglicht es lokalen LLMs, Modellkontextprotokoll -Tools zu verwenden
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
Fair-Code-Workflow-Automatisierungsplattform mit nativen KI-Funktionen. Kombinieren Sie visuelles Gebäude mit benutzerdefiniertem Code, SelbstHost oder Cloud, 400+ Integrationen.
Reviews

user_jfxjKGtY
As a dedicated user of notion-mcp, I can confidently say it has revolutionized my workflow management. The seamless integration within Notion boosts productivity and efficiency. ccabanillas has done an exceptional job with this tool, making it easy to navigate and highly functional. I highly recommend checking out notion-mcp on GitHub for anyone looking to streamline their tasks and projects.