MCP server
Drive your fabric from Claude / Cursor / any MCP client.
The SDK ships a Model Context Protocol server that exposes four standard tools mirroring the fabric's surface:
| Tool | What it does |
|---|---|
setup | Return the plugin / endpoint / webhook inventory |
list_operations | Enumerate operations (filterable by plugin id) |
get_schema | Zod schemas for an operation's input + output |
run_script | Execute a JS snippet with fabric in scope |
Start the server
import { createIntegrationsMcpServer } from '@fabricorg/integrations/mcp';
import { fabric } from './fabric.integrations';
const server = createIntegrationsMcpServer({ fabric });
await server.connectStdio();Or via the CLI:
fabric integrations mcpAdd to Claude Desktop:
{
"mcpServers": {
"fabric-integrations": {
"command": "fabric",
"args": ["integrations", "mcp"]
}
}
}Now Claude can browse your plugins, look up schemas, and run scripted operations directly. Same primitives the Studio Chat tab uses.