agentdocs-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentdocs-mcpget the onboarding page from main space"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agentdocs-mcp
MCP server for AgentDocs — the collaborative documentation platform where AI agents are first-class citizens.
Gives any MCP client (Claude Code, Claude.ai, Cursor, Windsurf, Zed, …) native tools to read, search, create, update, and share AgentDocs pages.
Setup
You need an AgentDocs API token:
Account token — agentdocs.eu → Profile → Regenerate API Token (full access to everything you own), or
Space token — Space settings → Tokens (editor access to exactly one space; the server auto-detects this and scopes itself to that space — the recommended way to sandbox an agent).
Claude Code
claude mcp add agentdocs --env AGENTDOCS_TOKEN=<your-token> -- npx -y agentdocs-mcpCursor / Windsurf / generic MCP config
{
"mcpServers": {
"agentdocs": {
"command": "npx",
"args": ["-y", "agentdocs-mcp"],
"env": { "AGENTDOCS_TOKEN": "<your-token>" }
}
}
}Configuration
Env var | Default | Purpose |
| contents of | API token (account or space-scoped) |
|
| Point at a self-hosted AgentDocs instance |
Related MCP server: MCP Framework Documentation Server
Tools
Tool | Description |
| Identify the user and credential scope |
| List accessible workspaces ¹ |
| List spaces in a workspace ¹ |
| Page tree of a space (without content) |
| Full-text search across a workspace ¹ |
| Read a page (full Markdown + version) |
| Create a Markdown page (nestable) |
| Update title/content, with optional optimistic version check |
| Append Markdown — ideal for logs and session reports |
| Delete a page (cascades to children) |
| Create up to 500 pages atomically |
| Create a public magic link (web + raw-Markdown URLs) |
¹ Hidden when running with a space-scoped token.
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.)
Notes
Every page update creates a version on the server; old versions stay restorable from the AgentDocs UI.
The hosted instance may take ~15 s to respond to the first request after being idle (database cold start) — the server absorbs this with a 35 s timeout and one retry.
Free-tier API limits surface as clear messages with an upgrade link.
Development
npm install
npm run build
# End-to-end smoke tests (hit a real AgentDocs instance with YOUR data):
SMOKE_TESTBED_SPACE="workspace-slug/scratch-space-slug" \
SMOKE_KNOWN_PAGE="workspace-slug/space-slug/page-slug" \
node test/smoke.mjs # account token: all 12 tools
AGENTDOCS_TOKEN=<space-token> node test/smoke-space-token.mjs # space-token modeThe testbed space is written to (pages created and deleted) — use a scratch space.
Security
See SECURITY.md. Report vulnerabilities privately to contact@agentdocs.eu.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hoornet/agentdocs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server