Notion MCP Server
Notion MCP サーバー
公式の Notion SDK を公開し、AI モデルが Notion ワークスペースと対話できるようにする Model Context Protocol (MCP) サーバー。
クイックスタート
1. Notionの統合を設定する
https://www.notion.so/my-integrationsにアクセスしてください。
新しい統合を作成する
APIキーをコピーする
2. Notionページを統合に接続する
統合によって Notion コンテンツにアクセスするには、ページまたはデータベースを明示的に共有する必要があります。
統合を通じてアクセスしたいNotionページまたはデータベースに移動します
右上隅の「共有」ボタンをクリックします
「ユーザー、グループ、または統合を追加」フィールドで、ドロップダウンリストから統合を選択します。
「招待」をクリック
アクセス可能にしたいページまたはデータベースごとに繰り返します
**注:**統合は、明示的に共有されたページとデータベースにのみアクセスできます。子ページは親ページからアクセスを自動的に継承します。
3. AIアシスタントに追加する
次のいずれかの構成形式を使用して、この MCP サーバーを Claude Desktop、Cursor AI、または Claude.ai に追加できます。
コマンドライン形式
npx @ramidecodes/mcp-server-notion@latest -y --api-key=your-notion-integration-keyJSON設定フォーマット
{
"mcpServers": {
"Notion": {
"command": "npx",
"args": [
"@ramidecodes/mcp-server-notion@latest",
"-y",
"--api-key=your-notion-integration-key"
]
}
}
}your-notion-integration-key手順 1 の API キーに置き換えます。
セットアップ手順
Claude Desktop :設定 > 詳細設定 > モデルコンテキストプロトコル
カーソルAI : 設定 > AI > MCPサーバー
Claude.ai (Web) : プロフィール > 設定 > APIと統合 > モデルコンテキストプロトコル
Related MCP server: Notion MCP Server
利用可能なツール
サーバーは、Notion と対話するためのツールを提供します。
検索: ページまたはデータベースを検索
データベース: データベースエントリのクエリと取得
ページ: ページの作成、取得、更新
ブロック: コンテンツ ブロック (段落、リストなど) を管理します。
ユーザー: ユーザーを一覧表示し、ユーザー情報を取得する
コメント: コメントの作成と一覧表示
リンクプレビュー: URLのリンクプレビューを作成する
代替設定方法
環境変数の使用
API キーを直接渡す代わりに、 .envファイルを使用することもできます。
次の内容で
.envファイルを作成します。
NOTION_API_KEY=your-notion-integration-keyサーバーを実行します。
npx @ramidecodes/mcp-server-notion@latest -y環境変数を使用した JSON 構成 (Claude デスクトップ用)
JSON 構成形式で環境変数を使用することもできます。
{
"mcpServers": {
"Notion": {
"command": "npx",
"args": [
"@ramidecodes/mcp-server-notion@latest",
"-y",
"--api-key=your-notion-integration-key"
]
}
}
}コマンドラインオプション
OPTIONS:
-h, --help Show help message
-v, --version Show version information
--verbose Enable verbose logging
--env-path <path> Path to .env file
--api-key <key> Notion API key
-y Skip confirmation promptsトラブルシューティング
「クライアントの作成に失敗しました」というエラーが発生した場合:
Windowsでは、npxコマンドの前に
cmd /cを使用してください。macOS/Linuxでは、npxへのフルパスを使用してみてください。
AIアシスタントに追加する前に、ターミナルでコマンドをテストしてください
よくある問題
「リソースにアクセスできません」エラー: 特定のNotionページまたはデータベースを統合と共有していることを確認してください(手順2を参照)
共有メニューに統合が表示されません: ページを更新するか、ブラウザを再起動してください
機能が制限されています: Notionの統合設定で適切な機能が有効になっていることを確認してください
特徴
公式SDKによる完全なNotion APIサポート
シームレスなAI統合を実現するMCP準拠
Notionのあらゆる操作のための包括的なツール
詳細なメッセージによる堅牢なエラー処理
環境変数による簡単な設定
各ツールの詳細なドキュメントについては、ツールのドキュメントを参照してください。
ライセンス
このプロジェクトは、Apache License 2.0 に基づいてライセンスされています。詳細については、 LICENSEファイルを参照してください。
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
- 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.102,2283MIT
- Alicense-qualityDmaintenanceA 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.122,2281MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides a standardized interface for AI models to access, query, and modify content in Notion workspaces.2,2284MIT
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…
MCP (Model Context Protocol) server for Appwrite
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/ramidecodes/mcp-server-notion'
If you have feedback or need assistance with the MCP directory API, please join our Discord server