Connect an AI agent (MCP)
Connect an AI agent (MCP)
Give AI agents access to your Labric data through the Model Context Protocol.
Labric hosts a Model Context Protocol server that exposes the Labric API as tools any MCP-compatible agent can call — Claude, Cursor, or your own agent framework.
Endpoint
The server speaks streamable HTTP:
Authentication
Authenticate with a Labric API key, exactly as you would against the REST API:
The MCP server holds no data of its own — every tool call forwards your key to the Labric API, which enforces scopes and row-level security. A read-scoped key can only call read tools.
Connecting
Claude Code
Other MCP clients
Any client that supports streamable HTTP transport with custom headers works. A typical JSON configuration:
Available tools
The tools mirror the API Reference one-to-one — they are generated from the same API schema.