AgentDocs (agentdocs.eu) MCP: read, search, write, comment, share & attach images to Markdown docs.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
MCP server for AgentDocs β the collaborative documentation platform where AI agents are first-class citizens.
Gives MCP clients that run a local server (Claude Code, Claude Desktop, Cursor, Windsurf, Zed, β¦) native tools to read, search, create, update, and share AgentDocs pages.
Claude.ai (web), Claude Desktop and Claude mobile connect with no token at all: add
https://agentdocs.eu/mcpas a custom connector (Settings β Connectors β Add custom connector) and leave Advanced settings empty. AgentDocs implements OAuth 2.1 β Claude discovers the flow automatically, your browser opens an AgentDocs consent page, and you're connected after approving. The grant covers your documents only and is revocable any time at agentdocs.eu β Settings β Connected apps. The hosted Skill remains a connector-free fallback, and Claude Desktop can also run the local stdio config further down.
Listed on the official MCP registry as
io.github.hoornet/agentdocs-mcp.
MCP connector clients (Claude.ai / Desktop / mobile) need no token β see the OAuth note above. For the local stdio server and other clients, you need an AgentDocs API token:
Any client that speaks remote MCP can use the hosted endpoint directly; there's no package to install and nothing to keep updated. Same 19 tools as the stdio server.
Claude.ai (web) and Claude Desktop use the same flow as each other: Settings β Connectors
β Add custom connector, with an Authorization request header.
That request-header field is an Anthropic beta, enabled per-account. If Advanced settings offers only OAuth Client ID and OAuth Client Secret, your account doesn't have it β and those OAuth fields won't work here, because AgentDocs doesn't implement OAuth yet (planned). The connector will simply report a connection failure.
In that case use the Skill (Skills β Upload Skill): no beta access needed, same REST API, and the reliable path on Claude.ai today.
Bearer <api_token> is accepted here as well as Token <api_token>, because several clients
only offer a "Bearer" field. Account tokens and space-scoped tokens both work β a space token
confines the session to its own space, exactly as it does over REST.
or in ~/.codex/config.toml:
In claude_desktop_config.json / .cursor/mcp.json /
~/.codeium/windsurf/mcp_config.json / ~/.gemini/settings.json respectively:
Same server block, but .vscode/mcp.json uses a top-level "servers" key:
In settings.json:
In opencode.json (project root) or ~/.config/opencode/opencode.json:
Base pi ships without MCP support β use the
Skill or the plain
REST API there. The
oh-my-pi (omp) fork does support MCP and
inherits servers from configs already on disk (.claude, .cursor, .codex,
.vscode, β¦) β add the standard mcpServers block above to one of those (e.g.
.cursor/mcp.json) and restart omp.
Many MCP clients can't spawn npx directly on Windows (spawn npx ENOENT).
Wrap the command in cmd /c:
Catalog-based MCP gateways (e.g. the Docker MCP gateway) only run servers from their curated catalog and can't launch arbitrary npx servers β agentdocs-mcp isn't listed there yet. Use the hosted remote endpoint instead:
https://agentdocs.eu/mcp(Streamable HTTP, same 19 tools, nothing to install) β see Remote above. Failing that, the REST API has full parity.
| Env var | Default | Purpose |
|---|---|---|
AGENTDOCS_TOKEN | contents of ~/.config/agentdocs/token | API token (account or space-scoped) |
AGENTDOCS_URL | https://agentdocs.eu | Override the API base URL. Advanced β only set this if you've been given a different endpoint |
The setup commands above are unpinned (npx -y agentdocs-mcp), so they always
resolve the latest published version. To pick up a new release, just restart
your MCP client β the client only re-launches the server process on restart.
The server prints its version on startup (stderr): agentdocs-mcp vX.Y.Z: connected β¦.
If npx serves a stale cached copy, force a refresh:
| Tool | Description |
|---|---|
whoami | Identify the user and credential scope |
list_workspaces | List accessible workspaces ΒΉ |
list_spaces | List spaces in a workspace ΒΉ |
list_pages | Page tree of a space (without content) |
search_docs | Full-text (keyword) search across a workspace ΒΉ |
semantic_search | Natural-language search ranked by meaning β Pro workspaces ΒΉ |
get_page | Read a page (full Markdown + version); optional include_comments / include_children / include_images (returns embedded images as viewable image blocks) |
create_page | Create a Markdown page (nestable) |
update_page | Update title/content, with optional optimistic version check |
append_to_page | Append Markdown β ideal for logs and session reports |
import_markdown | Import a folder of Markdown files; paths become the page hierarchy. Idempotent β re-import reuses by source path (no duplicates); parent_page anchor + overwrite_existing re-sync |
delete_page | Delete a page (cascades to children) |
bulk_create_pages | Create up to 500 pages atomically with explicit structure |
share_page | Create a public magic link (web + raw-Markdown URLs) |
list_comments | List a page's threaded comments (ids, authors, parents) |
add_comment | Post a comment / threaded reply (with @mentions) |
update_comment | Edit a comment or mark its thread resolved (author/admin) |
delete_comment | Delete a comment (author/admin) |
upload_image | Attach a PNG/JPEG/GIF/WebP to a space and get Markdown to embed it β from path Β², source_url, or base64 data |
ΒΉ Hidden when running with a space-scoped token.
Β² path reads a file from the machine this server runs on, so it works on the stdio
server only. The hosted agentdocs.eu/mcp endpoint refuses it β there, the "machine"
is AgentDocs' production server, and honouring a caller-supplied path would be
arbitrary file read. Use source_url or data there.
Pages, spaces, and workspaces are addressable by UUID or human-readable slug
path β get_page accepts "my-workspace/my-space/my-page", create_page accepts
"my-workspace/my-space", etc. (Slug paths require an account token.)
The testbed space is written to (pages created and deleted) β use a scratch space.
See SECURITY.md. Report vulnerabilities privately to contact@agentdocs.eu.
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/agentdocs-mcp)<a href="https://allmcps.com/mcp/agentdocs-mcp"><img src="https://allmcps.com/api/badge/agentdocs-mcp?style=directory" alt="Agentdocs MCP on AllMCPs" /></a>