mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-08-08 05:48:53 +00:00
* feat: support per-server MCP tool name prefixes * refactor: pass MCP connection config directly * fix: preserve unprefixed MCP tool names in session pool
61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
{
|
|
"middlewares": [],
|
|
"mcpInterceptors": [
|
|
"my_package.mcp.auth:build_auth_interceptor"
|
|
],
|
|
"mcpServers": {
|
|
"github": {
|
|
"enabled": false,
|
|
"type": "stdio",
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-github"
|
|
],
|
|
"env": {
|
|
"GITHUB_TOKEN": "$GITHUB_TOKEN"
|
|
},
|
|
"tool_name_prefix": true,
|
|
"tool_call_timeout": 60,
|
|
"description": "GitHub MCP server for repository operations"
|
|
},
|
|
"postgres": {
|
|
"enabled": false,
|
|
"type": "stdio",
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-postgres",
|
|
"postgresql://localhost/mydb"
|
|
],
|
|
"env": {},
|
|
"description": "PostgreSQL database access",
|
|
"routing": {
|
|
"mode": "prefer",
|
|
"priority": 50,
|
|
"keywords": [
|
|
"database",
|
|
"SQL",
|
|
"table",
|
|
"订单",
|
|
"用户"
|
|
]
|
|
},
|
|
"tools": {
|
|
"query": {
|
|
"routing": {
|
|
"mode": "prefer",
|
|
"priority": 100,
|
|
"keywords": [
|
|
"查库",
|
|
"订单表",
|
|
"指标"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"skills": {}
|
|
}
|