Official agent skill

Mps MCP Workflow

by JetBrains in JetBrains/MPS

Complete JetBrains MPS workflow guide for DSL projects — models, languages, generators, node JSON blueprints, type queries, validation, MPS MCP tool usage, and the index of companion skills.

OfficialApache-2.0Auto-check passedAgent Workflows

Install Mps MCP Workflow

skills CLI
$ npx skills add JetBrains/MPS --skill mps-mcp-workflow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JetBrains/MPS mps-mcp-workflow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JetBrains/MPS.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/mps-mcp-workflow .claude/skills/mps-mcp-workflow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mps-mcp-workflow
GitHub stars
1.7k
Token cost
~6.6k tokens
SKILL.md length
3,198 words
Files
32 (incl. scripts, references)
Skills in repo
41
Repo updated
First seen
Licence
Apache-2.0

At a glance

Complete JetBrains MPS workflow guide for DSL projects — models, languages, generators, node JSON blueprints, type queries, validation, MPS MCP tool usage, and the index of companion skills.

  • Works in 5 steps: Check generated DSL skills under… → Anchor on the user's focus — call… → Identify the task family: defining a… → …
  • Working in an MPS project
  • SKILL.md covers Loading companion skills, Critical Directives, Companion Skills and Key Concepts, plus 4 more sections
  • Calls python3

What it does

Mps MCP Workflow is an agent skill from JetBrains/MPS, published by the product's own GitHub organization. Complete JetBrains MPS workflow guide for DSL projects — models, languages, generators, node JSON blueprints, type queries, validation, MPS MCP tool usage, and the index of companion skills. Use whenever working in an MPS project, when AGENTS.md says to load the MPS workflow skill, or when you need to pick the right MPS aspect-specific skill.

Its SKILL.md is about 6.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 33 other files, including scripts and reference files (for example `references/analysis-tools.md`, `references/analysis-tools/check-root-node-problems-output.md` and `references/analysis-tools/intentions-and-quick-fixes.md`).

It sits in Agent Workflows, covering MCP servers and Agent instruction files. It works with JetBrains IDEs and Model Context Protocol. The repository describes itself as: JetBrains Meta programming System. The licence is Apache-2.0.

When your agent uses it

  • Working in an MPS project
  • AGENTS.md says to load the MPS workflow skill
  • You need to pick the right MPS aspect-specific skill

Example prompts

  • “/mps-mcp-workflow”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Check generated DSL skills under .agents/skills/*-dsl/ before starting unfamiliar DSL work. Use the relevant project-local DSL skill when…
  2. Anchor on the user's focus — call mps_mcp_get_current_editor_root_node so you know which root the user is looking at.
  3. Identify the task family: defining a language → load mps-language-aspects-overview. Editing user code → load mps-node-editing and (often)…
  4. Follow the matching aspect skill for the specific aspect you're touching.
  5. Validate frequently with mps_mcp_check_root_node_problems. Rebuild (MAKE) after compiled-aspect changes.

What it can do on your machine

Read from SKILL.md and the folder at commit 3e9cfcd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mps MCP Workflow loads about 6.6k tokens when it runs, and up to ~38k if it reads all its reference files. Until then it costs about 90 tokens; SKILL.md has 3,198 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~6.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~38k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from JetBrains/MPS at commit 3e9cfcd, republished under its Apache-2.0 licence (© JetBrains). 3,198 words, ~6,644 tokens.

Download SKILL.mdSave it as .claude/skills/mps-mcp-workflow/SKILL.md (or your agent's skills folder). This skill also uses 31 other files; get the full folder from GitHub.
name
mps-mcp-workflow
description
Complete JetBrains MPS workflow guide for DSL projects — models, languages, generators, node JSON blueprints, type queries, validation, MPS MCP tool usage, and the index of companion skills. Use whenever working in an MPS project, when AGENTS.md says to load the MPS workflow skill, or when you need to pick the right MPS aspect-specific skill.
type
reference

Projectional Agent Toolkit – JetBrains MPS for Agents

Loading companion skills

Companion names in this skill are lazy dependencies: load only those relevant to the current task. If this skill came from an MCP server, use the host's skill loader to resolve the companion's unique discovered entry URI on the same host-assigned originating server. If the host has no server-backed skill loader, stop and report that limitation; do not silently fall back to a filesystem copy. If this skill came from a filesystem catalog, load the named sibling from that same catalog at <skills-root>/<skill-name>/SKILL.md, even if remote skill loaders are also available. Do not invent a tool name or server endpoint.

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 .mps or .mpl XML 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. Use mps_mcp_* tools instead. If they are not available, ask the user to start MPS and enable the MPS MCP server before continuing.

  • Pass projectPath on every mps_mcp_* call, starting with the first one. The platform routes every call by resolving projectPath to an open project, so a call without it is rejected before dispatch ("Unable to determine the target project…") and costs a turn. Pass the open MPS project's base directory — a path at or inside it, never an ancestor such as the repository root. If you are not yet aware of that path, pass the session's current working directory (the one you already have — do not spend a turn discovering it); if that is rejected, take the path from the rejection message, which lists the open projects (Currently open projects: {...}). mps_mcp_list_open_projects reports the same value as mpsProjectBaseDirectory when it can run. Reuse that one path for every later call in the session.
  • Empty Currently open projects: {"projects":[]} is the welcome screen, not a bad path. Retrying mps_mcp_* cannot succeed until some project is open. Load the mps-project-management companion skill from the same origin and open the project via CLI.
  • Always prefer MPS MCP tools over hand-editing .mps / .mpl XML. Hand-edits silently corrupt model files.
  • Before editing a language aspect, load its aspect skill. Changing typesystem rules → mps-aspect-typesystem (follow its Common-Path step 9: live-check the rules on a scratch sandbox); constraints → mps-aspect-constraints; behavior → mps-aspect-behavior; editor → mps-aspect-editor; generator → mps-aspect-generator; structure → mps-aspect-structure-concepts; any other aspect → mps-language-aspects-overview. The directives below do not replace the aspect skill.
  • Preserve node IDs. Prefer mps_mcp_update_root_node_from_json or 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_nodes COPY_NODE and adjust the copy with mps_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.
  • Rebuild after compiled-aspect changes. After modifying typesystem, constraints, behavior, editor, or any other compiled aspect, rebuild the language module with mps_mcp_alter_nodes MAKE before validating with mps_mcp_check_root_node_problems on a consumer model. A MAKE answering runtimeReady: true is the reload; mps_mcp_reload_all compiles nothing (it reloads the classes already on disk) and adds nothing after it. Without a rebuild, 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 as mps_mcp_get_concept_details or mps_mcp_scaffold_editor):
    1. Structure Edit: Modify the structure aspect (using mps_mcp_alter_structure).
    2. Clean Make/Rebuild: Run mps_mcp_alter_nodes with MAKE and rebuild=true targeting the language module (a model-scoped make can leave a never-before-deployed language's runtime hollow). Note: a plain mps_mcp_reload_all alone is not sufficient because the generated structure aspect descriptor classes on disk must be regenerated before the ClassLoader reloads them.
    3. Verify Descriptors: Retrieve the compiled concept details using mps_mcp_get_concept_details and verify that the descriptorStatus is not "hollow" and no warnings exist.
    4. 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_CONCEPTS with make: true already 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 its makeStatus; run the manual chain only for structure edits made through tools that do not make (UPDATE_*/RENAME_* operations, mps_mcp_update_node).
  • Surgical edits over full-root rewrites. When a single child changes, prefer mps_mcp_update_node over re-running mps_mcp_update_root_node_from_json on the whole root.
  • Never simulate the typesystem. To decide whether a type fits, what a slot requires, what an operator returns, or why a node has a type, call mps_mcp_query_types (IS_SUBTYPE, SUPERTYPES, COMMON_SUPERTYPE, COERCE, OPERATION_TYPE, EXPLAIN_TYPE) or mps_mcp_query_nodes (GET_TYPE, GET_EXPECTED_TYPE). Print a SubtypingRule / InferenceRule root only to change it, or to pick the sibling you COPY_NODE — not to predict what the engine will answer: even while authoring, ask the engine for the rest, including what your change does to operators and joins (OPERATION_TYPE, COMMON_SUPERTYPE). If an engine answer surprises you (null, false), ask EXPLAIN_TYPE; do not open the rule. See references/analysis-tools/type-queries.md for the operation table and caveats.
  • Check the IDE log when the envelope and the effect disagree. When a tool reports success but the effect is missing, or a skill says an error "surfaces only in idea.log", call mps_mcp_read_ide_log with sinceMinutes covering the call window and minLevel="WARN" (no path needed, works for standalone MPS); references/ide-log.md has the recipe and the fallback for older servers.
  • Validate frequently. A successful insertion ("ok": true) does not mean the AST is semantically valid — always follow with mps_mcp_check_root_node_problems. Read warnings and details.uncheckedSubtrees, not just the data verdict: commented-out code and other IDontApplyTypesystemRules / ISkipConstraintsChecking subtrees are not checked, so a clean verdict over them proves nothing — ask IS_SUBTYPE. A problem may carry rules: [{rule, ruleReference, statement}]: rules[0].rule names the reporting rule — cite it instead of guessing; print ruleReference only to change that rule.

Tool name note: MPS MCP tools are named with a mps_mcp_ prefix (e.g. mps_mcp_query_nodes, mps_mcp_alter_nodes, mps_mcp_get_concept_details). Your MCP client wraps these with a server-specific prefix (e.g. mcp__mps-mcp-server__<env>___), which varies by environment. Match tools by the stable mps_mcp_* suffix.

Load each tool's schema before its first call (ToolSearch select: when the host defers schemas). The keys are not guessable: nodeReference, conceptRefs/languageRefs, searchTexts, parameters.code / insert.modelRef.

Which project the tools act on (subdirectory & multi-project checkouts). The mps_mcp_* tools operate on the MPS project currently open in the running MPS instance. That project often lives in a subdirectory of your repository (e.g. <repo>/tools/BigProject, as in mbeddr or MPS-extensions), and one checkout may even hold several MPS projects. Supply that project's mpsProjectBaseDirectory — the folder MPS actually opened, i.e. a path at or inside it, not the repository root — as projectPath on every call, per the Critical Directive above. The first-call CWD probe in that directive still applies when the path is unknown, even if CWD is the repository root. This is the opposite of mps_mcp_initialize_project_for_agents, whose targetDirectory is the repository / workspace root (where .agents/, .claude/, AGENTS.md, and CLAUDE.md belong), which may be an ancestor of the MPS project directory.

Multi-project repository rules. All open MPS projects share the same module repository. Write targets — models, modules, root nodes, and nodes being mutated — must belong to the project selected by projectPath; tools refuse writes to another open project's elements. Read/reference/dependency targets may come from another open MPS project when they are explicitly named or imported: model/module dependencies, model used languages/devkits, node concepts, and reference targets can point across projects, and the foreign elements are treated like read-only library/stub elements. Returned JSON for an element from another open project includes containingProject: { name, mpsProjectBaseDirectory } and editableFromCurrentProject: false; nested references use prefixes such as conceptContainingProject, targetContainingProject, or typeContainingProject. These markers appear only for elements owned by another open project — their absence does not imply an element is editable (a read-only library/stub in the current project carries readOnly: true but no containingProject), so decide editability from readOnly together with these markers.

When in doubt, ask which project. When several MPS projects are open under one repository / VCS root, the mps_mcp_* tools accept any valid project path and act relative to that project. Same-name resolution prefers the selected project's own elements before falling back to the shared repository, but an explicit reference may still resolve to another open project. If the intended project is not obvious from the user's request or the current editor focus (mps_mcp_get_current_editor_root_node), do not guess — show the mps_mcp_list_open_projects entries and ask the user which project the query or change should run against.

Companion Skills

The MPS catalog contains companion skills for focused task families. Load whichever ones apply to your current task, following the origin rules above.

Installing / refreshing the catalog. These mps-* skills and the project's AGENTS.md/CLAUDE.md are installed and refreshed by the mps_mcp_initialize_project_for_agents MCP tool. It installs into a targetDirectory — normally your repository / workspace root (the folder containing .git), which may be an ancestor of the MPS project directory when the project sits in a subdirectory; leave targetDirectory empty to let the tool derive that root from the open project's enclosing VCS folder, while still passing the project's base directory as projectPath like every other mps_mcp_* call (targetDirectory and projectPath are different arguments — an ancestor is valid for the first and rejected for the second). If no mps-* skills exist yet, the project has not been initialized for agents — tell the user and offer to run it.

A successful install writes MPS_MCP_SKILL_VERSION.txt into both .agents/skills/ and .claude/skills/; compare its build with top-level mpsBuild from mps_mcp_list_open_projects (never call the initializer to learn the version). The installed AGENTS.md states the staleness rules.

If the catalog looks stale or incomplete, offer to refresh it (with approval): delete every mps-* skill folder from .agents/skills/ and .claude/skills/ — keeping repository-local skills (such as bugfix-workflow and *-dsl skills) — re-run the tool, then carefully merge its returned agentsFileText into AGENTS.md/CLAUDE.md, preserving project-specific sections. See that tool's description for the exact refresh contract.

SkillWhat it covers
mps-language-aspects-overviewEntry point for defining an MPS language — lists the aspects, what each owns, and the typical authoring order. Start here.
mps-language-modularityDesign tier for multi-language work — choose between referencing, extension, reuse, and embedding before authoring aspects, then route into the aspect skills. Use when one language must see, extend, embed, or adapt another.
mps-aspect-structure-conceptsDefine concepts, interface concepts, enumerations, and constrained data types. Includes the full mps_mcp_alter_structure / mps_mcp_query_structure reference.
mps-baselanguageAuthor and edit jetbrains.mps.baseLanguage (Java) nodes — parser vs. JSON AST, concept mapping, reference harvesting, validation. Load when writing any Java/BaseLanguage code in MPS.
mps-model-manipulationWrite and edit MPS BaseLanguage code that uses smodel — querying, navigating, creating and mutating nodes. Use when editing checking rules, behavior methods, typesystem rules, or any model code that manipulates nodes.
mps-collections-and-closuresWrite and edit MPS BaseLanguage code that uses collections and closures — sequence/list/set/map, .where/.select/.translate, foreach, closure literals, yield. Load alongside mps-model-manipulation for most model-code bodies.
mps-aspect-accessoriesModule/model dependencies, used languages, runtime solutions, accessory models.
mps-aspect-actionsNode factories (the "actions" aspect) — concept-specific setup functions for newly created nodes.
mps-aspect-behaviorConceptBehavior — per-concept methods, constructors, virtual dispatch, calling behavior from other aspects.
mps-aspect-constraintsProperty validators/setters, referent scopes, canBe* rules (canBeChild/Parent/Ancestor/Root).
mps-aspect-dataflowDataflow builders — control and data flow declarations for concept nodes, reachability analysis, variable-use checking.
mps-aspect-editor-menus-and-keymapsNon-layout parts of the MPS editor aspect — action maps, cell keymaps, transformation/substitute menus, side transforms, paste handlers, completion styling.
mps-aspect-generatorGenerator templates — root mapping rules, reduction rules, macros, mapping labels.
mps-aspect-generation-planGeneration plans — explicit ordering of generation steps, checkpoints, forks, plan contributions.
mps-aspect-intentionsIntentions — Alt+Enter context actions, parameterized/surround/quick-fix variants.
mps-aspect-migrationsMigration scripts — upgrading user models when language definitions change.
mps-aspect-textgenTextGen — concept-to-plain-text serialization rules.
mps-aspect-typesystemTypesystem — authoring inference, subtyping, replacement, comparison, and checking rules; use references/analysis-tools/type-queries.md to ask the compiled typesystem questions.
mps-aspect-editorOverall workflow for creating and changing MPS editor definitions — scaffolding, componentizing, cell models, layouts, styles, validation.
mps-language-analysisAnalyze MPS language definitions — discover concepts, metadata, aspects, sample nodes, and type questions via mps_mcp_query_types.
mps-language-inheritanceInvestigate inheritance between MPS languages and concepts — extends, super, sub, assignable.
mps-node-editingModify MPS nodes using JSON blueprints — the canonical workflow for any node mutation.
mps-dsl-memoryExplore a live MPS DSL project and create or refresh generated project-local DSL skills under .agents/skills/<dsl-name>-dsl/.
mps-lang-core-xmljetbrains.mps.core.xml language for authoring XML documents and XML-generating generator templates.
mps-quotationsMPS quotations and anti-quotations — node literals creating SNode trees inline in behavior/generator/model code.
mps-build-languageMPS Build Language — declarative DSL generating Ant build.xml files for packaging plugins, Java modules, standalone IDEs.
mps-ide-pluginMPS IDE plugins — actions, action groups, tool windows, keymaps, preference components.
mps-project-managementOpen an MPS project when MCP is stuck on the welcome screen — CLI activation for MPS from sources and standalone, macOS/Linux/Windows.
bugfix-workflowMPS bugfixing workflow.
Show full SKILL.md (1,026 more words)Show less

Key Concepts

MPS is a projectional editor and a language workbench. Unlike text-based IDEs, MPS works with an Abstract Syntax Tree (AST) directly. JSON is used to represent MPS nodes and their properties in a structured format for the MPS tools.

  • Modules: The top-level containers in an MPS project.
    • Solution: contains user code (models).
    • Language: defines a new language - structure (concepts and interface concepts), editor, etc.
    • Generator: defines how to transform one language to another (usually to Java/BaseLanguage). May belong to a language or be independent.
    • DevKit: a bundle of languages and other devkits. DevKits can also export solutions and languages. Importing a DevKit into a module or model automatically makes all its exported languages and solutions available. This is the preferred way to manage common sets of languages and dependencies.
  • Models: contained within modules. They hold a collection of Root Nodes.
  • Nodes: the basic building blocks of the AST. Nodes are organized hierarchically.
    • Root Nodes: the top-level nodes in a model.
  • Concepts: define the "type" of a node (like a class in OOP). They define properties, children, and references. Concepts are defined in the structure aspect of a language. Like in OOP, a concept can extend another concept and implement multiple interface concepts, which leads to subconcept-superconcept relationships and affects assignability of nodes into child or reference roles.
  • Aspects: different parts of a language definition (Structure, Editor, Typesystem, Constraints, etc.). Technically, each aspect is a dedicated model inside a language's module.
  • Some MPS modules and models can be read-only.
  • MPS modules and models define dependencies between each other. DevKits can re-export dependencies on solutions and other devkits. If a module depends on a DevKit, it implicitly depends on all solutions exported by that DevKit.
  • MPS models specify 'used languages'. If model A uses language L, nodes in model A can be instances of concepts from language L. Using a DevKit in a model automatically includes all languages exported by that DevKit (and any devkits it extends).

Common Workflow — Initialize a Session

  1. Check generated DSL skills under .agents/skills/*-dsl/ before starting unfamiliar DSL work. Use the relevant project-local DSL skill when it exists; if it is missing or stale, load mps-dsl-memory to create or refresh it.
  2. Anchor on the user's focus — call mps_mcp_get_current_editor_root_node so you know which root the user is looking at.
  3. Identify the task family: defining a language → load mps-language-aspects-overview. Editing user code → load mps-node-editing and (often) mps-baselanguage. Investigating an unfamiliar language → load mps-language-analysis. Asking a type question (fit, expected type, or why a node has its type) → open references/analysis-tools/type-queries.md; no aspect skill is needed. Authoring or changing typesystem rules (inference, subtyping, replacement, checking) → load mps-aspect-typesystem; its Common-Path step 9 live-checks the rules on a scratch sandbox model.
  4. Follow the matching aspect skill for the specific aspect you're touching.
  5. Validate frequently with mps_mcp_check_root_node_problems. Rebuild (MAKE) after compiled-aspect changes.

Essential Skills (Detail)

Open references/finding-things.md for the protocol on finding models, modules, and languages (including shortened-name resolution like j.m.l.core → jetbrains.mps.lang.core).

Open references/node-editing-rules.md for the full rulebook on adding/updating nodes (concept selection, role types, cardinality, assignability, persistent IDs, surgical edits, rebuild after compiled-aspect changes).

Open references/reference-formats.md for the reference-format protocol: node refs (r:/i:), concept refs (c:), the critical "never use a concept ref where a node ref is expected" rule, and how to pass a list to a top-level parameter (a real JSON array and the array written as a string are equivalent).

Open references/bulk-creation.md for the print-shallow-then-add-children staged construction workflow used when subtrees exceed the JSON size limit.

Open references/analysis-tools.md for the inventory of analysis operations: mps_mcp_query_types, mps_mcp_query_nodes GET_TYPE / GET_EXPECTED_TYPE, mps_mcp_print_node, and mps_mcp_check_root_node_problems with its rules, uncheckedSubtrees, quickFixes / autoApplyQuickFixes, plus mps_mcp_list_node_intentions / mps_mcp_apply_intention and mps_mcp_alter_nodes FIX_REFERENCES.

Open references/editor-workflow.md for the MPS Concept Editor workflow (scaffold → componentize → refine → validate) and the editor procedural guidelines.

Open references/ide-log.md to read the IDE log (idea.log): mps_mcp_read_ide_log first, logDirectory / logFile from mps_mcp_list_open_projects and fallbacks for older servers, rotation into idea.N.log, and the recipe for verifying a write tool call against the log.

Open references/mcp-tools-index.md for the complete inventory of MPS MCP tools grouped by Project/Structure, Modules and Models, Root Nodes and Nodes, Console, and Language Definition.

Boundaries

  • Do not edit serialized .mps model files as plain text unless the user explicitly asks for it.
  • Do not edit .mpl module descriptors manually if an MCP wiring tool (mps_mcp_module_dependency, mps_mcp_update_module, …) covers the change.
  • Do not delete-and-reinsert a node to "change" it when surgical tools exist.

Scripts

scripts/mps_dump.py — projects an MPS MCP result file (mps_mcp_get_project_structure, mps_mcp_print_node, mps_mcp_get_concept_details) down to the lines you need, instead of reading the whole 10–40 KB file: roots, models, node, tree, shape, count. It is also the library the other skills' scripts import (load, roots, props, refs, children, find, shape); props marks enum properties that sit at their enumeration's default value (the printer flags them with isDefault; an older dump that omits them is filled from the concept details' enumerationDefault).

python3 scripts/mps_dump.py roots /var/folders/.../mps-node-123.json --concept Course
python3 scripts/mps_dump.py node /var/folders/.../mps-node-123.json "Score Reading" \
    --concept-details /var/folders/.../mps-node-456.json
python3 scripts/mps_dump.py models /var/folders/.../mps-node-789.json   # modules, models, root counts
python3 scripts/mps_dump.py tree /var/folders/.../mps-node-321.json --depth 3   # indented subtree

roots, count, node and tree need a dump made with includeRootNodes (or includeNodes, or a print_node result); on a structure-only dump they exit 3 and name models. For orientation (which modules and models exist, and how many roots each has), call mps_mcp_get_project_structure with includeModels=true only and read it with models: leave includeDependencies off, since it adds every module's and model's dependency and used-language lists.

Run --help for every subcommand and --list-tools for the MPS MCP tools and parameters it depends on. Bundled dumps to try it on, and to read when you need a shape reminder, are in scripts/examples/. Stdout is the table plus a one-line JSON summary; the full table is always written to a file under the system temp directory and named in that summary.

No python3 (typically Windows): ask the server for the reduction instead — mps_mcp_get_project_structure with nodeDetail: "names" returns exactly the name / concept / reference of each root, small enough to read inline with no file at all. An enum property holding its enumeration's default is printed with that literal and "isDefault": true (mps_mcp_get_concept_details names it in enumerationDefault); in a dump taken before that, the property is absent or printed as "" — either way it is the default, not missing data. A non-default enum value is the declared literal name, never the persistence encoding (<id>/<name>).

© JetBrains, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 31 other files (scripts, references) in .agents/skills/mps-mcp-workflow of JetBrains/MPS.

  • SKILL.md
  • references/analysis-tools.md
  • references/analysis-tools/check-root-node-problems-output.md
  • references/analysis-tools/intentions-and-quick-fixes.md
  • references/analysis-tools/overview.md
  • references/analysis-tools/print-node-output.md
  • references/analysis-tools/query-nodes-find-instances.md
  • references/analysis-tools/type-queries.md
  • references/analysis-tools/unknown-languages.md
  • references/analysis-tools/workflow-best-practices.md
  • references/aspect-model-stereotypes.md
  • references/bulk-creation.md
  • references/editor-workflow.md
  • references/finding-things.md
  • references/ide-log.md
  • references/mcp-tools-index.md
  • references/module-facet-settings.md
  • references/node-editing-rules.md
  • references/reference-formats.md
  • … and 13 more

Open the folder on GitHubat commit 3e9cfcd

Compare with similar skills

Mps MCP Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mps MCP Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mps MCP Workflow this skillJetBrains/MPS1.7k—~6.6kAutomated safety check: PassApache-2.0
Claude Docs Consultantcentminmod/my-claude-code-setup2.7k—~959Automated safety check: PassMIT
Agent Setup Health Audittw93/Waza7.2k—~5.2kAutomated safety check: NotesMIT
Semantix GuideGnosil/semantix821—~2.1kAutomated safety check: PassMIT
Working With Claude Code Docsobra/superpowers-developing-for-claude-code142—~1.5kAutomated safety check: PassNone
Agnixagent-sh/agnix446—~874Automated safety check: PassApache-2.0

Similar skills

  • Claude Docs Consultant

    centminmod/my-claude-code-setup

    Consult official Claude Code documentation from code.claude.com using selective fetching.

    2.7k GitHub stars~959 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Audits a project's agent configuration, instruction drift, hooks, MCP and AI maintainability, then reports prioritized findings with evidence and next actions.

    7.2k GitHub stars~5.2k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Semantix Guide

    Gnosil/semantix

    Troubleshoot and configure Semantix capabilities: Skills (project/custom/global/builtin priority, discovery dirs), Commands (override order, /dir:file naming), Hooks (11 events, automatic project…

    821 GitHub stars~2.1k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • Working With Claude Code Docs

    obra/superpowers-developing-for-claude-code

    Looks up official Claude Code documentation stored as reference files instead of guessing about CLI commands, configuration, or plugin APIs.

    142 GitHub stars~1.5k tokensUpdated 10 mo ago
    Agent WorkflowsAuto-check passed
  • Agnix

    agent-sh/agnix

    A skill your agent uses when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'.

    446 GitHub stars~874 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Clawmem

    yoloshii/ClawMem

    ClawMem operational reference for agents at query time — the 3-rule escalation gate, MCP tool routing, the 4 query-optimization levers, pipeline behavior (query vs intentsearch), composite scoring…

    210 GitHub stars~7.5k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed

More from JetBrains/MPS

All 41 skills in this repo
  • Official

    Analyze an MPS language by name — discover concepts, properties, references, children, aspects (editor/constraints/behavior), metadata, and answer type questions (is A a subtype of B, common…

    1.7k GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Mps Node Editing

    JetBrains/MPS

    Official

    Add, update, or delete MPS nodes using JSON blueprints — covers the unified blueprint format, staged construction for large subtrees, validation, and reference repair.

    1.7k GitHub stars~5.1k tokensUpdated yesterday
    Auto-check passed
  • Official

    Open an MPS project in a running or freshly started MPS instance when MCP tools fail because no project is open (welcome screen), close an open project with mpsmcpcloseproject, or create a new empty…

    1.7k GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Bugfix Workflow

    JetBrains/MPS

    Official

    Structured MPS bugfix workflow driven by a YouTrack issue ID — preflight tool checks, version/branch derivation, parallel-agent problem analysis, solution design, branch creation, implementation…

    1.7k GitHub stars~4.4k tokensUpdated yesterday
    Auto-check passed
  • Official

    Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's structure aspect.

    1.7k GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Official

    A skill your agent uses when bundling a new plain Java/Kotlin plugin into MPS distribution archives, debugging packaging/layout issues in build/mps.xml, tracing where per-plugin artefacts end up, or…

    1.7k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Mps MCP Workflow

What does Mps MCP Workflow do?

Complete JetBrains MPS workflow guide for DSL projects — models, languages, generators, node JSON blueprints, type queries, validation, MPS MCP tool usage, and the index of companion skills. Mps MCP Workflow is an agent skill from JetBrains/MPS, published by the product's own GitHub organization. Complete JetBrains MPS workflow guide for DSL projects — models, languages, generators, node JSON blueprints, type queries, validation, MPS MCP tool usage, and the index of companion skills.

When should I use Mps MCP Workflow?

Mps MCP Workflow fits situations like: working in an MPS project; AGENTS.md says to load the MPS workflow skill; you need to pick the right MPS aspect-specific skill.

How do I install Mps MCP Workflow in Claude Code?

Run `npx skills add JetBrains/MPS --skill mps-mcp-workflow -a claude-code`. Or copy the skill folder (.agents/skills/mps-mcp-workflow in JetBrains/MPS) into .claude/skills/mps-mcp-workflow in your project. Claude Code loads it when a task matches its description.

How do I install Mps MCP Workflow in Codex?

Run `npx skills add JetBrains/MPS --skill mps-mcp-workflow -a codex`. Or copy the skill folder (.agents/skills/mps-mcp-workflow in JetBrains/MPS) into .agents/skills/mps-mcp-workflow in your project. Codex loads it when a task matches its description.

Can I use Mps MCP Workflow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JetBrains/MPS --skill mps-mcp-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mps-mcp-workflow, .gemini/skills/mps-mcp-workflow, .github/skills/mps-mcp-workflow and .opencode/skills/mps-mcp-workflow in your project.

What does Mps MCP Workflow need to run?

Going by SKILL.md and its folder, Mps MCP Workflow needs the command-line tools its instructions call (python3).

Does Mps MCP Workflow access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mps MCP Workflow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Mps MCP Workflow use?

Mps MCP Workflow is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mps MCP Workflow use?

About 6.6k tokens (SKILL.md is roughly 27k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 32k tokens, read only when the agent opens those files.

What are the alternatives to Mps MCP Workflow?

Skills that share tags, products or a category with Mps MCP Workflow: Claude Docs Consultant (centminmod/my-claude-code-setup, 2.7k stars), Agent Setup Health Audit (tw93/Waza, 7.2k stars), Semantix Guide (Gnosil/semantix, 821 stars) and Working With Claude Code Docs (obra/superpowers-developing-for-claude-code, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mps MCP Workflow?

JetBrains (a GitHub organization, an official publisher) maintains it in JetBrains/MPS, which has 1,661 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 8, 2026.

Source: JetBrains/MPS on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.