@acoyfellow/lab-mcp
v0.0.2
Published
MCP server for lab: find (catalog/trace) + execute (guest runs) via stdio
Readme
@acoyfellow/lab-mcp
MCP server for Lab — expose chainable edge execution to Claude Desktop, Cursor, or any MCP client.
Quick setup
Add to your MCP config (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"lab": {
"command": "npx",
"args": ["-y", "@acoyfellow/lab-mcp"],
"env": {
"LAB_URL": "https://your-lab.workers.dev"
}
}
}
}Or install globally and run directly:
npm install -g @acoyfellow/lab-mcp
LAB_URL=https://your-lab.workers.dev lab-mcpTools
find
Discover capabilities and retrieve traces.
path(optional) — dot-path into catalog, e.g.capabilities,execute.chaintraceId(optional) — fetch a specific trace
execute
Run guest code on the Lab Worker.
Modes: sandbox · kv · chain · spawn · generate · seed
{
"mode": "chain",
"steps": [
{ "body": "return [1, 2, 3]", "capabilities": [] },
{ "body": "return input.map(n => n * 2)", "capabilities": [] }
]
}Requirements
- Node.js 18+
LAB_URLenvironment variable
License
MIT
