Mdma MCP Server

MCP server for MDMA — exposes spec, prompts, docs, and package metadata to AI assistants.

Remote serverstreamable-httpTypeScript

What is the Mdma MCP server?

MCP server for MDMA — exposes spec, prompts, docs, and package metadata to AI assistants. Exposed over MCP by the mdma mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

MDMA extends Markdown with interactive components defined in fenced mdma code blocks. A regular Markdown file becomes an interactive application:

Its toolset

Everything the assistant can do here goes through one of these:

  • React — function App({ ast, store }) { return ; }
  • Theming — Both renderers accept a theme prop on MdmaDocument, so theming is entirely opt-in — omit it and you get the default light look. Pass a built-in
  • Rules — Every rule can be individually disabled via the exclude option:

Adding it to your client

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Mdma's toolset — React, Theming, Rules — is a fair guide to whether it matches your workflow. It is maintained by MobileReality; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Mdma's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mdma mcp server does with a few real requests.

Available tools

ToolWhat it does
Reactfunction App({ ast, store }) { return <MdmaDocument ast={ast} store={store} />; }
ThemingBoth renderers accept a theme prop on MdmaDocument, so theming is entirely opt-in — omit it and you get the default light look. Pass a built-in palette, follow the OS preference, or hand over a full custom token object:
RulesEvery rule can be individually disabled via the exclude option:

How to install the Mdma MCP server

{
  "mcpServers": {
    "mdma": {
      "command": "npx",
      "args": ["-y", "@mobile-reality/mdma-cli"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Mdma to React.
  • Use Mdma to Theming.
  • Use Mdma to Rules.

Frequently asked questions

It connects Mdma to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (React, Theming, Rules) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Mdma directly.