# LAB over MCP

> The MCP server's lab_ tools and options_strategy_test drive the same conveyor from an assistant, with a lab key or after signing in through OAuth.

Source: https://firmtape.com/docs/developers/lab/mcp

The MCP server's `lab_` tools and `options_strategy_test` drive the same conveyor from an assistant, with a `lab` key or after signing in through OAuth.

`https://mcp.firmtape.com/mcp`

**This page serves:** [LAB: LAB from a script](https://firmtape.com/docs/lab#lab-api), [REPLAY: MCP server](https://firmtape.com/docs/replay#mcp-server). **Plan:** [LAB](https://firmtape.com/features/lab). LAB credits: developing an idea is free, a backtest or an optimize pass is one credit, the desk is free once an idea is tested. LIVE includes 5 credits a month.

| Tool | Arguments | Returns |
| --- | --- | --- |
| `lab_compile` | `{ message, id? }` | Turns a plain-words idea into a rule, or amends one. Free, needs a positive balance. |
| `lab_run` | `{ id, kind: "backtest" \| "quant" }` | Runs the idea's current conveyor step: 1 credit, refunded on failure. |
| `options_strategy_test` | `{ legs, entry, ... }` | Prices an SPX 0DTE structure over the archive on real quotes: 10 credits. |
| `lab_state` | `{}` | The account's ideas, the conveyor holder and the credit balance. |
| `lab_thread` | `{ id }` | The chat thread of one idea. |
| `lab_idea` | `{ id, action }` | Desk actions: desk, drop, delete, set. |
