Notion MCP サーバー
このプロジェクトは、Notion API用のMCP サーバーを実装します。
インストール
1. Notionでの統合の設定:
https://www.notion.so/profile/integrationsにアクセスし、新しい内部統合を作成するか、既存の統合を選択します。
Notion APIの公開範囲は限定されています(例えば、MCP経由でデータベースを削除することはできません)。しかし、ワークスペースデータをLLMに公開することで、データへのリスクはゼロではありません。セキュリティを重視するユーザーは、統合機能をさらに設定することをお勧めします。
たとえば、「構成」タブから「コンテンツの読み取り」アクセス権のみを付与することで、読み取り専用の統合トークンを作成できます。
2. コンテンツを統合に接続する:
関連するページとデータベースが統合に接続されていることを確認します。
これを行うには、そのページにアクセスし、3 つのドットをクリックして、「統合に接続」を選択する必要があります。
3. クライアントに MCP 構成を追加する:
npm を使用する場合:
.cursor/mcp.json
またはclaude_desktop_config.json
に次のコードを追加します (MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
)
Docker の使用:
Docker を使用して MCP サーバーを実行するには、次の 2 つのオプションがあります。
.cursor/mcp.json
またはclaude_desktop_config.json
に以下を追加します。
このアプローチ:
- 公式Docker Hubイメージを使用
- 環境変数を介してJSONエスケープを適切に処理します
- より信頼性の高い構成方法を提供します
Dockerイメージをローカルでビルドして実行することもできます。まず、Dockerイメージをビルドします。
次に、 .cursor/mcp.json
またはclaude_desktop_config.json
に次のコードを追加します。
ntn_****
統合シークレットに置き換えることを忘れないでください。統合設定タブから確認することができます。
例
- 次の命令を使用して
AIはタスクを達成するために、 v1/search
とv1/comments
2つのAPI呼び出しを正しく計画します。
- 同様に、次の命令を実行すると、「Notion MCP」という名前の新しいページが親ページ「Development」に追加されます。
- コンテンツIDを直接参照することもできます
発達
建てる
実行する
公開
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.
AI アシスタントが Notion API と対話し、自然言語コマンドを使用して Notion ワークスペースでコンテンツを検索、読み取り、コメント、作成できるようにする MCP サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityMCP Server for the Notion API, enabling Claude to interact with Notion workspaces.Last updated -181,230699TypeScriptMIT License
- AsecurityFlicenseAqualityA high-performance MCP server that integrates Notion into AI workflows, enabling interaction with Notion pages, databases, and comments through a standardized protocol.Last updated -81013TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that exposes the official Notion SDK, allowing AI models to interact with Notion workspaces.Last updated -17777TypeScriptApache 2.0
- AsecurityAlicenseAqualityNotion MCP Server is a MCP server implementation that enables AI assistants to interact with Notion's API.Last updated -1319491TypeScriptMIT License
Appeared in Searches
- A system for querying databases using natural language
- A server for converting study materials and optimizing online research
- Using Logseq data as context for chat applications
- A personal assistant tool for managing schedules, notes, projects, and emails
- Managing Social Media Content Creation Using Monday