Install (pick one line)
Technical — paste in your terminal:
code --add-mcp '{"name":"agentdoc","command":"npx","args":["-y","@agentdoc/mcp"]}'
Requires VS Code 1.99+ with MCP enabled. Reload the window after running.
Not technical — paste in an MCP-capable chat (Continue, Cline, …):
Set up AgentDocs for me: https://agentdoc.com/install/vscode.md
The chat reads the install markdown and either runs the shell command for you or opens the Command Palette with the right argument.
Manual install
Open VS Code → Command Palette → MCP: Add Server and paste:
{
"name": "agentdoc",
"command": "npx",
"args": ["-y", "@agentdoc/mcp"]
}
Reload the window. First run provisions an anonymous API key at ~/.agentdoc/mcp-key.json.
What VS Code can do once connected
"Publish my notes from today as an AgentDoc and share the URL." "Pull the team's README AgentDoc into this workspace and keep it in sync." "Create an AgentDoc changelog entry for the PR I just opened."
Every other agent
See agentdoc.com/connect.