DOCX.sh

Upload DOCX, get embeddable HTML previews via MCP using Claude Code, Cursor, or Codex

Documentation

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