mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-07-09 16:08:31 +00:00
* feat: add MCP routing hints * test: isolate mcp routing prompt config * fix: address mcp routing review feedback
58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"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_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": {}
|
|
}
|