# io.github.MobileReality/mdma (npm · @mobile-reality/mdma-mcp)

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

- Trust score: 66/100 (medium)
- Change this week: +20
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@mobile-reality/mdma-mcp`: 66/100 (this document), [markdown](https://verifymcp.io/servers/mobilereality-mdma/mobile-reality-mdma-mcp.md), [page](https://verifymcp.io/servers/mobilereality-mdma/mobile-reality-mdma-mcp)

## Channel facts

- Registry: `npm`
- Package: `@mobile-reality/mdma-mcp`
- Version: `0.2.4`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (97 of 101), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (97 of 101), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 32/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - License check failed: no license is declared.
  - Actively maintained (last published 12 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 482 tokens (~68/item across 7 items; 7 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add mobilereality-mdma -- npx -y @mobile-reality/mdma-mcp
```

### Codex

```bash
codex mcp add mobilereality-mdma -- npx -y @mobile-reality/mdma-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mobilereality-mdma": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@mobile-reality/mdma-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add mobilereality-mdma --command npx --arg -y --arg @mobile-reality/mdma-mcp
```

### Hermes

```yaml
mcp_servers:
  mobilereality-mdma:
    command: "npx"
    args: ["-y", "@mobile-reality/mdma-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "mobilereality-mdma": {
      "command": "npx",
      "args": [
        "-y",
        "@mobile-reality/mdma-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 66, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-08-02 (score 62, +41)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [functional regression] License: unverified → fail
- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional improvement] Dependency health: unverified → partial
- [functional] First check of Schema quality: unverified

### 2026-08-01 (score 21, −7)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-31 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (7)

### `get-spec` (~32 tokens)

Returns the full MDMA specification: component types, schemas (as JSON Schema), binding syntax, and authoring rules

### `get-prompt` (~55 tokens)

Returns a named MDMA prompt (mdma-author, mdma-reviewer, or mdma-fixer)

Input parameters:

- `name` (string, required): Prompt name: mdma-author, mdma-reviewer, or mdma-fixer

### `build-system-prompt` (~142 tokens)

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.

Input parameters:

- `businessRules` (string): Business rules or constraints
- `components` (array): Component types to use (e.g. ["form", "approval-gate", "webhook"])
- `domain` (string): Domain context (e.g. "HR onboarding", "expense approval")
- `fields` (array): Form field definitions
- `steps` (array): Multi-step flow definitions — each step becomes a separate conversation turn

### `validate-prompt` (~43 tokens)

Validates a custom prompt against MDMA conventions. Returns warnings for anti-patterns and suggestions for improvements.

Input parameters:

- `prompt` (string, required): The custom prompt text to validate

### `list-packages` (~28 tokens)

Returns all MDMA npm packages with their purpose, install command, usage example, and category

### `list-docs` (~46 tokens)

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.

### `get-doc` (~136 tokens)

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.

Input parameters:

- `path` (string, required): Repo-relative path to the doc, e.g. "docs/getting-started/quick-start.md" or "blueprints/kyc-case/README.md"
- `ref` (string): Git ref (branch, tag, or commit SHA). Defaults to "main".

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/mobilereality-mdma/mobile-reality-mdma-mcp#diagnostics

## Score history

- 2026-08-03: 66
- 2026-08-02: 62
- 2026-08-01: 21
- 2026-07-31: 28
- 2026-07-30: 46
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@mobile-reality/mdma-mcp
- Socket report: https://socket.dev/npm/package/@mobile-reality/mdma-mcp
- Repository: https://github.com/MobileReality/mdma
- Changelog RSS feed: https://verifymcp.io/servers/mobilereality-mdma/mobile-reality-mdma-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/mobilereality-mdma/mobile-reality-mdma-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/mobilereality-mdma/mobile-reality-mdma-mcp
