Delegated access in MCP clients
The hosted MCP endpoint and the local MCP server can act for one person with delegated access. The tools, results and limits. Agent access is off by default.
This guide is for developers whose agent, app or script acts for a Crossblade workspace member. Agent access is off by default and has not been turned on for hosted Crossblade workspaces.
Status
Agent access is off by default. It has not been turned on for hosted Crossblade workspaces, no named agent or app is supported yet, and it has only been tried on local test setups. Crossblade has no web address of its own yet, so this guide writes https://<your Crossblade address>. The SDKs and the local MCP server are shared as source packages; they are not on npm or PyPI yet.
Hosted endpoint
- Send an OAuth access token for the
/mcpresource, or a personal token, asAuthorization: Bearer. A project key keeps the project-key tools in MCP clients. - Send the company in the
Conductor-End-User-Idheader. To switch company, change the header. - Each request is checked again and uses one unit of the approval's rate limit. Connecting uses about 3.
Local server
Use exactly one credential: CROSSBLADE_PERSONAL_TOKEN, or an OAuth token for the /v1 resource given as CROSSBLADE_ACCESS_TOKEN, CROSSBLADE_ACCESS_TOKEN_COMMAND or both. Adding a personal token to an OAuth setup, setting CROSSBLADE_SECRET_KEY as well, or passing --allow-writes stops the server with an error.
- Each tool takes
companyId, sent only as theConductor-End-User-Idheader of that call.CROSSBLADE_COMPANY_IDsets a default. CROSSBLADE_ACCESS_TOKEN_COMMANDprints an access token. On its own it also supplies the first token. After a401it runs once and the same request is repeated once. It must print only the token (at most 16 KiB), exit with status 0 and finish promptly; the 30-second bound stops only the shell it runs in. Personal tokens are never refreshed.
One example, in a host that runs local MCP servers from a command line. It is an illustration only: no named MCP client is supported or tested yet.
claude mcp add crossblade-delegated \
--env CROSSBLADE_PERSONAL_TOKEN=YOUR_PERSONAL_TOKEN \
--env CROSSBLADE_COMPANY_ID=YOUR_COMPANY_ID \
--env CROSSBLADE_BASE_URL=https://<your Crossblade address> \
-- bun /absolute/path/to/crossblade/packages/mcp/src/cli.ts
Tools
| Tool | What it does | Route |
|---|---|---|
whoami | Who the access acts for, the company, the permissions and when it ends | GET /v1/me |
list_companies | Every company this access may use now, including the selected one | GET /v1/companies |
search_capabilities, describe_capability | The read and report operations the access may start now, and one operation's details | GET /v1/capabilities, GET /v1/capabilities/:id |
read | Starts a read or report and returns a task handle. It never waits. | POST /v1/reads |
read_result, read_continue | The result of a read, or its next page | GET /v1/reads/:id/result, POST /v1/reads/continue |
get_task, wait_task, list_tasks | One task's state (wait_task waits at most 25 seconds), or a list of tasks | GET /v1/tasks/:id (wait_task adds wait), GET /v1/tasks |
export_report, get_artifact | Exports a report file and shows its details, not its contents | POST /v1/reports/export, GET /v1/artifacts/:id |
search_help, resolve_navigation | Public help and page links, where those routes are turned on | POST /v1/help/search, POST /v1/navigation/resolve |
Every other tool name, including every write, setup and raw passthrough tool, answers DELEGATED_CAPABILITY_UNAVAILABLE and sends nothing.
Results and pending work
structuredContentis the same document the REST route returns. The first text block states the company, project, test or live environment, the state and the next step. The second is the document as untrusted JSON.readanswers PENDING with a task handle. Callwait_task, thenread_resultwith the same operation and query. To repeat a read safely, reuse itsreplayKey.- Settled is not success. Read the task state.
Report files
MCP never returns file contents or a download link. Download with an authenticated REST request, GET /v1/artifacts/:id/download, using a /v1 OAuth token or a personal token. A token for /mcp cannot download.
Still stuck?
Contact [email protected]. Send:
- The
X-Request-Idresponse header, or therequestIdin the error. - The route or tool you called, and roughly when.
- The error
codeand message.
Never send an access token, personal token, API key or setup link. Nobody needs them to help you.