hhdocAgent installClaude · Codex · MCP · CLILet your AI agent publish HTML decks without copy-paste.
Create one hdoc API key, connect the MCP server, then ask Claude or Codex to publish a report, proposal, or slide deck. Decks get presentation controls automatically.
MCP server
Use this endpoint in Claude, Codex, or any MCP client that supports remote HTTP servers.
URL: https://hdoc.docenty.ai/api/mcp
Header: Authorization: Bearer hdoc_sk_...
publish_slide_deck for HTML presentationspublish_html for reports and one-pagersupdate_artifact for versioned revisionslist_my_artifacts for search and recall
Codex
Codex uses shared MCP configuration across the CLI, IDE extension, and desktop app.
codex mcp add hdoc --url https://hdoc.docenty.ai/api/mcp
# Add Authorization: Bearer hdoc_sk_... in Codex MCP settings.
Claude
Add hdoc as a custom remote MCP connector, then paste the same bearer token.
Name: hdoc
Remote MCP URL: https://hdoc.docenty.ai/api/mcp
Authorization: Bearer hdoc_sk_...
CLI / REST
Use the repo CLI or call the API directly from automation.
HDOC_API_KEY=hdoc_sk_... node cli/hdoc.mjs publish deck.html --deck
curl -X POST https://hdoc.docenty.ai/api/v1/publish \
-H "Authorization: Bearer $HDOC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"html":"<!doctype html>...","tags":["slide-deck"]}'