MCP companions
An MCP companion is a local tool server an agent uses. Agentic Optimizer tracks each companion's status and freshness so the log can distinguish three very different situations:
- the tool was available and unused → a pruning candidate,
- the tool was unavailable → a backfill/mitigation candidate,
- the tool was used and failing → a reliability candidate.
Health model
| State | Meaning |
|---|---|
| Fresh | Reported inside the freshness window (default 15 minutes). |
| Stale | Window elapsed without a report. |
| Degraded / down | Reported a failure state. |
The freshness window is McpCompanionHealth:FreshnessMinutes (default 15) and can be overridden per
organization.
Where you see it
The Action Center's connector/MCP panel lists every companion with its state, its last report, and the tool calls attributed to it in the current window. A companion that is fresh with zero calls is the pruning signal; one that is stale while the agent was active is the backfill signal.
Setup
- Register the companion so it is part of the org's inventory.
- Make it report on a heartbeat comfortably shorter than the freshness window.
- Confirm it reads fresh.
- Let the agent run for a few sessions so there is usage to compare it against.
See Connect an MCP companion for the checklist.