The Coda MCP Server enables interaction with a Coda document through an MCP client, allowing for comprehensive page management:
- List pages: Retrieve all pages within the configured document
- Create page: Add new pages with optional markdown content
- Get page content: Fetch markdown content from a specified page by ID or name
- Update page content: Replace or append content to existing pages
- Duplicate page: Create copies of pages with new names
- Rename page: Change the name of existing pages
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 ument, such as listing, creating, reading, updating, duplicating, and renaming pages.
Features
The server exposes the following tools to the MCP client:
coda_list_documents
: Lists all documents available to the user.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:
Required environment variables:
API_KEY
: Your Coda API key. You can generate one from your Coda account settings.
This MCP server is also available with Docker, like so:
Local Setup
- Prerequisites:
- Node.js
- pnpm
- Clone the repository:
- Install dependencies:
- Build the project: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)
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.
Related Resources
Related MCP Servers
- -securityFlicense-qualityA versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.Last updated -14Python
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.Last updated -98TypeScriptMIT License
- -securityFlicense-qualityA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.Last updated -31TypeScript
- -securityFlicense-qualityA Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.Last updated -1Python