Basic information
About MDMA MCP Server
Interactive documents from Markdown. Extends MD with forms, approvals, webhooks, and more — built for next gen apps
MDMA is a MCP server in the Other category listed in the AddMCP.net directory, published by MobileReality. It exposes 8 tools, including get-spec, get-prompt, list-prompt-variants, build-system-prompt and more. Supported transport: stdio. Runtime: node. License: MIT. The repository has 34 GitHub stars. Source code is hosted on github.com. Related topics: ai-agents, forms, generative-ui, interactive-documents, llm.
Setup
{
"mcpServers": {
"mdma": {
"command": "npx",
"args": [
"@mobile-reality/mdma-mcp"
]
}
}
}
{
"mcpServers": {
"mdma": {
"command": "npx",
"args": [
"@mobile-reality/mdma-mcp"
]
}
}
}
{
"servers": {
"mdma": {
"command": "npx",
"args": [
"@mobile-reality/mdma-mcp"
]
}
}
}
MDMA MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mdma": {
"command": "npx",
"args": [
"@mobile-reality/mdma-mcp"
]
}
}
}
MDMA MCP Server tools
-
get-spec
— Returns the full MDMA specification: component types, schemas (as JSON Schema), binding syntax, external data sources ({ source, params } refs, the DataSourceDescriptor shape, and the rows / series / options kinds), and authoring rules
(no parameters) -
get-prompt
— Returns a named MDMA prompt (mdma-author, mdma-reviewer, or mdma-fixer). For mdma-author, pass an optional variantId (e.g. "anthropic/sonnet-5.5", "openai/gpt-6-sol") to get the model-optimised variant — use list-prompt-variants to see all available ids.
name:string*, variantId:string -
list-prompt-variants
— Returns all available MDMA_AUTHOR prompt variants with their id, label, and description. Pass the id to get-prompt as variantId to retrieve the model-optimised prompt.
(no parameters) -
build-system-prompt
— Generates a custom MDMA prompt from structured input (domain, components, fields, steps). Returns only the custom prompt part — use buildSystemPrompt({ customPrompt }) in code to combine it with the base MDMA spec. When dataSources (an external data-source catalog) is passed, returns the full system prompt instead: base MDMA spec, the data-source catalog with the rule to reference it via { source, params }, and the custom part.
domain:string, components:array, fields:array, steps:array, businessRules:string, dataSources:array -
validate-prompt
— Validates a custom prompt against MDMA conventions. Returns warnings for anti-patterns and suggestions for improvements.
prompt:string* -
list-packages
— Returns all MDMA npm packages with their purpose, install command, usage example, and category
(no parameters) -
list-docs
— Returns the catalog of MDMA documentation files available for fetching from the public GitHub repo (path, title, description). Use this to discover what docs you can pass to get-doc.
(no parameters) -
get-doc
— Fetches the latest version of an MDMA documentation file from the public GitHub repo (raw.githubusercontent.com/MobileReality/mdma) and returns its contents as text. Allowed paths: any entry from list-docs, plus any *.md file under "docs/" or "blueprints/". Defaults to the "main" branch.
path:string*, ref:string
Overview
What is MDMA?
MDMA is an MCP (Model Context Protocol) server that exposes the MDMA specification, authoring prompts, package metadata, and live GitHub documentation to AI assistants. It is built and published by MobileReality as the npm package @mobile-reality/mdma-mcp.
How to use MDMA?
Add the following to your MCP client configuration:
{
"mcpServers": {
"mdma": { "command": "npx", "args": ["@mobile-reality/mdma-mcp"] }
}
}
No further explicit usage instructions are provided.
Key features of MDMA
- Provides full MDMA specification via
get-spectool. - Returns authoring, reviewing, and fixing prompts via
get-prompt. - Lists available prompt variants for model-optimised prompts.
- Generates custom MDMA prompts from structured input.
- Validates custom prompts against MDMA conventions.
- Lists MDMA npm packages with install commands and examples.
- Retrieves up-to-date documentation from the public GitHub repository.
Use cases of MDMA
- AI-assisted authoring of MDMA component specifications.
- Reviewing and fixing existing MDMA prompts with model-optimised variants.
- Fetching the latest MDMA docs directly into an AI conversation.
- Building and validating custom prompts for specialised MDMA workflows.
- Exploring MDMA npm packages and their usage from an AI assistant.
Frequently asked questions
1 What tools does the MDMA MCP server offer?
It offers eight tools: get-spec, get-prompt, list-prompt-variants, build-system-prompt, validate-prompt, list-packages, list-docs, and get-doc.
2 Why does MCP Registry publish fail with 403 Forbidden?
The registry is case‑sensitive; the mcpName and server.json name must exactly match the GitHub organisation’s canonical capitalisation (MobileReality, not mobilereality). If the error mentions a missing org, verify your GitHub membership is public.
3 How do I build a Desktop Extension (.mcpb) bundle?
Build from a clean npm‑installed directory to avoid missing transitive dependencies. Do not run mcpb pack directly from the repository because pnpm’s virtual store strips .pnpm/ folders.
4 Where does the server fetch documentation from?
The get-doc tool fetches the latest version of a document from raw.githubusercontent.com/MobileReality/mdma, optionally at a specific branch, tag, or SHA.
5 What are the runtime requirements?
The server runs via npx and therefore requires Node.js and npm. No other runtime dependencies are documented.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In