DOCX.sh

上傳 DOCX,透過 MCP 使用 Claude Code、Cursor 或 Codex 取得可嵌入的 HTML 預覽

文件

Connection snippets for Claude Code, Cursor, Codex, and REST API. Subscribe to receive your API token.

Add docx.sh as a remote MCP server in Claude Code with --transport http. See the Claude Code MCP docs for scopes, OAuth, and troubleshooting.

CLI one-liner

export DOCXTOHTML_API_TOKEN=XXXXXXYOUR_TOKENXXXXXX
claude mcp add --scope project --transport http docxtohtml https://docx.sh/mcp \
  --header 'Authorization: Bearer ${DOCXTOHTML_API_TOKEN}'

Project MCP config

{
  "mcpServers": {
    "docxtohtml": {
      "type": "http",
      "url": "https://docx.sh/mcp",
      "headers": {
        "Authorization": "Bearer XXXXXXYOUR_TOKENXXXXXX"
      }
    }
  }
}