Coda MCP server

Provides a bridge between AI and Coda documents, enabling listing, creating, reading, updating, and duplicating pages for collaborative document management and content creation.
Back to servers
Provider
Orel Lazri
Release date
Apr 25, 2025
Language
TypeScript
Package
Stats
228 downloads
4 stars

The Coda MCP Server is a bridge that enables AI assistants to interact with Coda documents through the Model Context Protocol (MCP). It allows for various operations on Coda documents including listing, creating, reading, updating, duplicating, and renaming pages, all accessible to an MCP client like Claude.

Features

The server provides these tools to MCP clients:

  • list-pages: Displays all pages within your configured Coda document
  • create-page: Creates a new page, with optional markdown content
  • get-page-content: Retrieves a page's content as markdown (by ID or name)
  • replace-page-content: Replaces existing page content with new markdown
  • append-page-content: Adds new markdown content to the end of a page
  • duplicate-page: Creates a copy of an existing page with a new name
  • rename-page: Changes the name of an existing page

Installation and Setup

Quick Start with NPX

The simplest way to use the Coda MCP server is through NPX:

npx -y coda-mcp@latest

Configuration in MCP Clients

Add the server to your MCP client (like Cursor or Claude Desktop) with the following configuration:

{
  "mcpServers": {
    "coda": {
      "command": "npx",
      "args": ["-y", "coda-mcp@latest"],
      "env": {
        "API_KEY": "your-coda-api-key",
        "DOC_ID": "your-document-id"
      }
    }
  }
}

Required Environment Variables

You must provide these environment variables:

  • API_KEY: Your Coda API key (generate from your Coda account settings)
  • DOC_ID: The ID of your Coda document (found in the document URL after d)

Manual Installation

If you prefer to install the server locally:

  1. Ensure you have Node.js and pnpm installed
  2. Install dependencies:
pnpm install
  1. Build the project:
pnpm build
  1. Run the server with your environment variables set:
API_KEY=your-key DOC_ID=your-doc-id node dist/index.js

Using the Server

Once configured, your MCP client can use any of the tools described in the Features section. For example, with Claude you might:

  • Ask to "List all pages in my Coda document"
  • Request to "Create a new page called 'Project Notes' with a task list"
  • Say "Retrieve the content from my 'Meeting Minutes' page"
  • Ask to "Add today's updates to my 'Daily Log' page"

The server handles translating these requests into the appropriate Coda API calls and returns the results to your MCP client.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later