NotionページMCPサーバー
NotionページMCPサーバーにより、LLMは自然な会話を通じて、共同作業用のコンテンツコンテナとしてNotionページを扱えます。 Notionインターフェースを直接操作しなくても、ページの作成、検索、読み取り、更新、整理、アーカイブ、およびページレベルのディスカッションへの参加を行うツールを提供します。
用途
NotionページMCPサーバーを使用して、次のアクションを実行します:
- 名前、トピック、またはキーワードでNotionページを検索
- ページのメタデータとプロパティを取得
- すべてのブロックを含むページコンテンツを読み取り
- スタンドアロンページまたは子ページとして新しいページを作成
- ページのメタデータとプロパティを更新
- ページをアーカイブまたは復元
- ページ階層を移動するために子ページを一覧表示
- 既存のページに新しいコンテンツブロックを追加
- 特定のブロック内のテキストコンテンツを更新
- ページからブロックを削除
- ページ上の未解決コメントスレッドを表示
- ページにコメントを追加、またはディスカッションに返信
プロンプト例
Find my project planning page in Notion.Show me the metadata for the API documentation page.Read the content of the team onboarding page.Create a new page for meeting notes under the Team folder.Update the status property on this project page.Archive the old roadmap page.What pages are under the Product Documentation page?Add a new section to the troubleshooting guide.Update the heading text in the introduction block.Delete the outdated section from this page.Show me the open comments on the requirements page.Add a comment asking about the timeline.
NotionページMCPサーバーのツール
NotionページMCPサーバーは次のツールを提供します:
| ツール | 説明 |
|---|---|
| search_pages | キーワードでNotionページを検索します。 |
| get_page | Notionページのメタデータとプロパティを取得します。 |
| get_page_content | 長いページ向けのページネーションを使用して、Notionページのブロックコンテンツを取得します。 |
| create_page | 指定した親の下に新しいNotionページを作成します。 |
| update_page | 既存のNotionページのメタデータとプロパティを更新します。 |
| set_page_archived_status | アーカイブステータスを更新してNotionページをアーカイブまたは復元します。 |
| list_page_children | 指定したNotionページの下にある直接の子ページを一覧表示します。 |
| append_page_blocks | Notionページに新しいコンテンツブロックを追加します。 |
| update_text_block | Notionページ上のサポートされているブロックのテキストコンテンツを更新します。 |
| delete_block | Notionページから単一のブロックサブツリーを削除します。 |
| list_open_comments | Notionページの未解決コメントスレッドを取得します。 |
| add_comment | 新しいページレベルのコメントを追加するか、Notionページ上の既存のディスカッションに返信します。 |
NotionページMCPサーバーのインストール
構築済みMCPサーバーをプロジェクトにインストールするには、次の手順を完了します:
Workatoアカウントにサインインします。
AI Hub > MCP serversに移動します。
+ Create MCP serverをクリックします。
接続済みアプリを使用して構築済みMCPサーバーを開始するセクションに移動し、使用する構築済みMCPサーバーを選択します。
Use this serverをクリックします。
サーバー名フィールドにMCPサーバーの名前を入力します。
場所ドロップダウンメニューを使用して、MCPサーバーのプロジェクトを選択します。
Connectionsセクションに移動し、アプリアカウントに接続します。
MCPサーバーテンプレートで使用するコネクションタイプを選択します。
- User's connection: MCPサーバーツールは、アプリケーションに接続するユーザーのIDと権限に基づいてアクションを実行します。 ユーザーは自分の認証情報で認証し、スキルを実行します。
- Your connection: このオプションでは、レシピビルダーによって確立されたコネクションを使用し、通常のアプリコネクションと同じ原則に従います。
コネクションタイプを選択
検証済みユーザーアクセスの認証要件
OAuth 2.0認可コードグラントを使用するアプリコネクションのみが、ユーザーのコネクションで利用できます。 詳細については、検証済みユーザーアクセスを参照してください。
次のセクションで、アプリ固有のコネクション設定手順を完了します。
Notionコネクションの設定
Notionコネクションの設定手順を表示
次のいずれかの方法を使用して、WorkatoでNotionコネクションを認証します:
- OAuth 2.0: 複数のNotionワークスペースにわたるアクセスを必要とするパブリックインテグレーションには、この方法を使用します。
- APIキー: 特定のNotionワークスペースに紐付けられた内部インテグレーションには、この方法を使用します。
コミュニティライブラリからNotionコネクタをダウンロード
ダウンロード手順を表示
次の手順を実行して、コミュニティライブラリからNotionコネクターをインストールします:
レシピエディターを開き、コネクターを検索します。 または、コミュニティライブラリでコネクターを検索できます。
レシピエディターでコミュニティコネクターを検索
インストールするコミュニティコネクターを選択します。
インストールをクリックして、コミュニティライブラリからコネクターをインストールします。
インストールをクリック
Release connector(コネクターをリリース)を選択します。 または、ワークスペースにリリースする前にコネクターコードを確認して変更するには、コードを確認を選択します。
コネクターをリリース
コネクターに加えた変更を要約してから、リリースをクリックし、ワークスペースのコラボレーターがレシピでコネクターを使用できるようにします。
リリースの確認ダイアログ
OAuth 2.0認証
複数のNotionワークスペースにアクセスするパブリックインテグレーションを作成するには、OAuth 2.0を使用します。
OAuth 2.0認証手順を表示
OAuth 2.0を使用してNotionコネクションを設定するには、次の手順を完了します:
Workatoが接続しているNotionインスタンスを識別するコネクション名を入力します。
認証フィールドでOAuth(パブリックインテグレーション)を選択します。
NotionインテグレーションのクライアントIDとクライアントシークレットを入力します。 これらの認証情報を生成するには、Notionのパブリックインテグレーション認証フローのセットアップガイドを参照してください。
Connectをクリックして設定を完了します。
APIキー認証
APIキーを認証に使用して、特定のNotionワークスペースからのみアクセス可能な内部インテグレーションを作成します。
APIキー認証手順を表示
APIキーを使用してNotionコネクションを設定するには、次の手順を実行します:
Workatoが接続しているNotionインスタンスを識別するコネクション名を入力します。
認証フィールドでAPI Key (Internal integration)を選択します。
Notionインテグレーションのインテグレーショントークンを入力します。 このトークンを生成するには、Notionの内部インテグレーション認可フローの設定ガイドを参照してください。
Connectをクリックして設定を完了します。
NotionページMCPサーバーのツールの使用方法
利用可能なツールの詳細については、次のセクションを参照してください:
search_pagesツール
search_pagesツールは、キーワードでNotionページを検索し、アクセス可能なNotionワークスペース全体でクエリテキストに一致するページのリストを返します。 LLMはこのツールを使用して、名前、トピック、またはキーワードでNotionページを検索します。
質問例:
Find my project planning page in Notion.Search for pages about API documentation.Look for the team onboarding guide.Find pages related to the product roadmap.
get_pageツール
get_pageツールは、ページ識別子、タイトル、親参照、アーカイブステータス、作成/更新タイムスタンプを含む、Notionページのメタデータとプロパティを取得します。 LLMはこのツールを使用して、タイトル、場所、メタデータ、現在のステータスなど、特定のページの詳細を検索したり、後続のアクションを実行する前にページの同一性を確認したりします。
質問例:
Show me the metadata for the API documentation page.Get the details for this project planning page.What's the parent page of the onboarding guide?Is this page archived or active?
get_page_contentツール
get_page_contentツールは、長いページ向けのページネーションを使用して、Notionページのブロックコンテンツを取得します。 LLMはこのツールを使用して、特定のNotionページの内容を読み取るかレビューします。 LLMは長いページのコンテンツを段階的に取得します。
質問例:
Read the content of the team onboarding page.Show me what's in the API documentation.Get the full contents of the project requirements page.What does the troubleshooting guide say?
create_pageツール
create_pageツールは、指定した親の下に新しいNotionページを作成します。 LLMはこのツールを使用して、Notionで新しいページを作成します。スタンドアロンページとして作成することも、既存のページまたはデータベースエントリの子として作成することもできます。
質問例:
Create a new page for meeting notes under the Team folder.Make a new project planning page in the workspace.Create a child page under the API documentation for authentication.Add a new page to the Product section for the feature spec.
update_pageツール
update_pageツールは、既存のNotionページのメタデータとプロパティを更新します。 LLMはこのツールを使用して、ページプロパティの変更、メタデータの更新、またはページ属性の変更を行います。
質問例:
Update the status property on this project page to 'In Progress'.Change the owner of the requirements page to Sarah.Update the due date property to next Friday.Modify the priority tag on this page to 'High'.
set_page_archived_statusツール
set_page_archived_statusツールは、アーカイブステータスを更新してNotionページをアーカイブまたは復元します。 LLMはこのツールを使用して、ページのアーカイブ、アーカイブ解除、廃止、復元、または再アクティブ化を行います。
質問例:
Archive the old roadmap page.Restore the archived meeting notes from last quarter.Retire the deprecated product specification page.Unarchive the Q3 planning document.
list_page_childrenツール
list_page_childrenツールは、指定したNotionページの下にある直接の子ページを取得します。 LLMはこのツールを使用して、別のページの下にネストされているページを確認したり、関連ドキュメントを探索したり、ページ階層を移動したりします。
質問例:
What pages are under the Product Documentation page?Show me the child pages of the Team Wiki.List the subpages under the API documentation.What's nested under the Project Planning page?
append_page_blocksツール
append_page_blocksツールは、Notionページに新しいコンテンツブロックを追加します。 LLMはこのツールを使用して、メモ、セクション、箇条書き、コードスニペットなどの新しいコンテンツを既存のページに追加します。
質問例:
Add a new section to the troubleshooting guide about timeout errors.Append these meeting notes to the project page.Add a bullet list of action items to the planning page.Insert a code snippet at the end of the API documentation.
update_text_blockツール
update_text_blockツールは、Notionページ上のサポートされているブロックのテキストコンテンツを更新します。 LLMはこのツールを使用して、ページ内の特定のブロックのテキストを編集または修正します。
質問例:
Update the heading text in the introduction block.Fix the typo in the second paragraph.Change the text in the first bullet point.Edit the description in the overview section.
delete_blockツール
delete_blockツールは、Notionページから単一のブロックサブツリーを削除します。 LLMはこのツールを、特定のページコンテンツの削除を明示的に依頼された場合にのみ使用します。 質問例:
Delete the outdated section from this page.Remove the old timeline block from the roadmap.Delete the third bullet point in the list.Remove the deprecated warning section.
list_open_commentsツール
list_open_commentsツールは、Notionページの未解決コメントスレッドを取得します。 LLMはこのツールを使用して、フィードバックを確認したり、コメントを表示したり、ページ上のディスカッションコンテキストを理解したりします。
質問例:
Show me the open comments on the requirements page.What feedback is pending on this document?List the unresolved comments on the API spec.What discussions are active on this page?
add_commentツール
add_commentツールは、新しいページレベルのコメントを追加するか、Notionページ上の既存のディスカッションに返信します。 LLMはこのツールを使用して、ページにフィードバックを残したり、質問したり、ディスカッションに参加したりします。
質問例:
Add a comment asking about the timeline on this page.Leave feedback on the requirements document about the scope.Reply to the open discussion about the API design.Comment on this page to flag the outdated information.
はじめに
MCP serverのツールは、Overviewページのツールセクションで表示および管理できます。 ツール管理では、次の機能を利用できます:
ツールを開始する必要があります
LLMは、MCP server connector内のアクティブなツールにのみアクセスできます。
最終更新日: