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.

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

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

SDKs & 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.

Where 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.

REST API alongside MCP

The same tools are also exposed as a regular REST surface at 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.