MCP Server for Coda
Configuration
View docs{
"mcpServers": {
"orellazri-coda-mcp": {
"command": "npx",
"args": [
"-y",
"coda-mcp@latest"
],
"env": {
"API_KEY": "..."
}
}
}
}The Coda MCP Server acts as a bridge between an MCP client and the Coda API, enabling you to list, read, create, update, rename, and manage pages within your Coda documents through simple MCP actions.
You use this server by starting it in your MCP-enabled client environment and connecting to it as an MCP source. The server exposes a set of actions that let your assistant list documents, enumerate pages, read and modify page content, duplicate or rename pages, and resolve page metadata from links. You can combine these actions to automate document workflows, content generation, and page organization without leaving your chat or automation context.
Prerequisites: you need Node.js and pnpm installed on your system.
Step by step setup flow you can follow to run the MCP server locally.
{
"mcpServers": {
"coda": {
"command": "npx",
"args": ["-y", "coda-mcp@latest"],
"env": {
"API_KEY": "..."
}
}
}
}If you prefer running the server inside a container, you can use Docker with the same API key configuration. The following example shows how to run the MCP server in Docker and pass the API key through the environment.
{
"mcpServers": {
"coda": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "API_KEY", "reaperberri/coda-mcp:latest"],
"env": {
"API_KEY": "..."
}
}
}
}The server runs over standard input/output (stdio). After you configure one of the available startup methods, start the compiled server accordingly so your MCP client can communicate with it.
Protect your API key and ensure it is provided to the server in a secure manner. Use environment variable injection in your deployment to avoid embedding secrets in code or configuration files.
If you encounter connection issues, verify that the API key is valid, the MCP client is configured to target the running server, and the environment variables are accessible to the process running the MCP server.
Lists all documents available to the user.
Lists all pages within the configured Coda document with pagination support.
Creates a new page in the document, optionally under a specified parent page and populates it with initial markdown content.
Retrieves the content of a specified page as markdown.
Replaces the content of a specified page with new markdown content.
Appends new markdown content to the end of a specified page.
Creates a copy of an existing page with a new name.
Renames an existing page.
Peeks into the beginning of a page and returns a limited number of lines.
Resolves metadata given a browser link to a Coda object.