docbin

docbin mcp server

connect docbin to an MCP client (Claude Code, Claude Desktop, and others) to create and fetch documents from your tools.

endpoint

Streamable HTTP, one URL:

https://mcp.docbin.app/mcp

no api key to copy - your client opens a browser to sign in with GitHub or Google the first time it connects, and docbin issues it a scoped token.

add it to Claude Code

claude mcp add --transport http docbin https://mcp.docbin.app/mcp

add it to other clients

drop this into your client's MCP config:

{
  "mcpServers": {
    "docbin": {
      "type": "http",
      "url": "https://mcp.docbin.app/mcp"
    }
  }
}

tools

toolwhat it does
create_doccreate a doc (html, markdown, mdx, or code), returns its public url. omit the name for a random one.
list_docslist your docs with urls and latest versions.
get_docfetch the raw content of a doc version.
update_docadd a new version to one of your docs.
delete_docdelete one of your docs and all its versions.
search_docssearch your docs by name.

anonymous access

the server works anonymously out of the box - no sign-in needed. anonymous docs are unlisted, expire after 30 days, and have a stricter rate limit. the anonymous toolset is limited to create_doc, get_doc, and search_docs (public docs only).

to own permanent docs under your own handle - and to use list_docs, update_doc, and delete_doc - connect with auth: your client opens a browser to sign in with GitHub the first time, and docbin issues it a scoped token.

resources

the server exposes two UI widget resources. in Apps-SDK clients (ChatGPT), create/get/list results render an inline card with a live preview of the document.

uriwhat it renders
ui://docbin/doca single document card with an expandable raw preview.
ui://docbin/lista list of documents with links.

prompts

reusable templates your client surfaces as slash-commands or quick actions:

promptargumentswhat it does
publish_doccontent, content_type? (html/md/mdx/code), visibility?publish content as a doc and return its url.
publish_loglogpublish a log/stack trace as an anonymous, auto-expiring doc.
build_sitedescriptiongenerate a small multi-file html site and publish it as one doc.
summarize_dochandle, name, version?fetch a doc and summarize it.