MCP server for AgentDocs (agentdocs.eu) — give any AI agent native tools to read, search, write, and share collaborative docs
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add agentdocs --env AGENTDOCS_TOKEN='<AGENTDOCS_TOKEN>' -- npx -y agentdocs-mcp~/.codex/config.toml
[mcp_servers.agentdocs]
command = "npx"
args = ["-y", "agentdocs-mcp"]
env = { AGENTDOCS_TOKEN = "<AGENTDOCS_TOKEN>" }
# codex mcp add agentdocs --env AGENTDOCS_TOKEN='<AGENTDOCS_TOKEN>' -- npx -y agentdocs-mcp~/.cursor/mcp.json
{
"mcpServers": {
"agentdocs": {
"command": "npx",
"args": [
"-y",
"agentdocs-mcp"
],
"env": {
"AGENTDOCS_TOKEN": "<AGENTDOCS_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"agentdocs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agentdocs-mcp"
],
"env": {
"AGENTDOCS_TOKEN": "<AGENTDOCS_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agentdocs": {
"command": "npx",
"args": [
"-y",
"agentdocs-mcp"
],
"env": {
"AGENTDOCS_TOKEN": "<AGENTDOCS_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agentdocs": {
"command": "npx",
"args": [
"-y",
"agentdocs-mcp"
],
"env": {
"AGENTDOCS_TOKEN": "<AGENTDOCS_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"agentdocs": {
"command": "npx",
"args": [
"-y",
"agentdocs-mcp"
],
"env": {
"AGENTDOCS_TOKEN": "<AGENTDOCS_TOKEN>"
}
}
}
}远程托管
claude mcp add --transport http agentdocs https://agentdocs.eu/mcp --header 'Authorization: <AUTHORIZATION>'~/.codex/config.toml
[mcp_servers.agentdocs]
url = "https://agentdocs.eu/mcp"
http_headers = { Authorization = "<AUTHORIZATION>" }
# codex mcp add agentdocs --url https://agentdocs.eu/mcp~/.cursor/mcp.json
{
"mcpServers": {
"agentdocs": {
"url": "https://agentdocs.eu/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"agentdocs": {
"type": "http",
"url": "https://agentdocs.eu/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agentdocs": {
"httpUrl": "https://agentdocs.eu/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"agentdocs": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://agentdocs.eu/mcp",
"--header",
"Authorization:<AUTHORIZATION>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"agentdocs": {
"url": "https://agentdocs.eu/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}需要的环境变量
AGENTDOCS_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。