Skip to main content
Glama

Coda MCP サーバー

このプロジェクトは、 Coda APIとのやり取りのブリッジとして機能するModel Context Protocol(MCP)サーバーを実装します。MCPサーバーにより、MCPクライアント(AIアシスタントなど)は、特定のCoda要素に対して、ページの一覧表示、作成、読み込み、更新、複製、名前変更などのアクションを実行できます。

特徴

サーバーは、MCP クライアントに次のツールを公開します。

  • coda_list_documents : ユーザーが利用できるすべてのドキュメントを一覧表示します。

  • coda_list_pages : 設定された Coda ドキュメント内のすべてのページを一覧表示します。

  • coda_create_page : ドキュメント内に新しいページを作成し、オプションで初期のマークダウン コンテンツを入力します。

  • coda_get_page_content : 指定されたページ (ID または名前) のコンテンツをマークダウンとして取得します。

  • coda_replace_page_content : 指定されたページのコンテンツを新しいマークダウンコンテンツに置き換えます。

  • coda_append_page_content : 指定されたページの末尾に新しいマークダウンコンテンツを追加します。

  • coda_duplicate_page : 既存のページのコピーを新しい名前で作成します。

  • coda_rename_page : 既存のページの名前を変更します。

Related MCP server: Notion MCP Server

使用法

次のように、MCP サーバーを Cursor/Claude Desktop/etc. に追加します。

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

必要な環境変数:

  • API_KEY : Coda APIキー。Codaアカウント設定から生成できます。

この MCP サーバーは、次のように Docker でも利用できます。

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

ローカルセットアップ

  1. 前提条件:

    • Node.js

    • pnpm

  2. リポジトリをクローンします。

    git clone <repository-url>
    cd coda-mcp
  3. 依存関係をインストールします:

    pnpm install
  4. プロジェクトをビルドします。

    pnpm build

    これにより、TypeScript コードがdist/ディレクトリ内の JavaScript にコンパイルされます。

サーバーの実行

MCPサーバーは標準入出力(stdio)を介して通信します。実行するには、環境変数を設定し、コンパイルされたJavaScriptファイル( dist/index.jsを実行します。

発達

  • リンティング: pnpm lint

  • フォーマット: pnpm format

  • OpenAPI クライアント生成: pnpm openapi-ts (Coda API 仕様が変更された場合)

Available Tools

19 tools
coda_append_page_contentB

Append new markdown content to the end of a page

Inputs: docId (required), pageIdOrName (required), content (required).

coda_create_pageC

Create a page in the current document

Inputs: docId (required), name (required), content, parentPageId.

coda_delete_rowB

Delete a single row from a table

Inputs: docId (required), tableIdOrName (required), rowIdOrName (required).

coda_delete_rowsC

Delete multiple rows from a table

Inputs: docId (required), tableIdOrName (required), rowIds (required).

coda_duplicate_pageC

Duplicate a page in the current document

Inputs: docId (required), pageIdOrName (required), newName (required).

coda_get_page_contentB

Get the content of a page as markdown

Inputs: docId (required), pageIdOrName (required).

coda_get_rowB

Get a single row from a table

Inputs: docId (required), tableIdOrName (required), rowIdOrName (required), useColumnNames, +1 more.

coda_list_columnsB

List columns in a table

Inputs: docId (required), tableIdOrName (required), limit, nextPageToken.

coda_list_documentsB

List or search available documents

Inputs: query.

coda_list_pagesC

List pages in the current document with pagination

Inputs: docId (required), limit, nextPageToken.

coda_list_rowsB

List rows in a table with optional filtering and sorting

Inputs: docId (required), tableIdOrName (required), query, sortBy, +4 more.

coda_list_tablesB

List tables in a document

Inputs: docId (required), limit, nextPageToken.

coda_peek_pageA

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

Inputs: docId (required), pageIdOrName (required), numLines (required).

coda_push_buttonB

Push a button column on a row in a table

Inputs: docId (required), tableIdOrName (required), rowIdOrName (required), columnIdOrName (required).

coda_rename_pageB

Rename a page in the current document

Inputs: docId (required), pageIdOrName (required), newName (required).

coda_replace_page_contentA

Replace the content of a page with new markdown content

Inputs: docId (required), pageIdOrName (required), content (required).

coda_update_rowB

Update a single row in a table

Inputs: docId (required), tableIdOrName (required), rowIdOrName (required), cells (required).

coda_upsert_rowsB

Insert or upsert rows into a table

Inputs: docId (required), tableIdOrName (required), rows (required), keyColumns.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 19 tools

    Disambiguation5/5

    Every tool has a distinct action and target (e.g., create_page vs. duplicate_page vs. rename_page, delete_row vs. delete_rows vs. update_row). No two tools perform overlapping operations. Agents can clearly differentiate based on names and descriptions.

    Naming Consistency5/5

    All tools follow the consistent pattern 'coda_verb_noun' using snake_case (e.g., 'coda_list_rows', 'coda_update_row'). Verbs are imperative and uniquely identify the action. The naming is predictable and uniform across the entire set.

    Tool Count5/5

    With 19 tools, the server covers the main entities in Coda (documents, pages, tables, rows, columns) without being overwhelming. Each tool earns its place, providing both basic and advanced operations (e.g., upsert_rows, push_button). The count is well-scoped for a full-featured MCP server.

    Completeness4/5

    The tool set offers extensive CRUD coverage for pages and rows, including append, replace, peek, and upsert. Notable missing operations include deleting pages, creating tables/columns, and updating table structures, but the core workflows are well-supported. Minor gaps exist but do not severely impede common use cases.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers