MCP overview

MCP is Slab5's agent interface for connecting AI clients to workspace tools. Tools expose business actions, not raw database access.

Use MCP when you are connecting an agent. Use REST when you are building an app. MCP tools and REST routes operate on the same workspace data, scopes, module enablement, audit events, usage events, and structured errors.

Tool design

Every tool has an input schema, output schema, required scopes, request ID, clear errors, audit logging, usage metering, idempotency guidance, and an API equivalent. The gateway executes initialize, ping, tools/list, and tools/call against the same app-plane services used by REST.

Hosted clients can discover the MCP server through the production /v1 endpoint and OAuth protected-resource metadata. Workspace selectors such as workspace_id and workspace_slug are routing context only and must not contain secrets.

Was this page helpful?