mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-09-25 22:16:19 +00:00
* feat(mcp): add durable task runtime foundation * fix(chart): sync embedded config version * fix(mcp): isolate task polls during shutdown * feat(mcp): track consecutive poll errors on mcp_tasks poll_attempt_count grows on every claim (successful polls included), so it cannot drive a failure backoff without misjudging normal long tasks. Add consecutive_poll_error_count: incremented when a claim is released after a poll error, reset to zero by any applied snapshot. The backoff/terminal policy that consumes it lands with the first concrete driver. * fix(mcp): harden durable task lifecycle * feat(mcp): add ordinary durable task driver * test(mcp): address durable task review feedback * fix(mcp): preserve submit tool descriptions * fix(mcp): bound remote task calls * fix(mcp): bound persisted task payloads * fix(mcp): preserve task tool error details * fix(mcp): enforce durable task boundaries * test(mcp): cover task config snapshot lifecycle --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
87 lines
2.0 KiB
JSON
87 lines
2.0 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,
|
|
"session_init_timeout": 60,
|
|
"tool_call_timeout": 60,
|
|
"description": "GitHub MCP server for repository operations"
|
|
},
|
|
"openviking": {
|
|
"enabled": false,
|
|
"type": "http",
|
|
"url": "http://127.0.0.1:1933/mcp",
|
|
"headers": {
|
|
"X-API-Key": "$OPENVIKING_API_KEY"
|
|
},
|
|
"description": "Official OpenViking tools for explicit memory and resource 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": [
|
|
"查库",
|
|
"订单表",
|
|
"指标"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"long-running-reports": {
|
|
"enabled": false,
|
|
"type": "http",
|
|
"url": "https://reports.example.com/mcp",
|
|
"description": "Example ordinary MCP background-task contract",
|
|
"session_init_timeout": 60,
|
|
"tool_call_timeout": 60,
|
|
"task_toolsets": [
|
|
{
|
|
"name": "report-generation",
|
|
"submit_tool": "submit_report",
|
|
"status_tool": "get_report_status",
|
|
"cancel_tool": "cancel_report"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"skills": {}
|
|
}
|