platformos-mcp-supervisor
v0.2.2platformOS Model Context Protocol (MCP) server exposing validate_code for LLM agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
validate_code
Validate platformOS Liquid, GraphQL and YAML code BEFORE writing it to disk. Pass EITHER one file OR several — never both. One file: { "file_path": "app/views/partials/card.liquid", "content": "<div>{{ title }}</div>" } Several files (use this whenever one change touches more than one file): { "files": [ { "file_path": "app/views/pages/home.liquid", "content": "{% render 'promo' %}" }, { "file_path": "app/views/partials/promo.liquid", "content": "<div>Promo</div>" } ] } Sending several together is faster AND more accurate: they…
| Parameter | Type | Description |
|---|---|---|
content | string | The exact file contents you are about to write. Pair with `file_path`. |
file_path | string | Path of the file to validate, absolute or relative to the project root (e.g. "app/views/partials/card.liquid"). Pair with `content`. |
files | array | Two or more files to validate together, each with its own `file_path` and `content`. Files in one call can reference each other. |