Skip to content

mcp

The MCP server of simrun, a local stdio process of an agent.

The tools go through the Client; they return the JSON of the API and store, the absolute local prefix of the paths in it, which are relative to the store, so an agent opens a result with store / path; it is null without a store mounted here. A refusal is returned as {"error": detail, "status": code} instead of raised, so an agent can read it.

build_server

build_server(client)

The MCP server whose tools call the service through client.

Every answer carries store, the path of the store as mounted locally; it is null for a client without a mounted store: a client of the cluster without SIMRUN_STORE, which uploads its snapshots, and a client of the local service without snapshots.

main

main()

Run the server on stdio with the client of the environment.