Documentation server for Claude Desktop that helps with code improvement and documentation management.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add documentation-server-mahawi1992 --env BRAVE_API_KEY='<BRAVE_API_KEY>' -- npx -y mcp-documentation-server~/.codex/config.toml
[mcp_servers.documentation-server-mahawi1992]
command = "npx"
args = ["-y", "mcp-documentation-server"]
env = { BRAVE_API_KEY = "<BRAVE_API_KEY>" }
# codex mcp add documentation-server-mahawi1992 --env BRAVE_API_KEY='<BRAVE_API_KEY>' -- npx -y mcp-documentation-server~/.cursor/mcp.json
{
"mcpServers": {
"documentation-server-mahawi1992": {
"command": "npx",
"args": [
"-y",
"mcp-documentation-server"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"documentation-server-mahawi1992": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-documentation-server"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"documentation-server-mahawi1992": {
"command": "npx",
"args": [
"-y",
"mcp-documentation-server"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"documentation-server-mahawi1992": {
"command": "npx",
"args": [
"-y",
"mcp-documentation-server"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"documentation-server-mahawi1992": {
"command": "npx",
"args": [
"-y",
"mcp-documentation-server"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>"
}
}
}
}需要的环境变量
BRAVE_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。