AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

SimTrace

mcp-s0582346-simtrace · by s0582346

Traceable, tool-building discrete-event simulation toolkit for SimPy models, exposed over MCP.

No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add mcp-s0582346-simtrace

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-s0582346-simtrace)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of SimTrace? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

SimTrace

A traceable, tool-building discrete-event simulation toolkit for SimPy models, exposed over MCP.

[](LICENSE)


SimTrace exposes FactorySimPy discrete-event simulation primitives as MCP tools, so an LLM agent can build a factory model step by step (create nodes, create edges, wire them together, and run the simulation), with every tool call traced via OpenTelemetry.

The server speaks the open MCP protocol over stdio and is client-agnostic: any MCP client (a desktop assistant, an agent framework, or a custom client) can drive it.

Features

  • 🧱 Composable primitives: sources, machines, splitters, combiners, buffers,

conveyors, and fleets, each a single well-typed tool call.

  • 🤖 Agent-native: an LLM builds the model one tool call at a time, running

and adjusting it as it goes, rather than emitting a fixed script.

  • 🔍 Traceable by default: every tool call becomes an OpenTelemetry span you

can inspect in Jaeger, so you can see exactly how a model was built and run.

  • Post-run verification: conservation and per-item flow checks catch models

that silently lose or misroute items.

Tools

| Group | Tools | Module | |---|---|---| | Nodes (active) | create_source, create_sink, create_machine, create_splitter, create_combiner | simtrace.tools.builders.nodes | | Edges (passive) | create_buffer, create_conveyor, create_fleet | simtrace.tools.builders.edges | | Lifecycle | connect, get_model, reset_model, run_simulation | simtrace.tools.simulation | | Verification | verify_conservation, verify_item_flow | simtrace.tools.validation |

Design notes live in [architecture/](architecture/) (node_tools.md, edge_tools.md, simulation_tools.md, observability.md). Worked models live in [examples/](examples/).

Quick start

Requires Python 3.11+ and uv.

git clone https://github.com/s0582346/SimTrace.git
cd SimTrace
uv sync

This installs all dependencies, including the vendored FactorySimPy checkout under vendor/FactorySimPy.

Then launch the MCP server:

uv run python -m simtrace.server

The server speaks MCP over stdio, so it is normally launched by an MCP client (see below) rather than run by hand.

> Note: the simtrace console script in pyproject.toml is not currently > wired up; use python -m simtrace.server.

Connecting an MCP client

The server is a standard stdio MCP server. Configure your MCP client to launch it with the project's venv Python:

/path/to/simtrace/.venv/bin/python -m simtrace.server

Replace /path/to/simtrace with your clone's absolute path (on Windows, e.g. C:\\Users\\you\\simtrace with \\.venv\\Scripts\\python.exe).

Many clients share the same JSON config format, adding the server under an mcpServers key:

{
  "mcpServers": {
    "simtrace": {
      "command": "/path/to/simtrace/.venv/bin/python",
      "args": ["-m", "simtrace.server"]
    }
  }
}

Once configured, the SimTrace tools appear in the client. See your client's documentation for where its config lives and how to reload it.

Observability (OpenTelemetry + Jaeger)

Every tool call becomes an OpenTelemetry span, exported over OTLP/HTTP to a local Jaeger instance.

  1. Start Jaeger:

``bash docker compose up -d ``

  1. Generate some spans without needing an MCP client. The smoke script invokes

the real tools end to end (build a source -> buffer -> sink line, run it, and trigger one error span):

``bash uv run python scripts/trace_smoke.py ``

It runs fine even if Jaeger is down (spans are just dropped), so it also doubles as a quick check that the tool path works.

  1. View traces at → Service simtraceFind Traces.

When the server is driven by an MCP client, spans are exported the same way; just keep Jaeger running. See [architecture/observability.md](architecture/observability.md) for the design and configuration details (e.g. OTEL_EXPORTER_OTLP_ENDPOINT).

License

SimTrace is released under the [MIT License](LICENSE).

Acknowledgments

discrete-event simulation primitives SimTrace builds on.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.