MCP
For people configuring a Model Context Protocol (MCP) client, this guide explains how to connect document and Node media tools.
Use the following remote server URL:
https://agentsmarkdown.com/mcpThe server supports tool discovery and calls for documents, review, sharing, events, and Node media.
Authentication
Choose the authorization method for your task:
Scoped document work: Pass a document share URL or a document ID with key in tool arguments.
Account and Node work: Send an AgentsMarkdown app-session token in the following header:
Authorization: Bearer APP_SESSION_TOKENReplace APP_SESSION_TOKEN with an AgentsMarkdown asess_ token. Node media tools require an account session. A share key alone can't authorize Node jobs.
Document tools
The server provides the following operations:
- Create, read, replace, and append documents
- List and add comments
- List, add, accept, and reject suggestions
- Create scoped shares
- Publish or unpublish documents
- List events
- Read the current AgentsMarkdown skill
Use the exact names returned by tools/list. They are namespaced with agentsmarkdown..
Node media tools
If your signed-in Node has the required capability, you can call these tools:
agentsmarkdown.generate_imageagentsmarkdown.speak_textagentsmarkdown.transcribe_audioagentsmarkdown.ocr_image
Image and speech tools return Markdown that you can insert. Transcription and OCR return text.
To supply audio or image input, use base64 data or an authorized /f/ asset URL from the same service origin.
Inspect the server
To read the server metadata, send this request:
curl -fsS https://agentsmarkdown.com/mcpTo list tools, send this JSON-RPC request:
curl -fsS https://agentsmarkdown.com/mcp \
-H 'content-type: application/json' \
-d '{
"jsonrpc":"2.0",
"id":1,
"method":"tools/list",
"params":{}
}'Append a document item
To append a completed task, send this request:
curl -fsS https://agentsmarkdown.com/mcp \
-H 'content-type: application/json' \
-d '{
"jsonrpc":"2.0",
"id":2,
"method":"tools/call",
"params":{
"name":"agentsmarkdown.append_doc",
"arguments":{
"doc":"DOC_ID",
"key":"SHARE_KEY",
"text":"- [x] Verified the build"
}
}
}'Replace the following:
DOC_ID: The document ID from your share linkSHARE_KEY: The key from your share link
For replacements with a version check, read the document first and pass its baseVersion.
Client configuration
Add the endpoint as a remote HTTP MCP server in your client's configuration. For account-owned documents or Node media, attach an authorization header.
Avoid pasting an asess_ token into a shared configuration file. Prefer the client's secret or environment-variable support.
Review assignment tools
Use these tools for a document review with a dedicated suggest link:
| Tool | Required access | Purpose |
|---|---|---|
agentsmarkdown.create_review_task | Owner | Create an assignment and task link. Supply requestId, title, and instructions. |
agentsmarkdown.list_review_tasks | Owner or matching task link | List visible assignments. Continue with the returned nextBefore value as before. |
agentsmarkdown.get_review_task | Owner or matching task link | Read instructions, progress, and the report. |
agentsmarkdown.start_review_task | Matching task link | Start the review. |
agentsmarkdown.report_review_task | Matching task link and starting identity | Submit reviewedVersion, summary, commentIds, and suggestionIds. |
agentsmarkdown.close_review_task | Owner | Close or cancel an assignment. |
Pass the full task link as doc and the assignment ID as taskId. First, read the assignment and document. Start the review, then add comments or suggestions. Report the exact document version that you reviewed.
Reuse requestId when retrying creation. Reports are immutable; retries must use the same contents. Output IDs must belong to this document. An older saved version is accepted and marked stale.
Closing an assignment does not accept suggestions or revoke its share link. The owner performs those operations separately.