# MCP access

bsln version: `0.0.1b40`

SDK source: `baseline-robotics/engineering@c8db8d9fbc8ce8e0524c5ee45cebdfcec34fc666:robotics/bsln`

Page source: `baseline-robotics/engineering@c8db8d9fbc8ce8e0524c5ee45cebdfcec34fc666:robotics/bsln/docs/customer/API-MCP.md`

[Read on the web](https://docs.baseline-robotics.com/api/mcp/) | [Markdown](https://docs.baseline-robotics.com/api/mcp.md) | [Documentation index](https://docs.baseline-robotics.com/llms.txt)

## Connect an agent

Create a separate read-only token:

```bash
bsln create token --name mcp-reader --scopes read --ttl-days 30
```

Use Streamable HTTP at `https://api.baseline-robotics.com/v1/mcp/`. In the client's private connection settings, configure bearer authentication with the token.

Call `bsln_get_capabilities` and `bsln_list_robot_types` with `{}` to verify the connection. These calls check read-only access to the account and robot catalog.

## Troubleshooting

Check expiry on `401`, scope and Origin on `403`, and server support and the trailing slash on `404`. Tool errors include `isError` and can carry a diagnostic `request_id`. Include that ID in a [support report](https://docs.baseline-robotics.com/help.md#send-a-support-report).
