Coda MCP Server

Integrations

  • Allows interaction with a Coda document, providing tools to list, create, read, update, and duplicate pages, as well as manage page content in markdown format.

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 a specific Coda document, such as listing, creating, reading, updating, duplicating, and renaming pages.

Features

The server exposes the following tools to the MCP client:

  • coda_list_pages: Lists all pages within the configured Coda document.
  • coda_create_page: Creates a new page in the document, optionally 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.

Usage

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

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

Required environment variables:

  • API_KEY: Your Coda API key. You can generate one from your Coda account settings.
  • DOC_ID: The ID of the Coda document you want the server to interact with. You can find this in the document's URL (the part after _d).

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

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

Local Setup

  1. Prerequisites:
    • Node.js
    • pnpm
  2. Clone the repository:
    git clone <repository-url> cd coda-mcp
  3. Install dependencies:
    pnpm install
  4. Build the project:
    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.

Development

  • Linting: pnpm lint
  • Formatting: pnpm format
  • OpenAPI Client Generation: pnpm openapi-ts (if the Coda API spec changes)

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol server that enables AI assistants to interact with Coda documents, allowing operations like listing, creating, reading, updating, and duplicating pages.

  1. Features
    1. Usage
      1. Local Setup
        1. Running the Server
          1. Development

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that allows AI assistants to interact with Appwrite's API, providing tools to manage databases, users, functions, teams, and other resources within Appwrite projects.
              Last updated -
              84
              36
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.
              Last updated -
              275
              JavaScript
              • Apple
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables AI assistants like Claude to interact with Outline document services, supporting document searching, reading, creation, editing, and comment management.
              Last updated -
              25
              1
              Python
              MIT License
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that provides persistent task management capabilities for AI assistants, allowing them to create, update, and track tasks beyond their usual context limitations.
              Last updated -
              1
              TypeScript

            View all related MCP servers

            ID: 38fjc3ivaj