MCP & agents

Setup and authentication.

Generate an API key, configure your MCP client, and verify the connection. Same three steps for every client.

Generate an API key

In the Stable Baseline web app, open Settings → MCP keys and click Generate new key. Give it a descriptive name (e.g. laptop-claude) and scope it to the workspaces and projects this agent should be able to touch.

Never share or commit keys

Keys are shown once. Copy it to your OS keychain or your MCP client's secret store. Rotate per agent per machine, not shared.

The endpoint

All MCP clients point at the same URL:

uri
https://api.stablebaseline.io/functions/v1/cloud-serve/mcp

Authentication is done via bearer token header:

http
Authorization: Bearer sb_live_••••••••••

Verify the connection

Once configured, your client should list stable-baseline under connected servers. Ask your agent to list the tools:

prompt
What Stable Baseline MCP tools are available?

You should see 60+ tools grouped into navigation, documents, diagrams, improvements, plans, and visual assets. If the list is shorter, check your key's scope.