Repository navigation
Description
Gap
aether mcp manages broker connections and local server entries, but a saved local server is explicitly not forwarded to managed-agent chats. The terminal's managed-agent commands expose no per-agent connector catalog, grant/readiness view, or safe account setup path. Online now has account connector control-plane routes, so terminal users cannot tell whether a provider is connected to the account, granted to this agent, or executable for this task.
Evidence: local MCP warning, managed-agent command surface, Cloud connector catalog and grants. Cloud production verification is tracked in AETHER-CLOUD #1760.
Outcome
- Add an account-scoped terminal view for provider catalog, connection health, each managed agent's grants, allowed actions, expiry, and current readiness. Separate
installed locally,connected to account,granted to agent, andready for this taskin the UI and JSON output. - Offer a safe browser handoff for account connection and an explicit owner grant/revoke flow where the canonical Cloud control plane supports it. Re-read server state after return; do not treat a completed OAuth redirect as proof of readiness.
- Keep provider secrets, OAuth codes, raw MCP responses, and local
mcp.jsontokens out of model chat and terminal diagnostics. Local MCP entries must remain unforwarded unless a separate reviewed authority contract exists. - On account switch or revocation, clear stale connector status and block any implied grant. If the server lacks CLI account authority for these endpoints, add a bounded terminal adapter rather than widening provider credentials.
Acceptance
At pinned Agent/Cloud revisions, test disconnected, connected-but-ungranted, granted-but-disabled, ready, expired, revoked, provider outage, wrong owner, and account switch. A selected agent can inspect the exact grant being used; no state claims execution readiness merely from connection existence. Existing local MCP management remains truthful.
Scope / dependency
Terminal connector visibility and owner setup; no generic model tool forwarding and no ATS broker-order authority. Coordinate with Cloud's connector rollout (#1760); Code/Design in-task setup is separately tracked by Cloud #1758.
Activity