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.
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, and duplicating pages.
Features
The server exposes the following tools to the MCP client:
list-pages
: Lists all pages within the configured Coda document.create-page
: Creates a new page in the document, optionally populating it with initial markdown content.get-page-content
: Retrieves the content of a specified page (by ID or name) as markdown.update-page
: Replaces or appends markdown content to a specified page.duplicate-page
: Creates a copy of an existing page with a new name.
Usage
Add the MCP server to Cursor/Claude Desktop/etc. with the following execution command:
For example, in Cursor/Claude Desktop, you can add it like so:
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 afterd
).
Local Setup
- Prerequisites:
- Node.js
- pnpm
- Clone the repository:Copy
- Install dependencies:Copy
- Build the project:This compiles the TypeScript code to JavaScript in theCopy
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 Model Context Protocol server that enables AI assistants to interact with Coda documents, allowing operations like listing, creating, reading, updating, and duplicating pages.