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
| tool | what it does |
|---|---|
create_doc | create a doc (html, markdown, mdx, or code), returns its public url. omit the name for a random one. |
list_docs | list your docs with urls and latest versions. |
get_doc | fetch the raw content of a doc version. |
update_doc | add a new version to one of your docs. |
delete_doc | delete one of your docs and all its versions. |
search_docs | search 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.
| uri | what it renders |
|---|---|
ui://docbin/doc | a single document card with an expandable raw preview. |
ui://docbin/list | a list of documents with links. |
prompts
reusable templates your client surfaces as slash-commands or quick actions:
| prompt | arguments | what it does |
|---|---|---|
publish_doc | content, content_type? (html/md/mdx/code), visibility? | publish content as a doc and return its url. |
publish_log | log | publish a log/stack trace as an anonymous, auto-expiring doc. |
build_site | description | generate a small multi-file html site and publish it as one doc. |
summarize_doc | handle, name, version? | fetch a doc and summarize it. |