JetBrains MPS is a development environment for creating domain-specific languages, which are programming languages designed for a particular field or task. It provides editors with features such as completion, semantic checks, and type checking, and can generate code in languages including Java and XML.
Borrowing it
Nothing to install: this file belongs to JetBrains/MPS. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/JetBrains/MPS/master/.agents/skills/mps-mcp-workflow/SKILL.mdgit clone --depth 1 https://github.com/JetBrains/MPSWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jetbrains/mps/mps-mcp-workflow)<a href="https://agentmods.dev/skills/jetbrains/mps/mps-mcp-workflow"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/mps-mcp-workflow.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.04147 |
| Opus 5 | $0.00040 | $0.02073 |
| Sonnet 5 | $0.00016 | $0.00829 |
| Haiku 4.5 | $0.00008 | $0.00415 |
Grade A, and why
mps-mcp-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Projectional Agent Toolkit – JetBrains MPS for Agents
Entry point for working with JetBrains MPS (Meta Programming System) models, languages, generators, and the MPS MCP tools.
Read this together with AGENTS.md whenever the task involves MPS artifacts or MPS MCP tooling.
Critical Directives
⚠️ STOP — If you are reading raw
.mpsor.mplXML files, you are way off track. MPS model files are opaque serialized XML: you cannot safely understand or edit them as plain text, and doing so will corrupt the model. Usemps_mcp_*tools instead. If they are not available, ask the user to start MPS and enable the MPS MCP server before continuing.
- Always prefer MPS MCP tools over hand-editing
.mps/.mplXML. Hand-edits silently corrupt model files. - Preserve node IDs. Prefer
mps_mcp_update_root_node_from_jsonor surgical edits (mps_mcp_update_node, …) over delete-and-reinsert. Deleting destroys persistent IDs and breaks incoming references. - Copy-then-modify beats reconstruct-from-JSON. To create a node that closely resembles an existing one, duplicate it with
mps_mcp_alter_nodesCOPY_NODEand adjust the copy withmps_mcp_update_node, instead of printing the original and re-authoring it as a JSON blueprint. The copy is guaranteed structurally valid and needs no blueprint authoring at all. - Reload after compiled-aspect changes. After modifying typesystem, constraints, behavior, editor, or any other compiled aspect, call
mps_mcp_reload_all(or rebuild the language module viamps_mcp_alter_nodes MAKE) before validating withmps_mcp_check_root_node_problemson a consumer model. Without a reload, cached compiled rules continue to fire — checking will report stale errors or miss new ones. - The Structure-to-Aspect/Scaffold Prerequisite Chain (Ordering & Recovery). When editing a language's structure aspect (e.g., creating concepts/enums or modifying properties, children, or references via
mps_mcp_alter_structure), you MUST adhere to the following strict sequence of cross-tool steps before invoking dependent tools (such asmps_mcp_get_concept_detailsormps_mcp_scaffold_editor):- Structure Edit: Modify the structure aspect (using
mps_mcp_alter_structure). - Clean Make/Rebuild: Run
mps_mcp_alter_nodeswithMAKEandrebuild=truetargeting the language module (a model-scoped make can leave a never-before-deployed language's runtime hollow). Note: a plainmps_mcp_reload_allalone is not sufficient because the generated structure aspect descriptor classes on disk must be regenerated before the ClassLoader reloads them. - Verify Descriptors: Retrieve the compiled concept details using
mps_mcp_get_concept_detailsand verify that thedescriptorStatusis not"hollow"and no warnings exist. - Scaffold / Aspect Editing: Once the descriptors are verified as compiled and active, proceed to scaffold the editor (
mps_mcp_scaffold_editor) or define other aspects (behavior, constraints, typesystem, generator, etc.). Failing to follow this ordering results in stale or hollow descriptors where dependent tools silently see empty properties, children, or references. Shortcut:mps_mcp_alter_structure CREATE_CONCEPTSwithmake: truealready does steps 2–3 — it clean-rebuilds, verifies every created descriptor against the runtime, and auto-recovers a never-deployed language (one module-scoped rebuild,recoveryStage: "module-rebuild"). Trust itsmakeStatus; run the manual chain only for structure edits made through tools that do not make (UPDATE_*/RENAME_*operations,mps_mcp_update_node).
- Structure Edit: Modify the structure aspect (using
- Surgical edits over full-root rewrites. When a single child changes, prefer
mps_mcp_update_nodeover re-runningmps_mcp_update_root_node_from_jsonon the whole root. - Validate frequently. A successful insertion (
"ok": true) does not mean the AST is semantically valid — always follow withmps_mcp_check_root_node_problems.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/analysis-tools.md 13 KB
- references/aspect-model-stereotypes.md 9.2 KB
- references/bulk-creation.md 2.0 KB
- references/editor-workflow.md 1.2 KB
- references/finding-things.md 5.8 KB
- references/mcp-tools-index.md 8.0 KB
- references/node-editing-rules.md 6.4 KB
- references/reference-formats.md 8.7 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 124 lines · 80 tokens per session scan A 991c5f14d5ae
mps-mcp-workflow is a skill published in the GitHub repository JetBrains/MPS (1,656 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 4,147 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
langium
A comprehensive skill to understanding how Langium-based projects work — from grammar definition through code generation, runtime parsing, linking, validation, and LSP integration.
lai-gen-evals
Expand and refine the evaluation suite for a Langium DSL project. Generates comprehensive eval files that cover syntactic correctness, semantic validity, user intent matching, edge cases, and language understanding.
lai-gen-mcp
Generate a Model Context Protocol (MCP) server that exposes a Langium DSL's parser and validator as an MCP tool, allowing any MCP-compatible client to validate DSL code and receive diagnostics.
lai
Guide for using the langium-ai (LAI) CLI to generate language descriptors, synthesize system prompts, run evaluations, and iteratively refine AI-powered tooling in Langium projects. Use when working with lai commands, descriptors, or evaluation files.
lai-gen-descriptor
Generate or refine a language descriptor for a Langium DSL project. Bootstraps a new descriptor via lai gen descriptor if none exists, then guides refinement of paths, services, examples, documentation, and structure.
lai-gen-language-skill
Skill for generating a skill for understanding a specific Langium-based DSL. Used in cooperation with the lai & langium skills for understanding.