rastro-mcp
v0.1.1Rastro MCP server: lets a coding agent look up the recorded business rules (read only).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rastro_rules_for_file Business rules for a file
List the business rules recorded for a source file: what each says, why it exists, whether a person confirmed it, and where the same logic is duplicated. Call it before editing a file you have not read yet. `symbol` (optional) puts the rules of that function or class first.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
symbol |
rastro_search_rules Search business rules
Search the recorded business rules by topic, e.g. 'rescheduling limits' or 'who can cancel'. Returns the closest active rules with ids; open one with rastro_get_rule.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
rastro_get_rule Business rule detail
Show one rule in full: its statement, reason, validation state, code anchors, the commits it was learned from and the human reviews. `rule_id` is the id from a search (the first 4 or more characters are enough).
| Parameter | Type | Description |
|---|---|---|
rule_id * | string |