Codaのロゴ

Coda

コミュニティ
orellazri

MCP Server for Coda

公開者orellazri
リポジトリcoda-mcp
言語TypeScript
フォーク
34
スター
63
利用可能なツール
10
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Codaは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 10個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには63件のスターと34件のフォークがあります。

Coda MCP Server

This project implements a Model Context Protocol (MCP) server that acts as a bridge to interact with the Coda API. It allows an MCP client (like an AI assistant) to perform actions on Coda pages, such as listing, creating, reading, updating, duplicating, and renaming.

[!NOTE]
This MCP server is not developed or maintained by Coda; it's a community-built project.

Features

The server exposes the following tools to the MCP client:

  • coda_list_documents: Lists all documents available to the user.
  • coda_list_pages: Lists all pages within the configured Coda document with pagination support.
  • coda_create_page: Creates a new page in the document, optionally under a specified parent page (creating a subpage) and populating it with initial markdown content.
  • coda_get_page_content: Retrieves the content of a specified page (by ID or name) as markdown.
  • coda_replace_page_content: Replaces the content of a specified page with new markdown content.
  • coda_append_page_content: Appends new markdown content to the end of a specified page.
  • coda_duplicate_page: Creates a copy of an existing page with a new name.
  • coda_rename_page: Renames an existing page.
  • coda_peek_page: Peek into the beginning of a page and return a limited number of lines.
  • coda_resolve_link: Resolve metadata given a browser link to a Coda object.
  • coda_list_tables: List tables in a document.
  • coda_list_columns: List columns in a table.
  • coda_list_rows: List rows in a table with optional filtering and sorting.
  • coda_get_row: Get a single row from a table.
  • coda_upsert_rows: Insert or upsert rows into a table.
  • coda_update_row: Update a single row in a table.
  • coda_delete_row: Delete a single row from a table.
  • coda_delete_rows: Delete multiple rows from a table.
  • coda_push_button: Push a button column on a row in a table.

Usage

Add the MCP server to Cursor/Claude Desktop/etc. like so:

json
{
  "mcpServers": {
    "coda": {
      "command": "npx",
      "args": ["-y", "coda-mcp@latest"],
      "env": {
        "API_KEY": "..."
      }
    }
  }
}

Required environment variables:

  • API_KEY: Your Coda API key. You can generate one from your Coda account settings.

This MCP server is also available with Docker, like so:

json
{
  "mcpServers": {
    "coda": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "API_KEY", "reaperberri/coda-mcp:latest"],
      "env": {
        "API_KEY": "..."
      }
    }
  }
}

Local Setup

  1. Prerequisites:

    • Node.js
    • pnpm
  2. Clone the repository:

    bash
    git clone <repository-url>
    cd coda-mcp
  3. Install dependencies:

    bash
    pnpm install
  4. Build the project:

    bash
    pnpm build

    This compiles the TypeScript code to JavaScript in the dist/ directory.

Running the Server

The MCP server communicates over standard input/output (stdio). To run it, set the environment variables and run the compiled JavaScript file - dist/index.js.

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "coda": {
      "command": "npx",
      "args": [
        "-y",
        "coda-mcp@latest"
      ],
      "env": {
        "API_KEY": "..."
      }
    }
  }
}

利用可能なツール

  • coda_list_documents

    List or search available documents

  • coda_list_pages

    List pages in the current document with pagination

  • coda_create_page

    Create a page in the current document

  • coda_get_page_content

    Get the content of a page as markdown

  • coda_peek_page

    Peek into the beginning of a page and return a limited number of lines

  • coda_replace_page_content

    Replace the content of a page with new markdown content

  • coda_append_page_content

    Append new markdown content to the end of a page

  • coda_duplicate_page

    Duplicate a page in the current document

  • coda_rename_page

    Rename a page in the current document

  • coda_resolve_link

    Resolve metadata given a browser link to a Coda object

CodaのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Codaに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Codaをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. CodaのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "coda": {
      "command": "npx",
      "args": [
        "-y",
        "coda-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてCodaのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. CodaのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Codaを使ってこのタスクを手伝ってもらえますか?
Coda
はい、読みました。
Codaで調べた結果をお伝えします。

よくある質問

Coda MCPサーバーは何に使いますか?

Codaは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでCoda MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでCodaを利用できます。

TypingMindでCoda MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Codaを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Coda MCPをTypingMindに接続するにはどうすればよいですか?

CodaはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでCoda MCPのどのようなツールを利用できますか?

Codaは10個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Coda MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Codaで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇