Run JavaScript and TypeScript an assistant wrote, with only the access each request lends it.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Read one worked example in full. Use it to copy a request shape for run_code and to see exactly what comes back. Returns the request without a client token, and the output, console lines and call count its reply contains.
the identifier, from list_examples
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http ferrite-worker https://worker.ferrite.run/mcp
Read one worked example in full. Use it to copy a request shape for run_code and to see exactly what comes back. Returns the request without a client token, and the output, console lines and call count its reply contains.
| Argument | Type | Description |
|---|---|---|
| id* | string | the identifier, from list_examples |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"examples": [
"group-orders"
],
"description": "the identifier, from list_examples"
}
}
}Read every limit a run is held to: instructions, memory, time, output, outside calls and requests per minute. Use it before sending a program that loops, logs a lot or makes many calls. Returns each default and maximum, and the meaning of every exit code.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Read what this worker is and whether it can run code now. Use it as a health check, or before the first run to learn the engine and where to send requests. Returns the version, the engine, the run endpoint and whether runs are being accepted.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}List everything a run can be lent: stores, file stores, in-memory files, outbound hosts and host operations. Use it to write the caps object of a run_code request. Returns each field with what it grants, how the program uses it, and the hosts and bindings that can be named.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}List the worked examples. Use it when you are about to write a program and want a request that is known to work as a starting point. Returns the identifier, title and description of each example, in reading order.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Run a JavaScript or TypeScript program with only the access this request lends it. Use it when one short program can do the work of many separate calls, or when code from a model has to run safely; read list_capabilities first. Needs the worker's client token. Returns the program's value, its console lines, an exit code and the number of calls it made.
| Argument | Type | Description |
|---|---|---|
| caps | object | what the program may use; everything left out is refused |
| code* | string | the body of an async function: return the result, and use await at the top level |
| lang | string | ts or typescript removes type annotations before the run; js when left out |
| input | object | array | string | number | boolean | null | any JSON value, available to the program as the global input |
| now_ms | integer | the fixed time the program sees, in epoch milliseconds; the time of the request when left out |
| client_token* | string | the worker's client token, issued by its operator; the program never sees it |
{
"type": "object",
"required": [
"client_token",
"code"
],
"properties": {
"caps": {
"type": "object",
"properties": {
"blobs": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"binding"
],
"properties": {
"name": {
"type": "string",
"description": "the name the program uses for it"
},
"read": {
"type": "boolean",
"description": "allow reads; true when left out"
},
"write": {
"type": "boolean",
"description": "allow writes; false when left out"
},
"prefix": {
"type": "string",
"description": "the key prefix the program is confined to"
},
"binding": {
"enum": [
"agent-data",
"agent-blobs"
],
"type": "string",
"description": "the worker's own binding it stands for"
},
"transparent": {
"type": "boolean",
"description": "hide the prefix, so the program sees keys relative to it"
}
}
},
"description": "file stores the program may use through env.blob(name)"
},
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"contents"
],
"properties": {
"path": {
"type": "string",
"description": "the name ferrite.readFile takes"
},
"contents": {
"type": "string",
"description": "the text of the file"
}
}
},
"description": "in-memory files for this run"
},
"tools": {
"type": "array",
"items": {
"type": "string"
},
"description": "operation names ferrite.callTool may use, such as store.get or fetch"
},
"limits": {
"type": "object",
"properties": {
"fuel": {
"type": "integer",
"description": "interpreter instructions"
},
"max_tool_calls": {
"type": "integer",
"description": "calls to stores, files and hosts"
},
"max_output_bytes": {
"type": "integer",
"description": "console bytes kept"
}
},
"description": "budgets for this run, each held to the maximum in get_limits"
},
"stores": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"binding"
],
"properties": {
"name": {
"type": "string",
"description": "the name the program uses for it"
},
"read": {
"type": "boolean",
"description": "allow reads; true when left out"
},
"write": {
"type": "boolean",
"description": "allow writes; false when left out"
},
"prefix": {
"type": "string",
"description": "the key prefix the program is confined to"
},
"binding": {
"enum": [
"agent-data",
"agent-blobs"
],
"type": "string",
"description": "the worker's own binding it stands for"
},
"transparent": {
"type": "boolean",
"description": "hide the prefix, so the program sees keys relative to it"
}
}
},
"description": "key-value stores the program may use through env.store(name)"
},
"egress_hosts": {
"type": "array",
"items": {
"type": "string"
},
"description": "hosts the program may fetch, from list_capabilities"
}
},
"description": "what the program may use; everything left out is refused"
},
"code": {
"type": "string",
"examples": [
"return [3, 4, 5].map((n) => n * n);"
],
"description": "the body of an async function: return the result, and use await at the top level"
},
"lang": {
"enum": [
"js",
"ts",
"typescript"
],
"type": "string",
"description": "ts or typescript removes type annotations before the run; js when left out"
},
"input": {
"type": [
"object",
"array",
"string",
"number",
"boolean",
"null"
],
"examples": [
{
"a": 6,
"b": 7
}
],
"description": "any JSON value, available to the program as the global input"
},
"now_ms": {
"type": "integer",
"description": "the fixed time the program sees, in epoch milliseconds; the time of the request when left out"
},
"client_token": {
"type": "string",
"examples": [
"YOUR_CLIENT_TOKEN"
],
"description": "the worker's client token, issued by its operator; the program never sees it"
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 4, 2026.