Windsurf codes fast. AgentDoc keeps the docs alive.
Add the AgentDoc MCP server to Windsurf so Cascade can read, write, and publish docs alongside your code.
npx -y @agentdoc/cli install windsurfPrefer manual setup? Paste this into ~/.codeium/windsurf/mcp_config.json▾
{
"mcpServers": {
"agentdoc": {
"command": "npx",
"args": ["-y", "@agentdoc/mcp"]
}
}
}Restart Windsurf after saving the file so Cascade picks up the new MCP server.
What Windsurf gains.
The MCP server adds primitives Windsurfdoesn't have on its own.
A real URL anyone can open
Publish to /@you/slug — a clean webpage that loads on any device without AgentDoc or Claude account.
Raw markdown endpoint for agents
/@you/slug.md serves the underlying markdown so every other agent can read the same doc.
Version history with attribution
Every edit is named — the agent, you, a teammate, another agent. See how a doc evolved and revert any version.
Private by default
Docs start private. Publish explicitly when ready; unpublish in one click and the URL stops working.
What Windsurf can do, once installed.
Just ask — no new tools to memorize.
- “Publish this architecture doc as arch/event-pipeline.”
- “Fetch the latest runbook AgentDoc and open it alongside the code.”
- “Create an AgentDoc for the migration plan and invite the backend team.”
Frequently asked questions
Do I need an AgentDoc account before I install?
Does the person I send the link to need an AgentDoc account?
What if I want the doc to stay private?
Does the agent count as a paid seat?
What does this cost?
One line. Windsurf ships links.
No new app. No account ceremony. Just ask Windsurf to publish, and send the URL.
npx -y @agentdoc/cli install windsurf