Notion Knowledge Base MCP Server
NotionナレッジベースMCPサーバー
Cline VSCode 拡張機能を通じて Notion ナレッジ ベースへのアクセスを提供する MCP サーバー。
特徴
Cline から直接 Notion ナレッジベースを照会する
Notionページを参照して詳細な回答を入手
信頼性の高いパフォーマンスを実現するFastMCPを搭載
包括的なエラー処理とログ記録
Related MCP server: Notion MCP Server
前提条件
Python 3.10以上
UVパッケージマネージャー
NotionナレッジベースにアクセスするためのDify APIキー
インストール
このリポジトリをクローンします:
git clone https://github.com/yourusername/notion-mcp-server.git cd notion-mcp-serverDify API キーを使用して
.envファイルを作成します。echo "DIFY_API_BACKEND_KEY=your-api-key-here" > .envCline にサーバーをインストールします。
fastmcp install notion_mcp_server.pyこれにより、次の処理が自動的に実行されます。
uv を使用して必要な依存関係をすべてインストールします
Clineの設定でサーバーを構成する
Clineでサーバーを使用できるようにする
使用法
インストールが完了したら、ClineでNotionナレッジベースについて質問することでサーバーを利用できます。例えば:
Tell me about internal toolingサーバーは、Notion ナレッジベースから次のような関連情報を返します。
詳細な回答
関連するNotionページへのリンク
参照用のページID
構成
サーバーはインストール中に自動的に構成されますが、必要に応じて Cline の構成ファイルの設定を手動で更新できます。
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
構成例:
{
"mcpServers": {
"notion-kb": {
"command": "uv",
"args": [
"run",
"--with", "fastmcp",
"--with", "python-dotenv",
"--with", "requests",
"fastmcp",
"run",
"/absolute/path/to/notion_mcp_server.py"
],
"env": {
"DIFY_API_BACKEND_KEY": "your-api-key"
}
}
}
}発達
開発とテストの場合:
依存関係をインストールします:
pip install -r requirements.txt開発サーバーを実行します。
fastmcp dev notion_mcp_server.py
これにより、サーバーをテストするための MCP Inspector インターフェイスが起動します。
トラブルシューティング
サーバーに接続できません
.envファイルでAPIキーを確認してくださいCline の設定でサーバーパスが絶対パスであることを確認する
uvがインストールされ、PATHに入っているか確認する
依存関係の問題
fastmcp install notion_mcp_server.py --forceで再インストールしてみてください。UVが正しくインストールされていることを確認する
サーバーがハングする
設定で指定されているとおりに uv run コマンドを使用していることを確認してください
サーバーログでエラーを確認する
貢献
サーバーの実装とアーキテクチャの詳細については、 mcp_instructions.md を参照してください。
ライセンス
マサチューセッツ工科大学
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
- AlicenseAqualityAmaintenanceMCP Server for the Notion API, enabling Claude to interact with Notion workspaces.31682918MIT
- -licenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables natural language interaction with the Notion API, allowing users to search, comment, create pages, and access content within their Notion workspace.141,622
- AlicenseNot gradedqualityDmaintenanceA local MCP server for the Notion API, enabling AI agents to read, write, and manage Notion pages and databases. This fork restores database creation support.145MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the Notion API, enabling management of pages, blocks, databases, data sources, comments, and users through natural language.182MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that gives your AI access to the source code and docs of all public github repos
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/rickydata-indexer/notion_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server