Skip to content

MCP Server

Baseline exposes an MCP (Model Context Protocol) server that integrates with Claude Desktop and other MCP-compatible tools.

Add Baseline to your Claude Desktop configuration:

{
"mcpServers": {
"baseline": {
"command": "npx",
"args": ["baselineos", "serve"]
}
}
}

The MCP server exposes 15+ tools for:

  • Governance — Run compliance checks, enforce policies, generate audit trails
  • Knowledge — Search indexed knowledge, retrieve context at multiple compression levels
  • Agents — Query agent registry, inspect trust scores and capabilities
  • Tasks — Create governed tasks, check status, retrieve evidence bundles
  • Memory — Store and retrieve values across session, working, and long-term scopes

When connected, Claude Desktop (or any MCP client) can invoke Baseline tools directly within conversations. Every tool invocation flows through the governance layer, producing audit entries and evidence artifacts automatically.

You can also run the MCP server independently:

Terminal window
baseline serve

This starts the MCP transport without the REST API. To run both:

Terminal window
baseline serve --api --port 3141