@doconda/mcp

中文文档
0.7.0发布于 2026/11/02MITTypeScriptES Module近 30 天下载 3376

Doconda MCP server: give your AI agent tools to convert, create and edit Word, PowerPoint, Excel and PDF documents. Remote (Streamable HTTP) or local (stdio).

原始使用文档
文档目录4 节
  1. Remote server (for your app's agent)
  2. Local server (stdio)
  3. Tools
  4. Development

@doconda/mcp

CI

MCP server for Doconda: give your AI agent tools to convert, create and edit Word, PowerPoint, Excel and PDF documents. Editable files, reviewed before delivery, with a PDF and a preview of each page.

Remote server (for your app's agent)

No install: https://api.eu.doconda.com/mcp (Streamable HTTP). Clients with MCP authorization (Claude connectors, Claude Code, Cursor, MCP Inspector) only need the URL: they open Doconda in the browser to sign in and approve access to one project, read-only if you prefer. Agent frameworks and model APIs send an API key instead, as Authorization: Bearer ak_eu_…. With the OpenAI Responses API:

from openai import OpenAI

response = OpenAI().responses.create(
    model="gpt-5",
    input="Make an Excel with the event budget",
    tools=[{
        "type": "mcp",
        "server_label": "doconda",
        "server_url": "https://api.eu.doconda.com/mcp",
        "headers": {"Authorization": "Bearer ak_eu_…"},
        "require_approval": "never",
    }],
)
print(response.output_text)

Messages (errors, report texts) come in English; the remote server follows Accept-Language, so send Accept-Language: es for Spanish.

Not using MCP? The SDKs return the same tools for any model with tool calling: @doconda/sdk · doconda.

Local server (stdio)

With Claude Code:

claude mcp add --transport stdio doconda --env DOCONDA_API_KEY=ak_eu_… -- npx -y @doconda/mcp

For other MCP clients, such as Claude Desktop:

{
  "mcpServers": {
    "doconda": {
      "command": "npx",
      "args": ["-y", "@doconda/mcp"],
      "env": { "DOCONDA_API_KEY": "ak_eu_…" }
    }
  }
}

Tools

create_document, upload_file, convert_file, edit_document, list_documents, get_document, get_report, read_artifact_data.

Docs: https://docs.doconda.com/agents/mcp · Examples: https://github.com/B-C-Software/doconda-examples · Get an API key: https://doconda.com

Development

Node 22.18 or later:

npm install
npm run build
npm test

The tests need no API key and make no network calls. This repository is published from Doconda's main repository: open issues and pull requests here, and accepted changes are applied upstream and arrive with the next release.

版本与发布记录

@doconda/mcp 共发布 19 个版本,首次发布于 2026/10/03;过去 12 个月发布了 19 个版本。

版本发布日期距今
0.7.0latest2026/11/0211 天前
0.6.02026/10/3112 天前
0.5.22026/10/3113 天前
0.5.12026/10/3113 天前
0.5.02026/10/3014 天前
0.4.52026/10/2915 天前

关于 @doconda/mcp 的常见问题

@doconda/mcp 是什么?

Doconda MCP server: give your AI agent tools to convert, create and edit Word, PowerPoint, Excel and PDF documents. Remote (Streamable HTTP) or local (stdio).

如何安装 @doconda/mcp?

在项目目录运行 npm install @doconda/mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 doconda-mcp,可以用 npx doconda-mcp 直接运行。

@doconda/mcp 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@doconda/mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@doconda/mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@doconda/mcp 可以商用吗?

@doconda/mcp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@doconda/mcp 的下载量有多少?

根据 npm 官方下载统计,@doconda/mcp 在 2026/10/13 – 2026/11/11 这 30 天内被下载 3,376 次,日均约 113 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@doconda/mcp 还在维护吗?

最新版本 0.7.0 发布于 2026/11/02(11 天前);至今共发布 19 个版本,其中过去 12 个月发布了 19 个;首次发布于 2026/10/03。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。