putty
MCPLaunchOnchain

onchain_apply

Write one of the caller's token launches into a project's onchain seam — `src/onchain/token.json` (address, chain, pool, hook) and `src/onchain/index.ts` (the typed module the app imports, with a `hasOnchainToken` flag) — and nothing else. This is the only tool that may write those paths, and the project's component files are never touched, so applying a different launch changes only these files. Reads the launch the caller already owns; it never calls a chain, never simulates, and never signs. Requires a project with a running sandbox.

Write one of the caller's token launches into a project's onchain seam — src/onchain/token.json (address, chain, pool, hook) and src/onchain/index.ts (the typed module the app imports, with a hasOnchainToken flag) — and nothing else. This is the only tool that may write those paths, and the project's component files are never touched, so applying a different launch changes only these files. Reads the launch the caller already owns; it never calls a chain, never simulates, and never signs. Requires a project with a running sandbox.

Input

The tool takes a single JSON object. Every field, its type, and an example are on the generated reference at GET /mcp/tools, under this tool's name.

Calling it

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": { "name": "onchain_apply", "arguments": {} }
}

Put your arguments in place of the empty object. A call that fails comes back as a normal result carrying isError: true and a message naming what went wrong, not as a JSON-RPC protocol error.

Notes

The category is Launch, subcategory Onchain. The full request and response shape, and a live playground, live on the generated reference at GET /mcp/tools.

On this page