Execute your deployed Lamatic flows via AI agents using natural language.
Lamatic GraphMCP is an MCP (Model Context Protocol) server that turns your deployed Lamatic flows into AI-callable tools. Connect Claude, GitHub Copilot, or Cursor — your flows become tools your AI can call directly using natural language.
# Run directly via npx (recommended)
npx @lamatic/graph-mcp
# Or install globally
npm install -g @lamatic/graph-mcp
# Or install as a dependency
npm install @lamatic/graph-mcpclaude mcp add lamatic-graph -- npx -y @lamatic/graph-mcpAdd to .vscode/mcp.json:
{
"servers": {
"lamatic-graph": {
"command": "npx",
"args": ["-y", "@lamatic/graph-mcp"],
"type": "stdio"
}
}
}Add to your MCP config file:
{
"mcpServers": {
"lamatic-graph": {
"command": "npx",
"args": ["-y", "@lamatic/graph-mcp"]
}
}
}GraphMCP requires two API keys — an org-level key and a project-level key.
Run the graph_auth_login tool:
authenticate with orgApiKey lt-org-xxx, projectApiKey lt-mmup-xxx and orgId your-org-id
Your credentials are stored locally at ~/.lamatic/config.json.
| Tool | Description |
|---|---|
graph_auth_login |
Authenticate with Lamatic |
graph_load_project_flows |
Load all active flows with input schemas |
graph_execute_flow |
Execute a deployed flow with a payload |
graph_refresh_flows |
Refresh the list of active flows |
GraphMCP can execute flows with the following trigger types:
| Trigger | Supported |
|---|---|
| API Request | ✅ |
| Chat Widget | ✅ |
| Search Widget | ✅ |
| Webhook | ✅ |
| Cron | |
| Google Sheets |
- Connect your MCP client with org API key + project API key + org ID
- Run
graph_load_project_flowsto see all active flows and their input fields - Run
graph_execute_flowwith the flow ID and matching payload - The AI maps your natural language to the right flow and payload automatically
show me all flows for project fcd1aa1d-...
run the Changelog flow with sampleInput "hello world"
execute the RAG flow and ask it "what is Lamatic?"
refresh my flows