MCP & agents
The Stable Baseline MCP server.
One endpoint, 180 well-scoped tools across 18 categories, and permissioned access for every AI agent you use. Connect once, work everywhere.
Connect
Add the Stable Baseline MCP config to your client. Paste an API key or sign in via OAuth 2.1.
02Onboard
Run sb-setup. Your agent scans the repo and scaffolds docs + diagrams automatically.
03Maintain
Agents keep docs current as code changes. You can also ask for updates mid-conversation.
Why MCP
The Model Context Protocol is a small, open specification for agents to talk to external systems. By speaking MCP, Stable Baseline works with every client that does — today and tomorrow — without us maintaining a dozen custom SDKs.
What can agents do
Once connected, your agent has access to 180 production tools grouped into 18 categories — covering both content (documents, diagrams, plans, improvements) and full lifecycle control (organisations, members, teams, permissions, billing, knowledge-graph admin, settings):
Navigation & discovery
Explore folder structures, list orgs/workspaces/projects, walk hierarchy.
Documents, diagrams, plans, improvements
Read, write, patch, and find-and-replace in CDMD docs; 40+ diagram types; phases, tasks, dependencies; improvement evidence.
Images & data
Upload sessions for images and CSV/JSON/TSV data files for Vega charts.
Knowledge graph & KG admin
Search the company brain. Include / exclude scope changes go through a credit-cost preview before any spend.
Organisation lifecycle
Create and update organisations, workspaces, and projects (delete is browser-only).
Members & teams
Invite, role change, deactivate, remove. Team CRUD with workspace access grants.
Permissions
Per-resource permission CRUD with 3-state inheritance overrides. Self-escalation blocked.
Billing & subscription
Subscription, seat, and credit-package management — every money-spending call goes through preview → confirmation token → apply.
Settings & preferences
Org settings JSONB merge, plan-tier-gated feature flags, per-user preferences, plan entitlements.
Every option a human can click in the UI has an equivalent MCP tool — same fields, same authorisation rules. An agent can take a customer from sign-up through a paid organisation with members invited, permissions scoped, and the company brain populated, without a human touching the UI.
MCP endpoint
https://api.stablebaseline.io/functions/v1/cloud-serve/mcpSDKs & CLI
If you're building on top of Stable Baseline rather than just driving it from an agent, the same 180 tools are available as a typed TypeScript SDK, a Python SDK, and a single-file sb binary. Same auth (Bearer key or OAuth), same scopes, same rate limits.
@stablebaseline/sdk
TypeScript / JavaScript
Typed dispatcher over all 180 MCP tools. Built on openapi-fetch. Works in Node, Bun, Deno, browsers.
npm i @stablebaseline/sdkstablebaseline
Python, sync and async
Drop-in client with __getattr__-based tool dispatch. Full async support via httpx. Type stubs included.
pip install stablebaseline@stablebaseline/cli
The sb command
Single-file CLI for shell scripts and CI. Pre-compiled binaries for Linux, macOS (Intel + Apple Silicon), and Windows.
npm i -g @stablebaseline/cliWhere to find us
Stable Baseline is published in every major MCP directory and the open-source repo is public. Pick whichever channel your stack already trusts.
GitHub: stablebaseline/mcp
Public docs repo with SDK and CLI source. Issues and security advisories live here.
MCP Registry
Official Model Context Protocol registry. Server name io.stablebaseline/sb, status active.
Smithery
Hosted MCP marketplace with one-click connection and OAuth-handled gateway. Quick Setup badge.
Glama MCP
Glama directory listing with score and category tags. Auto-imported from MCP Registry.
REST API alongside MCP
https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1/. Hit /openapi.json for the spec, /tools for the catalogue, or POST /tools/<name> for any tool. Useful when you can't (yet) speak MCP but want the same capabilities.