Skip to content

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:

text
https://agentsmarkdown.com/mcp

The 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:

http
Authorization: Bearer APP_SESSION_TOKEN

Replace 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_image
  • agentsmarkdown.speak_text
  • agentsmarkdown.transcribe_audio
  • agentsmarkdown.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:

bash
curl -fsS https://agentsmarkdown.com/mcp

To list tools, send this JSON-RPC request:

bash
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:

bash
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 link
  • SHARE_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:

ToolRequired accessPurpose
agentsmarkdown.create_review_taskOwnerCreate an assignment and task link. Supply requestId, title, and instructions.
agentsmarkdown.list_review_tasksOwner or matching task linkList visible assignments. Continue with the returned nextBefore value as before.
agentsmarkdown.get_review_taskOwner or matching task linkRead instructions, progress, and the report.
agentsmarkdown.start_review_taskMatching task linkStart the review.
agentsmarkdown.report_review_taskMatching task link and starting identitySubmit reviewedVersion, summary, commentIds, and suggestionIds.
agentsmarkdown.close_review_taskOwnerClose 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.

Create and share Markdown documents with people and agents.