Indexes local documents and serves search over MCP, HTTP and a client.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add docdex -- npx -y docdex~/.codex/config.toml
[mcp_servers.docdex]
command = "npx"
args = ["-y", "docdex"]
# codex mcp add docdex -- npx -y docdex~/.cursor/mcp.json
{
"mcpServers": {
"docdex": {
"command": "npx",
"args": [
"-y",
"docdex"
]
}
}
}.vscode/mcp.json
{
"servers": {
"docdex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"docdex"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"docdex": {
"command": "npx",
"args": [
"-y",
"docdex"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"docdex": {
"command": "npx",
"args": [
"-y",
"docdex"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"docdex": {
"command": "npx",
"args": [
"-y",
"docdex"
]
}
}
}