Official agent skill

Mps Project Management

by JetBrains in JetBrains/MPS

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…

OfficialApache-2.0Auto-check passedAgent Workflows

Install Mps Project Management

skills CLI
$ npx skills add JetBrains/MPS --skill mps-project-management -a claude-code

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

GitHub CLI
$ gh skill install JetBrains/MPS mps-project-management --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-project-management .claude/skills/mps-project-management && 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-project-management
GitHub stars
1.7k
Token cost
~2.2k tokens
SKILL.md length
1,103 words
Files
10 (incl. scripts, references)
Skills in repo
41
Repo updated
First seen
Licence
Apache-2.0

At a glance

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…

  • Works in 5 steps: Confirm the rejection is the… → Find the running MPS process and… → Open the project with the matching… → …
  • Mpsmcp is rejected with empty Currently open projects
  • SKILL.md covers Loading companion skills, Critical Directives, Workflow and Closing a project, plus 4 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Mps Project Management is an agent skill from JetBrains/MPS, published by the product's own GitHub organization. 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 MPS project headlessly. Covers MPS built from sources vs a standalone install, detecting which case you are in, macOS/Linux/Windows CLI activation, close timeout / force-close recovery, and empty project creation file templates. Use when mpsmcp is rejected with empty Currently open projects, when MPS shows the welcome…

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `references/create-empty-project.md`, `references/derive-migration-xml.md` and `references/detect-source-vs-standalone.md`).

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

When your agent uses it

  • Mpsmcp is rejected with empty Currently open projects
  • MPS shows the welcome screen
  • An agent must open a project via the command line
  • Creating a new empty MPS project

Example prompts

  • “/mps-project-management”

Requirements

  • Python 3

Workflow steps

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

  1. Confirm the rejection is the empty-project gate — open references/why-mcp-cannot-open.md if the error text is unfamiliar.
  2. Find the running MPS process and classify it (from sources vs standalone). Open references/detect-source-vs-standalone.md. If nothing is…
  3. Open the project with the matching recipe in references/open-via-cli.md, then the OS file: references/examples-macos.md…
  4. The second process must exit. A few seconds is normal; if it stays up, you started a new IDE — stop and re-check the selector.
  5. Retry mps_mcp_list_open_projects with projectPath set to the directory you opened. Then use that path on every later mps_mcp_* call.

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/ (Python), 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 Project Management loads about 2.2k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 171 tokens; SKILL.md has 1,103 words of instructions outside code blocks.

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

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). 1,103 words, ~2,247 tokens.

Download SKILL.mdSave it as .claude/skills/mps-project-management/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
mps-project-management
description
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 `mps_mcp_close_project`, or create a new empty MPS project headlessly. Covers MPS built from sources vs a standalone install, detecting which case you are in, macOS/Linux/Windows CLI activation, close timeout / force-close recovery, and empty project creation file templates. Use when `mps_mcp_*` is rejected with empty `Currently open projects`, when MPS shows the welcome screen, when an agent must open a project via the command line, when creating a new empty MPS project, or when closing a project.
type
reference

Opening and closing an MPS project for MCP

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.

There is no MCP tool that can open a project. The IntelliJ MCP server rejects every tool call — including mps_mcp_list_open_projects — before dispatch unless some already-open IDE Project matches projectPath. On the welcome screen that set is empty, so MCP cannot help. The workaround is the platform CLI: pass the project directory to a second MPS process that shares the first instance's config/system directories. DirectoryLock activates the running IDE; the second process should exit in a few seconds.

Critical Directives

  • Empty Currently open projects: {"projects":[]} means the welcome screen, not a bad path. Do not retry MCP with a guessed projectPath. Open the project via CLI first.
  • Detect source-vs-standalone before choosing a command. open -a MPS.app will not talk to an MPS started as jetbrains.mps.Launcher from a checkout. Reconstructing a JVM command is the wrong move for a standalone .app / mps.sh / mps64.exe.
  • Match idea.paths.selector (and any explicit config/system dirs). MPS (2nd inst.) uses a different selector and starts a real second IDE. See references/detect-source-vs-standalone.md.
  • Do not split process command lines on spaces. Classpaths often contain IntelliJ IDEA.app or Program Files. Prefer jcmd PID VM.command_line (or /proc/PID/cmdline on Linux). When activating an already-running instance, strip -agentlib:jdwp and the IntelliJ idea_rt.jar javaagent.
  • java_command from jcmd VM.command_line is "<main-class> [args]". Use only the first token as the main class. If MPS was itself started with a project path, the field is jetbrains.mps.Launcher /path/to/previous/project; passing it whole dies with ClassNotFoundException.
  • Do not write helper scripts or jcmd dumps into the checkout. Use $TMPDIR / %TEMP% only.
  • A MODAL_BLOCKED close is not a closed project. Ask the user to dismiss the MPS dialog, then retry mps_mcp_close_project. Use force=true only after a timed-out or cancelled close.

Workflow

  1. Confirm the rejection is the empty-project gate — open references/why-mcp-cannot-open.md if the error text is unfamiliar.
  2. Find the running MPS process and classify it (from sources vs standalone). Open references/detect-source-vs-standalone.md. If nothing is running, start MPS with the project path instead of activating.
  3. Open the project with the matching recipe in references/open-via-cli.md, then the OS file: references/examples-macos.md, references/examples-linux.md, or references/examples-windows.md.
  4. The second process must exit. A few seconds is normal; if it stays up, you started a new IDE — stop and re-check the selector.
  5. Retry mps_mcp_list_open_projects with projectPath set to the directory you opened. Then use that path on every later mps_mcp_* call.
Show full SKILL.md (606 more words)Show less

Closing a project

Use mps_mcp_close_project to close the project selected by the host's projectPath. Opening still has no MCP tool — after the last project closes, MPS typically returns to the Welcome screen and you must reopen via CLI (the workflow above).

  • Select the target project. The path must be at or inside that open project, never an ancestor such as the repository root. When several projects are open, call mps_mcp_list_open_projects first and pass the intended project's mpsProjectBaseDirectory as projectPath.
  • A normal close may show dialogs. It saves documents and runs can-close checks. Save / confirmation dialogs block the call until they are dismissed.
  • Do not wait past 20 seconds. If the tool returns ok:false with code: MODAL_BLOCKED, a modal dialog is likely open in MPS (Save, confirmation, Find Usages, Search, etc.). Ask the user to close that dialog manually, then retry. Do not assume the project closed.
  • Prefer force=false. Pass force=true only after a previous close timed out or was cancelled on a confirmation dialog. Force-close skips the save/can-close dialogs this close would show (unsaved editor changes are discarded) and does not wait for an already-open unrelated modal.
  • Shut down MPS with shutdownWithLastProject=true. When asking MPS to close a project, it can also be instructed in the same MCP call to shut down, if MPS sees no other open projects (it checks for open projects itself, no need to check yourself). When MPS is displaying the welcome screen (no projects are open), it cannot be shut down via MCP. A modal confirmation dialog may (if configured) prevent MPS from shutting down.
  1. If several projects are open, list them and pass the intended mpsProjectBaseDirectory as projectPath.
  2. Call mps_mcp_close_project with the default force=false.
  3. On {ok:true, data.closed:true}, stop. Closing the last project is expected to leave the Welcome screen.
  4. If the close was cancelled (the project remains open): ask the user to complete the dialog, or retry with force=true.
  5. If code: MODAL_BLOCKED: ask the user to close the blocking dialog, then retry. Use force=true only to skip save/confirmation dialogs that this close itself would show.

Creating a new empty project

There is no MCP tool to create a new MPS project. To create a new empty project headlessly, write the minimal project descriptor files directly on disk: create the project root directory containing .mps/modules.xml (empty MPSProject), .mps/.gitignore, and .mps/migration.xml. Then open the directory in MPS via the CLI activation workflow above. migration.xml is the one file whose content is MPS-version-specific: generate it from the MPS installation that will open the project — never hardcode migration ids from memory and never reuse a file written for another MPS version, or the modal Migration Assistant blocks every mps_mcp_* call on first open.

See references/create-empty-project.md for file templates and instructions.

Scripts

scripts/new_project_migration_xml.py — builds the .mps/migration.xml of a new empty project from the MPS that will open it (install directory, macOS .app, or source checkout), offline: no running MPS and no existing project to copy from. Needed for every MPS other than 2026.2, whose file references/create-empty-project.md gives verbatim.

python3 scripts/new_project_migration_xml.py "/Applications/MPS 2025.3.app" /path/to/new/project
baseline 253 from MPS-253.29346.537 (/Applications/MPS 2025.3.app/Contents/Resources/build.txt)
         243 jetbrains.mps.ide.mpsmigration.v_2024_3.LangResourceImport4Migration -
<?xml version="1.0" encoding="UTF-8"?>
...
  • mps-mcp-workflow — once a project is open, this is the entry point for model and language work.
  • mps-run-configurations — running DSL roots inside an already-open project, not launching MPS itself.

Reference Index

  • Open references/why-mcp-cannot-open.md when diagnosing welcome-screen MCP rejections.
  • Open references/detect-source-vs-standalone.md to classify the running process.
  • Open references/open-via-cli.md for the activation protocol (what to keep, what to strip, success criteria).
  • Open references/examples-macos.md, references/examples-linux.md, or references/examples-windows.md for copy-paste commands.
  • Open references/create-empty-project.md for file templates and instructions on creating a new empty MPS project.
  • Open references/derive-migration-xml.md when that project will be opened by an MPS other than 2026.2, to generate .mps/migration.xml for that release.

© 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 9 other files (scripts, references) in .agents/skills/mps-project-management of JetBrains/MPS.

  • SKILL.md
  • references/create-empty-project.md
  • references/derive-migration-xml.md
  • references/detect-source-vs-standalone.md
  • references/examples-linux.md
  • references/examples-macos.md
  • references/examples-windows.md
  • references/open-via-cli.md
  • references/why-mcp-cannot-open.md
  • scripts/new_project_migration_xml.py

Open the folder on GitHubat commit 3e9cfcd

Compare with similar skills

Mps Project Management 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 Project Management compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mps Project Management this skillJetBrains/MPS1.7k—~2.2kAutomated safety check: PassApache-2.0
Cortex Mem MCPsopaco/cortex-mem313—~2.8kAutomated safety check: PassMIT
Gearcoleco Romhackingdrhelius/Gearcoleco142—~3.9kAutomated safety check: PassGPL-3.0
Healthmd CLICodyBontecou/health-md230—~3.9kAutomated safety check: PassAGPL-3.0
MCP Installerlintendo/Axhub-Skills130—~778Automated safety check: PassMIT
Gearcoleco Debuggingdrhelius/Gearcoleco142—~3.5kAutomated safety check: PassGPL-3.0

Similar skills

  • Cortex Mem MCP

    sopaco/cortex-mem

    Persistent memory enhancement for AI agents. An agent skill from sopaco/cortex-mem.

    313 GitHub stars~2.8k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Gearcoleco Romhacking

    drhelius/Gearcoleco

    Hack, modify, and translate ColecoVision and Super Game Module ROMs using the Gearcoleco emulator MCP server.

    142 GitHub stars~3.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Healthmd CLI

    CodyBontecou/health-md

    Install and operate the standalone Health.md CLI and portable healthmd-mcp server on macOS, Linux, or Windows.

    230 GitHub stars~3.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • MCP Installer

    lintendo/Axhub-Skills

    Install and configure MCP servers across desktop and CLI clients (Claude, Cline, Windsurf, Cursor, VSCode, Gemini CLI, Codex, Trae, Antigravity, etc.) on macOS/Windows/Linux, preferring…

    130 GitHub stars~778 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Gearcoleco Debugging

    drhelius/Gearcoleco

    Debug and trace ColecoVision and Super Game Module games using the Gearcoleco emulator MCP server.

    142 GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Dotnet Debugging

    novotnyllc/dotnet-artisan

    Debugs Windows and Linux/macOS applications (native, .NET/CLR, mixed-mode) with WinDbg MCP (crash dumps, !analyze, !syncblk, !dlk, !runaway, !dumpheap, !gcroot, BSOD), dotnet-dump, lldb with SOS…

    232 GitHub stars~2.1k tokensUpdated 2 days ago
    DevelopmentAuto-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 today
    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 today
    Auto-check passed
  • Mps MCP Workflow

    JetBrains/MPS

    Official

    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.

    1.7k GitHub stars~6.6k tokensUpdated today
    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 today
    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 today
    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 today
    Auto-check passed

Questions about Mps Project Management

What does Mps Project Management do?

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…. Mps Project Management is an agent skill from JetBrains/MPS, published by the product's own GitHub organization. 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 MPS project headlessly.

When should I use Mps Project Management?

Mps Project Management fits situations like: mpsmcp is rejected with empty Currently open projects; MPS shows the welcome screen; an agent must open a project via the command line; creating a new empty MPS project.

How do I install Mps Project Management in Claude Code?

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

How do I install Mps Project Management in Codex?

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

Can I use Mps Project Management 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-project-management -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-project-management, .gemini/skills/mps-project-management, .github/skills/mps-project-management and .opencode/skills/mps-project-management in your project.

What does Mps Project Management need to run?

Going by SKILL.md and its folder, Mps Project Management needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Mps Project Management 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 Project Management 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 Project Management use?

Mps Project Management 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 Project Management use?

About 2.2k tokens (SKILL.md is roughly 9k 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 9.5k tokens, read only when the agent opens those files.

What are the alternatives to Mps Project Management?

Skills that share tags, products or a category with Mps Project Management: Cortex Mem MCP (sopaco/cortex-mem, 313 stars), Gearcoleco Romhacking (drhelius/Gearcoleco, 142 stars), Healthmd CLI (CodyBontecou/health-md, 230 stars) and MCP Installer (lintendo/Axhub-Skills, 130 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mps Project Management?

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 9, 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.