Connect an MCP client
Connect a Streamable HTTP MCP client to Crewhelm, authenticate as the configured GitHub owner, and verify that the client can read fleet status.
Prerequisites
Section titled “Prerequisites”- A verified Crewhelm installation.
- The HTTPS origin recorded in
crewhelm.installation.json. - An MCP client that supports Streamable HTTP and OAuth authorization for remote servers.
- Access to the GitHub account configured as the installation owner.
Authority and custody
Section titled “Authority and custody”The client receives an OAuth access level chosen during authorization. The installation owner defaults to Full control, but a narrower level is appropriate when the client only needs to inspect or run Agents. Access levels map to fixed internal capabilities; they do not depend on prompt wording.
The MCP endpoint and OAuth metadata contain no provider credential. Bearer tokens terminate at the Worker and are rechecked against owner identity, audience, scope, and revocation.
Connect
Section titled “Connect”-
Add this remote MCP server URL to the client:
https://YOUR_WORKER_HOST/mcp -
Start the client’s authorization flow.
-
Sign in with the GitHub account configured as the Crewhelm owner.
-
Review and approve the requested access level.
-
After the client connects, call
crewhelm_status.
Crewhelm dynamically registers compatible clients and advertises the OAuth metadata required for authorization. Exact client configuration screens differ, so use the client’s remote MCP setup flow rather than copying credentials into configuration.
Verify the connection
Section titled “Verify the connection”A successful crewhelm_status result reports ready, fleet usage, diagnostics, inbox attention,
and no more than three advisory next steps. Suggestions are guidance, not authority.
For an independent check, run:
npx @crewhelm/cli@beta doctor \ --installation crewhelm.installation.json \ --authenticatedRecover safely
Section titled “Recover safely”- If authorization reports the wrong GitHub identity, stop and verify the installation owner’s configured account. Do not try another user’s token.
- If a tool returns
insufficient_scope, reconnect with the access level required for the intended operation. Do not treat broader prompt instructions as permission. - If discovery fails, run the public
crewhelm doctorcheck before changing client settings. - Revoke the client authorization when the client should no longer administer Crewhelm.