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"
}
}
}
}