Notion MCP Server
Notion MCP サーバー
Notion API に接続し、Claude の Machine Context Protocol (MCP) を通じて機能を公開するサーバー。
特徴
タイトルまたはコンテンツでNotionページを検索
ページの詳細とコンテンツを取得する
Notionデータベースのクエリ
Notionで新しいページを作成する
Related MCP server: Notion MCP Server
設定
このリポジトリをクローンします:
git clone https://github.com/yourusername/notion-mcp-server.git
cd notion-mcp-server依存関係をインストールします:
npm installルート ディレクトリに次の内容の
.envファイルを作成します。
NOTION_API_KEY=your_notion_api_key_here
PORT=3000
# Optional: if you want to query a specific database by default
NOTION_DATABASE_ID=your_notion_database_id_hereNotion API キーを取得します:
https://www.notion.so/my-integrationsにアクセスしてください。
新しい統合を作成する
「内部統合トークン」をコピーします
このトークンを
NOTION_API_KEYとして.envファイルに追加します。
Notion 統合をワークスペースに接続します。
Notionワークスペース内のページまたはデータベースに移動します
右上の「…」メニューをクリックします
「接続を追加」を選択
統合を見つけて追加する
サーバーの実行
開発モードでサーバーを起動します。
npm run devまたは本番モードでは:
npm startサーバーは、 .envファイルで指定されたポート (デフォルト: 3000) で実行されます。
APIエンドポイント
通常のHTTPエンドポイント
POST /api/notion/search
Notionでページを検索する
本文:
{ "query": "search term" }
/api/notion/page にPOSTする
IDでページを取得する
本文:
{ "page_id": "page-id-here" }
POST /api/notion/database/query
データベースをクエリする
本文:
{ "database_id": "database-id-here", "filter": {}, "sorts": [] }
/api/notion/page/create をPOSTする
新しいページを作成する
本文:
{ "parent": {}, "properties": {}, "children": [] }
MCP統合
サーバーは、利用可能な関数を記述する MCP マニフェストを/mcp/manifest.jsonで公開します。
MCP 関数を呼び出すには、次の構造の POST リクエストを/api/notion/mcp/invokeに送信します。
{
"function_name": "search_pages",
"parameters": {
"query": "search term"
}
}利用可能なMCP機能
search_pages - タイトルまたはコンテンツでNotionページを検索
get_page - IDでNotionページを取得する
query_database - Notionデータベースをクエリする
create_page - Notionで新しいページを作成する
ライセンス
マサチューセッツ工科大学
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
- 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.108373MIT
- AlicenseNot gradedqualityDmaintenanceA 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
- AlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server that exposes the official Notion SDK, allowing AI models to interact with Notion workspaces.174610Apache 2.0
- AlicenseBqualityDmaintenanceA Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.12411MIT
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…
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Appeared in Searches
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/snowan/notion-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server