agentdocs-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENTDOCS_URL | No | Advanced. Override the API base URL. Defaults to the hosted service at https://agentdocs.eu; set this only if you have been given a different endpoint. | https://agentdocs.eu |
| AGENTDOCS_TOKEN | Yes | AgentDocs API token — account-wide, or space-scoped to sandbox an agent to one space. Get one at agentdocs.eu → Profile → Regenerate API Token, or Space settings → Tokens. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| whoamiA | Identify the authenticated AgentDocs user and credential scope. Call this first: a space-scoped credential is locked to a single space, which becomes the default for page tools. |
| list_workspacesA | List all AgentDocs workspaces the user can access. Workspaces contain spaces; spaces contain pages. |
| list_spacesA | List the spaces in a workspace. |
| search_docsA | Full-text (keyword) search across the pages in a workspace, or in one of its spaces. Matches in the returned content_preview are delimited with << >> markers. For natural-language questions, prefer semantic_search. |
| semantic_searchA | Search a workspace by meaning, not keywords — ask a natural-language question (e.g. "how do we handle billing retries?") and get the most relevant pages ranked by similarity. Pages are embedded automatically after each save. Requires a Pro workspace; the response 'mode' is "semantic" when active, or "fulltext_fallback" if semantic search is not configured on the instance (results are still returned). |
| list_pagesA | List the pages in a space as a tree (content omitted — use get_page to read a page). Pages with a discussion carry comment_count / unresolved_comment_count / last_comment_at — comments do NOT bump a page's updated_at, so check last_comment_at to spot new replies. With a space-scoped token, omit "space" to use the token's space. |
| get_pageA | Read a page including its full Markdown content and current version number. The page carries comment_count / unresolved_comment_count / last_comment_at — if comment_count > 0 there is a discussion; set include_comments to read it. include_children returns the page's child pages (titles + slugs, no content) — useful for 'folder' pages whose own content is empty but which organise sub-pages. include_images returns any images embedded in the page as viewable image blocks, so you can actually SEE a screenshot the page references instead of only its URL. |
| create_pageA | Create a Markdown page in a space. The slug is derived from the title unless given. With a space-scoped token, omit "space" to use the token's space. |
| update_pageA | Update a page's title and/or content. Earlier text stays in the page history (list_page_versions) and can be brought back with restore_page_version. Pass expected_version to fail instead of overwriting concurrent edits. |
| append_to_pageA | Append Markdown to the end of an existing page (read-modify-write; creates a new version). Ideal for logs, reports, and running notes. |
| delete_pageA | Delete a page and all its child pages by moving them to the trash. They can be brought back with restore_page (find the id with list_trash) until the trash retention period ends, after which they are deleted for good. |
| move_pageA | Move a page, with its child pages, under another page or to the top level of its space. Give parent_page to nest it, or top_level: true to put it at the top. To move it into another space of the same workspace, also give space; the new parent must then be in that space (or use top_level). Space-scoped tokens can only move pages within their own space. |
| import_markdownA | Import a folder of Markdown files and let the folder structure become the page hierarchy. Each file is { path, content } where path is a relative file path like "guides/setup.md". Folders become parent pages; an index.md or README.md inside a folder supplies that folder page's content; titles come from the first # H1, falling back to the file name. Ideal for an Obsidian vault, a Notion markdown export, or a repo's docs/ folder. Up to 500 files per call. IDEMPOTENT: pages are matched by source path, so re-running an import — or chunking a large vault across several calls — reuses existing pages instead of creating duplicates (response reports created/reused/updated counts). By default existing pages keep their content; set overwrite_existing to re-sync content from the files. Use parent_page to nest the whole import under an existing page. Use bulk_create_pages instead when you want to specify the page tree explicitly. With a space-scoped token, omit "space" to use the token's space. |
| bulk_create_pagesA | Create up to 500 pages in one atomic call (all succeed or all fail) with an explicitly specified structure (titles, slugs, parent_page_id). To import a folder of Markdown files and derive the hierarchy from file paths, use import_markdown instead. With a space-scoped token, omit "space" to use the token's space. |
| share_pageA | Create a public magic link for a page — anyone with the link can read it without logging in. Returns a web URL and a raw-Markdown URL (the raw one is ideal for other agents). |
| list_commentsA | List the threaded comments on a page, returning each comment's id, content, author and parent. Use this to find a comment's id before update_comment / delete_comment. (get_page with include_comments returns the same thread alongside the page content.) |
| add_commentA | Post a comment on a page. Set parent_comment_id to reply within an existing thread. The returned 'mentions' array echoes @name tokens parsed from the body — it is informational only; posting a comment does NOT currently notify the mentioned user. |
| update_commentA | Edit a comment's body and/or mark its thread resolved. Only the comment's author (or an admin) may update it. Provide at least one of content / resolved. |
| delete_commentA | Permanently delete a comment. Only the comment's author (or an admin) may delete it. There is no undo via the API. |
| upload_imageA | Attach an image to a space and get back the Markdown to embed it in a page. Use this to put screenshots and diagrams into the pages you write, so whoever reads the page later — human or agent — can see what you saw. ACCEPTS: PNG, JPEG, GIF, WebP. Max 5 MB. SVG is rejected (script-injection vector). The format is detected from the file's own bytes, not its name. HOW TO SUPPLY THE IMAGE — give exactly one of: • path — absolute path to an image file on this machine. Prefer this: the bytes never pass through the conversation. • data — base64 of the file's bytes (a "data:image/png;base64,..." URI is also accepted). • source_url — a public http(s) URL; the server fetches it. If you can only SEE an image (e.g. a screenshot another tool returned), you cannot re-encode it from what you see — you need the file. Save it to disk, then pass its "path". Counts against the workspace's image storage quota (Free 50 MB, Pro 5 GB). |
| list_page_versionsA | List a page's saved versions, newest first: version number, date, author, which app made the edit (edited_via: web, api_token, space_token or oauth; token_name: the token or app name) and the text length. The text itself is left out; read one version with get_page_version. Several saves by the same author through the same app within 10 minutes share one entry, so version numbers can skip. |
| get_page_versionA | Read the full Markdown text of one earlier version of a page, with its author and which app made it. Find version numbers with list_page_versions. Page titles are not versioned, so only the text is returned. |
| restore_page_versionA | Replace a page's text with the text of an earlier version. The restore is saved as a new version, and the text it replaces stays in the history as its own version, so nothing is lost and a restore can itself be undone. Only the text is restored; the title stays as it is. |
| list_trashA | List the deleted pages in a space that can still be restored, most recently deleted first. Each entry is a page that was deleted directly; descendant_count says how many of its child pages went with it and come back with it. Pages stay in the trash for retention_days, then they are deleted for good. Restore one with restore_page and its id. With a space-scoped token, omit "space" to use the token's space. |
| restore_pageA | Bring a deleted page back from the trash, with the child pages that were deleted with it. Takes the page's UUID from list_trash: deleted pages can't be found by their path. If the slug was taken meanwhile the page gets a new one (slug_changed), and if its parent page is still deleted it comes back at the top level of its space (reparented_to_root). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 25 tools
Most tools target a distinct resource+action, and overlapping pairs (import_markdown vs bulk_create_pages, search_docs vs semantic_search, restore_page vs restore_page_version, list_pages vs get_page) are explicitly cross-referenced in their descriptions. The only residual risk is a first-time agent choosing between the search tools or between create_page/append_to_page under time pressure, but the boundaries are documented.
Nearly everything follows a clear verb_noun snake_case pattern (list_pages, create_page, update_comment, restore_page_version). Minor deviations: whoami has no verb, search_docs uses a different noun ('docs') than the rest of the page-centric surface, and bulk_create_pages/import_markdown are the only non-standard verbs.
All 25 tools map to real, non-duplicated operations, so none is filler. Still, 25 tools is a heavy surface for an agent to navigate, and several infrequent areas (version history, trash, workspaces/spaces, sharing) could plausibly be folded or deferred.
Coverage is strong: full page CRUD plus move/append, comment lifecycle, version history with restore, trash list/restore, dual search, bulk import, image upload and sharing. Gaps are minor — no way to revoke a share link (no unshare_page), no create_space/create_workspace, no page duplication — and agents can work around them.