Skip to main content

Crate trumly_mcp

Crate trumly_mcp 

Source
Expand description

trumly-mcp [--write] DIR: a Model Context Protocol server over a model folder, so an agent can read the design graph, query it and check it. With --write it can also change the model (the working copy: the person reviews with git diff and publishes with a commit). Speaks JSON-RPC 2.0, one message per line, on stdin/stdout.

The folder is re-read on every call: the files are the source of truth and may change underneath us.

Structsยง

Server ๐Ÿ”’
Where one server run is pointed, and what it has done.

Functionsยง

contains_ci ๐Ÿ”’
file_of ๐Ÿ”’
The file text of node id, with its path.
git ๐Ÿ”’
instructions ๐Ÿ”’
is_under ๐Ÿ”’
main ๐Ÿ”’
now ๐Ÿ”’
read_tools ๐Ÿ”’
The tools that only read. Always on.
snippet ๐Ÿ”’
standing ๐Ÿ”’
How the model stands after a change: whole-model totals, and what the checks say about one node.
tools ๐Ÿ”’
write_tools ๐Ÿ”’
The tools that change the model. Offered only when the server was started with --write.