DOCS / FEATURES
MCP server
An AI assistant such as Claude Code, Claude, Cursor or VS Code can work
with one organization over the Model Context Protocol, served on
POST /api/mcp. It connects with an API key, or signs in as a user
through OAuth.
Code: api/src/mcp/ and api/src/oauth/. Tests: api/tests/mcp.rs,
api/tests/oauth.rs and e2e/tests/assistants.spec.ts.
Two ways in
| API key | OAuth sign-in | |
|---|---|---|
| Who sets it up | An org admin creates a key and pastes it into the client | The client opens a consent page; any member approves for one of their orgs |
| Acts as | Nobody: the org itself | The user who approved |
| Can do | The read tools its scopes allow | The tools the user approved, and still holds |
| Writes | Never | Yes: what it changes is recorded under the user's name |
| Ends | When the key is revoked or expires | When the user disconnects it, after 30 days unused, or when the user's credentials are reset (password change or reset, sign-out everywhere, account disabled) |
With an API key
Create an API key with the scopes the assistant should have and give the client the key in a header:
# Claude Code
claude mcp add --transport http launchcrate https://app.example.com/api/mcp \
--header "Authorization: Bearer rsk_..."[ full guide ]
The rest of this guide comes with the repo.
- Tools
- Authorization, metering and errors
- The sign-in flow
- Protocol
- Not yet