Connect your AI tools

Connect your AI tools over MCP.

Stable Baseline speaks the Model Context Protocol, so the AI tools you already use, in your editor, your terminal or your chat app, can read and write your documents, diagrams, whiteboards, plans and work. They get exactly the access you give them, and nothing more.

Your AI tools connect over MCP; a key or a sign-in decides what each one can reach.

The address

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

Every tool connects to this one address, over streamable HTTP. Sign in with OAuth where your tool supports it, or send an API key. See Setup.

What your AI tools can do

  • Find things: organisations, workspaces, projects, folders and documents, by name or id.
  • Documents: read, write, patch, find and replace, import files, and list versions.
  • Diagrams and images: draw any kind of diagram, render it as a picture, upload images.
  • Whiteboards: build boards, add stencils and diagrams, design decks, read a board back.
  • Plans and the work register: plans, phases, tasks, dependencies, risks and evidence.
  • Databases: build tables, query rows, add and change rows, import and download.
  • Agents: ask your organisation's agents, hand them work, approve what they propose.
  • The company brain: search it, read what it knows, and ask what held on a past day (Enterprise).
  • Running the organisation: members, teams, permissions, settings and billing, for the keys you allow to.

Every tool follows the same rules as the app. Anything that spends money or credits is previewed first and applied only with the preview's token, and deleting an organisation, a workspace or a project is only done in the app. Browse every tool in the tools reference; your tool can also ask for the live list with searchTools.

Prompts

Tools that support MCP prompts offer these as commands. How they appear depends on the tool.

PromptWhat it does
sb-setupOnboards a repository: finds your project, analyses the code, builds a documentation structure, and adds sync rules to AGENTS.md, keeping what is there
sb-syncWrites or updates the Stable Baseline section of AGENTS.md, keeping everything else
sb-updateRecords changes, decisions and knowledge from the current conversation in your docs
sb-create-docCreates a new document, with diagrams or images if you want them
sb-edit-docEdits an existing document with small patches or find and replace
sb-create-diagramAdds a diagram to an existing document
sb-manage-imagesUploads, inserts, updates or deletes images in a document
sb-manage-dataUploads and manages CSV, JSON and TSV files for charts
sb-whiteboard-designPlans and builds a whiteboard with shapes, stencils, icons, connectors and frames
sb-whiteboard-diagramAdds a diagram, a process or an image to a whiteboard
sb-whiteboard-presentBuilds a slide deck on a whiteboard, one frame a slide, ready to present and export

SDKs, CLI and REST

Building on Stable Baseline rather than driving it from an AI tool? The same tools are available from code, with the same keys, sign-ins and rules.

Install
TypeScript and JavaScriptnpm i @stablebaseline/sdk
Pythonpip install stablebaseline
Command line (the sb command)npm i -g @stablebaseline/cli

Or call the REST API at https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1: openapi.json is the specification, docs is a readable reference, tools lists every tool, and POST tools/<name> calls one.

Where to find us

Agents in Stable Baseline, and AI tools outside it

This section is about AI tools you already use reaching into Stable Baseline. To set up AI workers that live inside Stable Baseline and do duties on their own, see Agents.