pflow.xyz MCP connector

Build, check, simulate and analyse Petri nets in the pflow.xyz format from Claude or any MCP client, then open them in the pflow.xyz editor.

Connector URL:

https://pflow.xyz/mcp

Set it up

Claude (web, desktop and mobile): open Settings, then Connectors, choose Add custom connector, and paste the URL above. No sign-in is needed to start.

Claude Code:

claude mcp add --transport http pflow https://pflow.xyz/mcp

Other clients: it is a stateless Streamable HTTP server. POST JSON-RPC to the URL; there is no event stream.

Signing in

Every tool works without an account except pflow_save. The first time you save, your client opens a pflow.xyz page where you sign in with GitHub or Google. The saved net is then recorded as yours. Saved nets are public, so don't save anything private. pflow.xyz keeps only your account id (and your GitHub username), never a password; see the privacy policy.

Try asking

Tools

pflow_editBuild a net or change one with a list of edits, applied all together or not at all.
pflow_infoSummarise a net: places, transitions, arcs, marking and what is enabled.
pflow_checkParse a net and report its size and anything it refuses.
pflow_validateStructural checks: connectivity, deadlocks, boundedness, conservation.
pflow_verifyProve or refute properties, with an invariant proof or a replayable counterexample.
pflow_firePlay the token game: fire a sequence of transitions.
pflow_reachabilityExplore reachable markings: state count, deadlocks, dead transitions, liveness.
pflow_invariantsP- and T-invariants (conservation laws and cycles).
pflow_incidenceThe incidence matrix.
pflow_simulateMass-action ODE simulation with a sampled trajectory.
pflow_ssaSeeded stochastic (Gillespie) simulation.
pflow_rate_scanSweep one rate and see how the outcome moves.
pflow_exportThe net as normalised JSON-LD or as an SVG drawing.
pflow_cidThe content id a net seals to.
pflow_linksLinks to see a net: the editor, its SVG and its JSON-LD.
pflow_getFetch a stored net by its content id.
pflow_saveStore a net on pflow.xyz as yours (needs sign-in; stored nets are public).

Limits

Troubleshooting

Support

Report problems or ask questions at github.com/pflow-xyz/pflow-xyz/issues. Use of the connector is covered by the terms and privacy policy.