Skip to main content
MCP server CX Codex

mdma — Claude Code MCP server: what it does, how to install

An MCP server that hands your coding assistant the MDMA spec, ready-made authoring prompts, package info and repo docs.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mdma -- npx -y @mobile-reality/mdma-mcp
Open on GitHub

What mdma does

It speaks MCP over stdio. Ask for the full MDMA spec with get-spec, and the assistant gets component types, JSON schemas, binding syntax, authoring rules and how external data sources are declared. list-packages returns the npm packages with their install commands, while list-docs and get-doc reach into the public repository for documentation files.

Three prompts ship by name: mdma-author, mdma-reviewer, mdma-fixer. The author prompt has model-tuned versions, so run list-prompt-variants for the ids and pass one as variantId. Writing your own is the other path: build-system-prompt takes a domain, components, fields, steps and business rules, plus an optional catalog of data sources you then reference as { source, params }. validate-prompt checks the result against MDMA conventions.

The server starts as npx -y @mobile-reality/mdma-mcp, so npx has to be on the machine. get-doc fetches from raw.githubusercontent.com/MobileReality/mdma and accepts an optional ref for a branch, tag or SHA. Block that host and the doc tools return nothing.

What it helps with

  • pull the MDMA spec into the chat instead of switching to the browser
  • generate a prompt tuned for a specific model via variantId
  • assemble a system prompt from your own domain and component list
  • lint a hand-written prompt against MDMA conventions
  • fetch a doc from a branch, tag or commit SHA

Example prompts for the agent

  • Call get-spec and walk me through the component schemas
  • Build a system prompt for a ticketing domain with build-system-prompt, then check it with validate-prompt
  • Which author prompt variants exist? Start with list-prompt-variants, then fetch one by id

How to install mdma

Platform CLI

claude mcp add mdma -- npx -y @mobile-reality/mdma-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mdma

How do I install mdma in Claude Code?

Run claude mcp add mdma -- npx -y @mobile-reality/mdma-mcp. The server then runs over stdio from the npm package.

What does mdma do?

It serves the MDMA spec, authoring and review prompts, package metadata and repository docs to the assistant, so you stop pasting that material into the chat by hand.

Does get-doc work without internet access?

No. It reads files from raw.githubusercontent.com/MobileReality/mdma, and the optional ref picks a branch, tag or SHA. The stdio server itself still starts without it.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor