deer-flow/extensions_config.example.json
Ryker_Feng 5ba25b06ec
feat(mcp): add MCP routing hints (#4004)
* feat: add MCP routing hints

* test: isolate mcp routing prompt config

* fix: address mcp routing review feedback
2026-07-09 16:26:31 +08:00

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": {}
}