Skip to main content

IDE Setup

The doculayer setup command auto-detects your IDE and writes the MCP config without any manual editing.

doculayer setup

The wizard detects which IDE you're running and writes the correct config file. Restart your IDE after setup and the four DocuLayer tools appear immediately.


Manual Setup by IDE

Claude Code

pip install doculayer && claude mcp add doculayer -- doculayer mcp

Restart Claude Code. Tools are live.


Cursor

doculayer setup --ide cursor

Or add manually to ~/.cursor/mcp.json:

{
"mcpServers": {
"doculayer": {
"command": "doculayer",
"args": ["mcp"]
}
}
}

Windsurf

doculayer setup --ide windsurf

Or add manually to ~/.codeium/windsurf/mcp_config.json with the same JSON block.


VS Code (with MCP support)

doculayer setup --ide vscode

Or add to your VS Code settings.json:

{
"mcpServers": {
"doculayer": {
"command": "doculayer",
"args": ["mcp"]
}
}
}

Zed

doculayer setup --ide zed

Or add to ~/.config/zed/settings.json (macOS/Linux) / %APPDATA%\Zed\settings.json (Windows):

{
"context_servers": {
"doculayer": {
"command": { "path": "doculayer", "args": ["mcp"] }
}
}
}

All IDEs at once

doculayer setup --all-ides

After Setup

Once your IDE restarts you can verify by asking your agent:

"Use doculayer_sources to list available documentation packages."

The agent should immediately call the tool and return the source list — no hallucination, verbatim from the running server.