Notion MCP Server

by nanahiryu

312 downloads
Not rated
GitHub

Description

# Notion MCP Server Model Context Protocol(MCP)を使用して Notion の API と統合するサーバー。Cursor 用の MCP サーバーとして機能します。 ## セットアップ 1. リポジトリをクローン 2. `npm i`を実行 3. `npm run build`を実行してプロジェクトをビルド 4. Cursor の設定を開く: - 設定 (Settings) > MCP - 「Add new MCP server」をクリック - 以下の情報を入力: - Name: `notion` -…

About

# Notion MCP Server Model Context Protocol(MCP)を使用して Notion の API と統合するサーバー。Cursor 用の MCP サーバーとして機能します。 ## セットアップ 1. リポジトリをクローン 2. `npm i`を実行 3. `npm run build`を実行してプロジェクトをビルド 4. Cursor の設定を開く: - 設定 (Settings) > MCP - 「Add new MCP server」をクリック - 以下の情報を入力: - Name: `notion` - Command: 以下のコマンド例を参照(環境に合わせて修正) 5…

Details

Author
nanahiryu
Downloads
312
Categories
Knowledge Base, API

- Block operations (add, retrieve, get children, delete)
- Page operations (retrieve, update properties)
- User information retrieval
- Database operations (create, query, retrieve, update, create items)
- Comment operations (create, retrieve)

Clone the repository, run npm i and npm run build, then configure it in Cursor by adding a new MCP server with the command that sets NOTION_API_TOKEN environment variable and points to the built index.js.

Notion MCP Server

Model Context Protocol(MCP)を使用して Notion の API と統合するサーバー。Cursor 用の MCP サーバーとして機能します。

セットアップ

1. リポジトリをクローン
2. npm iを実行
3. npm run buildを実行してプロジェクトをビルド
4. Cursor の設定を開く:
- 設定 (Settings) > MCP
- 「Add new MCP server」をクリック
- 以下の情報を入力:
- Name: notion
- Command: 以下のコマンド例を参照(環境に合わせて修正)
5. 「Save」をクリックして設定を保存

コマンド例

Mac の場合:

env NOTION_API_TOKEN={your_notion_api_token} node {your_path_to_index.js}

Windows の場合:

set NOTION_API_TOKEN={your_notion_api_token} && node {your_path_to_index.js}

注: {your_path_to_index.js} はビルドされた index.js への絶対パスに置き換えてください。

機能

このサーバーは Notion の API にアクセスし、以下の操作を行うことができます:

- ブロックの操作(追加、取得、子ブロックの取得、削除)
- ページの操作(取得、プロパティの更新)
- ユーザー情報の取得
- データベースの操作(作成、クエリ、取得、更新、アイテムの作成)
- コメントの操作(作成、取得)
- 検索機能

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.