Crawls and indexes documentation so agents can run full-text search over a managed set of docs.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add open-docs -- npx -y open-docs-mcp --docsDir /path/to/docs~/.codex/config.toml
[mcp_servers.open-docs]
command = "npx"
args = ["-y", "open-docs-mcp", "--docsDir", "/path/to/docs"]
# codex mcp add open-docs -- npx -y open-docs-mcp --docsDir /path/to/docs~/.cursor/mcp.json
{
"mcpServers": {
"open-docs": {
"command": "npx",
"args": [
"-y",
"open-docs-mcp",
"--docsDir",
"/path/to/docs"
]
}
}
}.vscode/mcp.json
{
"servers": {
"open-docs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"open-docs-mcp",
"--docsDir",
"/path/to/docs"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"open-docs": {
"command": "npx",
"args": [
"-y",
"open-docs-mcp",
"--docsDir",
"/path/to/docs"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"open-docs": {
"command": "npx",
"args": [
"-y",
"open-docs-mcp",
"--docsDir",
"/path/to/docs"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"open-docs": {
"command": "npx",
"args": [
"-y",
"open-docs-mcp",
"--docsDir",
"/path/to/docs"
]
}
}
}