NotionナレッジベースMCPサーバー
Cline VSCode 拡張機能を通じて Notion ナレッジ ベースへのアクセスを提供する MCP サーバー。
特徴
- Cline から直接 Notion ナレッジベースを照会する
- Notionページを参照して詳細な回答を入手
- 信頼性の高いパフォーマンスを実現するFastMCPを搭載
- 包括的なエラー処理とログ記録
前提条件
- Python 3.10以上
- UVパッケージマネージャー
- Cline VSCode拡張機能
- NotionナレッジベースにアクセスするためのDify APIキー
インストール
- このリポジトリをクローンします:
- Dify API キーを使用して
.env
ファイルを作成します。 - Cline にサーバーをインストールします。これにより、次の処理が自動的に実行されます。
- uv を使用して必要な依存関係をすべてインストールします
- Clineの設定でサーバーを構成する
- Clineでサーバーを使用できるようにする
使用法
インストールが完了したら、ClineでNotionナレッジベースについて質問することでサーバーを利用できます。例えば:
サーバーは、Notion ナレッジベースから次のような関連情報を返します。
- 詳細な回答
- 関連するNotionページへのリンク
- 参照用のページID
構成
サーバーはインストール中に自動的に構成されますが、必要に応じて Cline の構成ファイルの設定を手動で更新できます。
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
構成例:
発達
開発とテストの場合:
- 依存関係をインストールします:
- 開発サーバーを実行します。
これにより、サーバーをテストするための 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
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Notion ナレッジ ベースに接続する MCP サーバー。Cline 拡張機能を使用して VSCode から直接情報を照会および取得できます。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityMCP Server for the Notion API, enabling Claude to interact with Notion workspaces.Last updated -181,466802TypeScriptMIT License
- AsecurityAlicenseAqualityCline MCP integration that allows users to save, search, and format memories with semantic understanding, providing tools to store and retrieve information using vector embeddings for meaning-based search.Last updated -67TypeScriptMIT License
- AsecurityAlicenseAqualityNotion MCP Server is a MCP server implementation that enables AI assistants to interact with Notion's API.Last updated -13947131TypeScriptMIT License
- -securityAlicense-qualityAn 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.Last updated -14,969TypeScriptMIT License