Coda MCP Server

MIT License
169
7
  • Apple
  • Linux

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 服务器

该项目实现了一个模型上下文协议 (MCP) 服务器,作为与Coda API 交互的桥梁。它允许 MCP 客户端(例如 AI 助手)对特定的 Coda 文档执行操作,例如列出、创建、读取、更新、复制和重命名页面。

特征

服务器向 MCP 客户端公开以下工具:

  • list-pages :列出配置的 Coda 文档中的所有页面。
  • create-page :在文档中创建一个新页面,可选择用初始 markdown 内容填充它。
  • get-page-content :以 markdown 形式检索指定页面的内容(按 ID 或名称)。
  • replace-page-content :用新的 markdown 内容替换指定页面的内容。
  • append-page-content :将新的 markdown 内容附加到指定页面的末尾。
  • duplicate-page :使用新名称创建现有页面的副本。
  • rename-page :重命名现有页面。

用法

使用以下执行命令将 MCP 服务器添加到 Cursor/Claude Desktop/等:

npx -y coda-mcp@latest

例如,在 Cursor/Claude Desktop 中,您可以像这样添加它:

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

所需的环境变量:

  • API_KEY :您的 Coda API 密钥。您可以从 Coda 帐户设置中生成一个。
  • DOC_ID :您希望服务器与之交互的 Coda 文档的 ID。您可以在文档的 URL( _d之后的部分)中找到它。

本地设置

  1. 先决条件:
    • Node.js
    • 下午
  2. 克隆存储库:
    git clone <repository-url> cd coda-mcp
  3. 安装依赖项:
    pnpm install
  4. 构建项目:
    pnpm build
    这会将dist/目录中的 TypeScript 代码编译为 JavaScript。

运行服务器

MCP 服务器通过标准输入/输出 (stdio) 进行通信。要运行它,请设置环境变量并运行已编译的 JavaScript 文件 - dist/index.js

发展

  • 代码检查: pnpm lint
  • 格式化: pnpm format
  • OpenAPI 客户端生成: pnpm openapi-ts (如果 Coda API 规范发生变化)

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.

模型上下文协议服务器使 AI 助手能够与 Coda 文档进行交互,允许列出、创建、阅读、更新和复制页面等操作。

  1. 特征
    1. 用法
      1. 本地设置
        1. 运行服务器
          1. 发展

            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