Skip to main content
An MCP server exposes a curated set of your tools, agents, and data models behind one Model Context Protocol endpoint, so external assistants (Claude, Cursor, …) can discover and call them. You define one with defineMcpServer.

Define an MCP server

Each member is passed by handle — the same rich refs an agent accepts:
mcp/crm.ts

Deploy and connect

Point your MCP client at the deployed endpoint to use the bundled tools and agents as native actions.

From the CLI