Phase 3: Orchestration
New Features
- Fallback Routing: When a tool call fails on one server, automatically retries on other servers that provide the same tool. Candidates are sorted by success rate (when
preferHealthyServers=true) then by priority. - Usage Statistics: Every tool call is recorded with success/failure status, response time, and fallback usage. View via the new
mcp_statstool. - mcp_stats Tool: View usage statistics with
detailparameter:summary(default): overall stats + recent callsserver: per-server breakdown (calls, success rate, avg response time, fallbacks)tool: per-tool breakdown (calls, success rate, servers used)all: everything
- Priority-weighted Sorting: Servers with higher priority are preferred. When
preferHealthyServers=true, success rate takes precedence over priority. - preferredServer Override: Users can specify which server to try first via the
serverNameparameter inmcp_call_tool.
New Config Fields
| Field | Default | Description |
|---|---|---|
enableFallback |
true |
Enable fallback routing |
maxFallbackAttempts |
3 |
Max servers to try |
preferHealthyServers |
true |
Sort by success rate (false = priority only) |
enableStats |
true |
Register mcp_stats tool |
Test Results
Spike: 34 passed, 0 failed
Integration: 236 passed, 0 failed
Total: 270 passed, 0 failed
Install
dsh plugin --profile web add github:Daseanle/dsh-mcp-orchestrator