MCP Notion Server

Integrations

  • Provides tools for interacting with Notion databases and pages, enabling CRUD operations on Notion content, querying databases with filters, managing page properties, and working with blocks. Also offers AI-powered tools for content analysis, summarization, and tag suggestion.

mcp-notion-server

Notion統合のためのモデルコンテキストプロトコルサーバー

このTypeScriptベースのMCPサーバーは、ClaudeとNotion間のブリッジを実装し、Notionのデータベースやページとのシームレスな連携を可能にします。以下の方法でMCPのコアコンセプトを実証します。

  • Notionページとデータベースのリソース管理
  • NotionコンテンツのCRUD操作用ツール
  • AIを活用したコンテンツ分析のプロンプト

特徴

リソース

  • URI経由でNotionのページとデータベースにアクセスする
  • プレーンテキストとリッチテキストのコンテンツタイプのサポート
  • Notionプロパティからのメタデータ抽出

ツール

データベース操作
  • list_databases - アクセス可能なすべてのNotionデータベースを一覧表示します
  • create_database - カスタムプロパティを使用して新しいデータベースを作成する
  • query_database - データベースエントリの検索とフィルタリング
  • update_database - データベースのプロパティとスキーマを変更する
ページ操作
  • create_page - データベースまたはサブページとして新しいページを作成する
    • タイトル、プロパティ、マークダウンコンテンツのサポート
  • update_page - 既存のページプロパティを更新する
  • get_page - ページのコンテンツとメタデータを取得する
  • delete_page - データベースまたは親ページからページを削除します
ブロック操作
  • append_blocks - ページに新しいブロックを追加する
  • delete_blocks - ページからブロックを削除する
  • get_blocks - ブロックの内容を取得する
  • update_blocks - 既存のブロックの内容を変更する

プロンプト

  • summarize_notes - メモの簡潔な要約を生成する
  • analyze_content - ページコンテンツの洞察と分析を提供します
  • suggest_tags - コンテンツに基づいて関連するタグを推奨します

設定

前提条件

  • Node.js 18以上
  • Notion APIキーと統合設定
  • クロードデスクトップアプリケーション

Claude Desktopとの統合

Notion統合を作成する:

  1. Notion の統合ページにアクセスしてください。
  2. 「新しい統合」をクリックします。
  3. 統合に名前を付け、適切な権限(「コンテンツの読み取り」、「コンテンツの更新」など)を選択します。
  4. 秘密鍵を取得します。
  5. 統合から「内部統合トークン」をコピーします。このトークンは認証に使用されます。
  6. ワークスペースに統合を追加します。
  7. Notion で統合によりアクセスするページまたはデータベースを開きます。
  8. 右上隅のナビゲーションボタンをクリックします。
  9. 「接続先」ボタンをクリックして統合を選択します。

構成のセットアップ

Claude Desktop にサーバー構成を追加します。

MacOSの場合:

~/Library/Application Support/Claude/claude_desktop_config.json

ウィンドウズ:

%APPDATA%/Claude/claude_desktop_config.json

構成内容:

{ "mcpServers": { "mcp-notion-server": { "command": "npx", "args": [ "-y", "@gabornyerges/mcp-notion-server" ], "env": { "NOTION_API_KEY": "your-notion-api-key" } } } }

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

  1. MCP検査官
npm run inspector

MITライセンス - 詳細はライセンスを参照

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude AI と Notion を繋ぐブリッジであり、ユーザーが自然言語で Notion データベースやページと対話できるようにし、コンテンツの作成、読み取り、更新、削除などの操作をサポートします。

  1. Features
    1. Resources
    2. Tools
    3. Prompts
  2. Setup
    1. Prerequisites
  3. Integration with Claude Desktop
    1. Configuration Setup
    2. Debugging

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    Enables interaction with Notion through the Notion API by exposing it as tools for LLMs, allowing operations like reading, creating, updating, and deleting Notion pages seamlessly via natural language.
    Last updated -
    41
    17
    TypeScript
  • -
    security
    A
    license
    -
    quality
    Enables Language Models to interact with Notion workspaces through standardized tools for searching, reading, creating, and updating pages and databases.
    Last updated -
    39
    TypeScript
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    A simple server that integrates with Claude to allow querying and manipulating Notion pages and databases through natural language prompts.
    Last updated -
    275
    JavaScript
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.
    Last updated -
    12
    64
    7
    JavaScript
    • Apple

View all related MCP servers

ID: stxohtlgox