Skip to main content
Glama

Coda MCP Server (Koyeb + LangSmith)

This repo runs a Coda MCP server with:

  • Streamable HTTP endpoint: /mcp (recommended)

  • Legacy SSE endpoint: /sse

Quick Start (Koyeb First)

1. Fork or use this repo on GitHub

Use this repository in your own GitHub account (for example RunLittleTurtle/mcp-coda).

2. Create a Koyeb account and connect GitHub

In Koyeb:

  1. Create a new Web service

  2. Select your GitHub repo and main branch

  3. Keep Buildpack as builder

  4. Choose Free / CPU Eco instance

3. Set environment variables

Add these variables in Koyeb:

  • API_KEY = your Coda API key

  • PORT = 3000

Koyeb environment variables

4. Configure port

In Koyeb Ports:

  • Port: 3000

  • Protocol: HTTP

  • Public HTTPS access: enabled

Koyeb port configuration

5. Deploy

Click Save and deploy.

After deploy, your public URL will look like:

  • https://your-service-name.koyeb.app

Health check:

  • https://your-service-name.koyeb.app/health

MCP endpoint:

  • https://your-service-name.koyeb.app/mcp

LangSmith Agent Builder Setup

Add an MCP server with:

  • Name: mcp-coda (or your preferred name)

  • URL: https://your-service-name.koyeb.app/mcp

  • Authentication: Static Headers

  • Headers: none

LangSmith MCP settings

Important:

  • Use /mcp (not / and not /sse in Agent Builder)

  • If tools do not appear after a redeploy, wait a few seconds and reload Agent Builder

Local (minimal)

pnpm install
pnpm build
echo "API_KEY=your-coda-key" > .env
PORT=3000 pnpm start:http

Then test:

  • http://localhost:3000/health

  • http://localhost:3000/mcp

Environment variables

  • API_KEY or CODA_API_KEY (required)

  • PORT (optional, default 3000)

Credits

License

MIT

Available Tools

15 tools
coda_create_docB

Create a new Coda document. Can optionally copy from an existing document (sourceDoc) or create with initial content.

Inputs: title (required), sourceDoc, folderId, timezone.

coda_create_rowC

Create a new row in a table

Inputs: docId (required), tableId (required), cells (required).

coda_delete_docA

Permanently delete a Coda document. This action cannot be undone. Use with caution.

Inputs: docId (required).

coda_get_docB

Get detailed information about a specific Coda document by its ID. Returns metadata like name, owner, creation date, and links.

Inputs: docId (required).

coda_get_tableC

Get detailed information about a specific table

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

coda_list_columnsC

List all columns in a table

Inputs: docId (required), tableId (required), limit.

coda_list_controlsA

List all controls (buttons, sliders, etc.) in a Coda document

Inputs: docId (required), limit.

coda_list_docsB

List all Coda documents accessible to the authenticated user. Supports filtering by owner, workspace, folder, and search query.

Inputs: isOwner, query, workspaceId, folderId, +1 more.

coda_list_formulasB

List all formulas in a Coda document

Inputs: docId (required), limit.

coda_list_pagesC

List all pages in a Coda document

Inputs: docId (required), limit.

coda_list_rowsC

List all rows in a table with optional filtering

Inputs: docId (required), tableId (required), query, limit.

coda_list_tablesA

List tables in a Coda document, with optional fuzzy search by table name/page name or Coda URL context

Inputs: docId, limit, query, pageName, +4 more.

coda_push_buttonC

Push a button control in a Coda document

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

coda_update_rowC

Update an existing row in a table

Inputs: docId (required), tableId (required), rowId (required), cells (required).

coda_whoamiA

Get information about the current authenticated user. Use this to verify API key and check permissions.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 15 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose targeting specific resources and actions in Coda, such as documents, tables, rows, columns, controls, formulas, pages, and user info. There is no overlap or ambiguity between tools like coda_create_doc and coda_create_row, or coda_list_tables and coda_get_table, making misselection unlikely.

    Naming Consistency5/5

    All tool names follow a consistent 'coda_verb_noun' pattern with snake_case throughout, such as coda_create_doc, coda_list_rows, and coda_update_row. This predictability aids agent understanding and tool selection without any deviations in style.

    Tool Count5/5

    With 15 tools, the server is well-scoped for managing Coda documents, tables, rows, and related elements. Each tool earns its place by covering essential operations like CRUD for documents and rows, listing various components, and user authentication, without being overly sparse or bloated.

    Completeness4/5

    The tool set provides comprehensive coverage for core Coda workflows, including document and row lifecycle management, listing of tables, columns, pages, formulas, and controls, and user verification. Minor gaps exist, such as no tools for updating documents or deleting rows, but agents can work around these with available operations.

    Related MCP Connectors