Open
Description
Summary
Trinity is changing its default for external MCP access (Abilityai/trinity#4264). On a fresh install, MCP clients outside the server are refused until an admin turns the access on. trinity:connect runs from outside the server, so on a fresh install it will write a working-looking .mcp.json whose connection is then refused.
What changes in Trinity
- A fresh install refuses off-box MCP clients with
403and a JSON-RPC-32003error, namedexternal_mcp_access_off, plus the headerX-Trinity-Refusal: external_mcp_access_off. - An admin turns access on under Settings → MCP Keys → External MCP access.
- While the backend cannot be read, off-box clients get
503 external_mcp_access_unverifiedwithRetry-After. - Fresh installs publish the raw
:8080port on loopback only, so off-box clients use<web origin>/mcp. The URL shown in Settings → MCP Keys is the one to use. - Upgraded installs keep access on, with no operator action.
Acceptance criteria
-
trinity:connecttells a fresh-install user to turn on External MCP access before connecting. - A refused connection is reported as the named setting being off, with the Settings path, and not as a transport failure or a bad key.
- The skill does not assume
:8080is reachable. It uses the instance's advertised MCP URL. - The flow is checked end to end against a fresh install and against an upgraded one.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity