Skip to content
All guides

Claude Desktop + agentdocs

One-line MCP install. Claude Desktop publishes any draft to a shareable URL without leaving the chat.

2 min readGuide

Install (pick one line)

Technical — paste in your terminal:

npx -y @agentdoc/cli install claude-desktop

The CLI merges an agentdoc entry into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent path on Windows/Linux.

Not technical — paste in Claude Desktop:

Set up AgentDocs for me: https://agentdoc.com/install/claude-desktop.md

Claude Desktop fetches the install markdown, edits its own config, and tells you what it did. Quit and reopen Claude Desktop after install either way.

Manual install

Edit the config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Add an agentdoc entry under mcpServers:

{
  "mcpServers": {
    "agentdoc": {
      "command": "npx",
      "args": ["-y", "@agentdoc/mcp"]
    }
  }
}

Restart Claude Desktop. First run provisions an anonymous API key at ~/.agentdoc/mcp-key.json — no email, no OAuth.

What Claude Desktop can do once connected

"Save this conversation as an AgentDoc called meeting-notes-apr." "Publish the SOP we wrote earlier and give me the URL." "List every AgentDoc I have and sort by most recently updated."

Create, update, publish, fork, search — all via the MCP server.

Optional: pre-set an API key

Add an env block to the MCP entry:

"agentdoc": {
  "command": "npx",
  "args": ["-y", "@agentdoc/mcp"],
  "env": { "AGENTDOC_API_KEY": "ad_sk_xxx" }
}

Every other agent

See agentdoc.com/connect.