
Mdma
io.github.MobileReality由 GitHub 账号 MobileReality 发布v0.3.1更新于 Oct 24, 2026
MCP server for MDMA — exposes spec, prompts, docs, and package metadata to AI assistants.
概览
本地 MCP 服务器,向 AI 助手提供 MDMA 规范、编写提示词、包元数据和 GitHub 实时文档,用于构建 MDMA 界面。
- 可以做什么
- 获取完整的 MDMA 规范,包括组件类型、JSON schema、绑定语法和外部数据源
- 获取具名提示词(author、reviewer、fixer),列出针对不同模型优化的提示词变体,并按 id 取用
- 根据领域、组件、字段、步骤和业务规则等结构化输入生成自定义 MDMA 系统提示词,并按 MDMA 约定进行校验
- 列出 MDMA 的 npm 包,含用途、安装命令、用法示例和分类
- 浏览文档目录,并从公开 GitHub 仓库获取文档最新版本,可指定分支、标签或 SHA
- 适用场景
- 适合助手在编写、审查或修复 MDMA 界面时需要最新规范、提示词和文档,而不是凭猜测作答的场景。它是文档与提示词来源,本身不运行 MDMA。
- 运行要求
- 以 stdio 本地运行,通常通过 npx 启动 @mobile-reality/mdma-mcp 这个 npm 包,因此需要 Node.js 和网络访问。未声明任何认证、环境变量或请求头。获取文档需要能访问 raw.githubusercontent.com。
安装
在 SourceWeft 中
- 打开 控制台中的 Mdma,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@mobile-reality/mdma-mcp
MCP (Model Context Protocol) server for MDMA. Exposes the MDMA spec, authoring prompts, package metadata, and live GitHub documentation to AI assistants.
Tools
Install
Distribution venues
Places where MDMA's MCP server is published or should be published. Each venue has its own submission / update flow — when releasing a new version, check each one.
Release checklist — when bumping the version
Use this checklist every time you publish a new version (0.2.4 → 0.2.5, etc.).
1. Bump + test
- Update
versionin package.json. - Update
versionstring in src/index.ts (theMcpServer({ version: ... })call). - Update top-level
versionandpackages[0].versionin server.json. - Update top-level
versionandpackages[0].versionin manifest.json. - Add a changeset:
pnpm changesetat repo root. - Run
pnpm build && pnpm test && pnpm typecheckin this package. - Run
pnpm smoke:packin this package — it packs, installs the tarball into a clean directory and checkstools/listandget-specover stdio; it must printPASSbefore you publish.
2. Publish to npm
-
pnpm publish --access public --no-git-checksfrom this directory. - Verify:
npm view @mobile-reality/mdma-mcp version mcpName— both should match.
3. Publish to the MCP Registry
- Ensure
mcp-publisheris authenticated:mcp-publisher login github(re-auth if tokens expired). -
mcp-publisher publishfrom this directory.- Alternative: run the "Publish to MCP Registry" workflow from the Actions tab on
mainafter the npm publish. Interactivemcp-publisher login githubfails when the organization restricts OAuth apps; the workflow uses GitHub OIDC instead.
- Alternative: run the "Publish to MCP Registry" workflow from the Actions tab on
- Verify:
curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.MobileReality/mdma"shows the new version.
Do not commit
.mcpregistry_github_token/.mcpregistry_registry_token— they are in .gitignore. GitHub's push protection will block the push anyway; this is a belt-and-braces reminder.
4. Tag the release
5. Build a fresh MCPB bundle (only if submitting a Desktop Extension update)
pnpm's virtual store (.pnpm/) gets stripped by mcpb pack, so you must build the bundle from a clean npm-installed directory or transitive deps (e.g. ajv) will be missing.
Output: <name>-<version>.mcpb. Test-install in Claude Desktop, then attach as a GitHub Release asset.
6. Glama — if tool descriptions or Dockerfile config changed
- If you added / renamed / changed descriptions of tools: Glama's Quality score will re-evaluate on its next periodic scan. No manual trigger.
- If
packages[0].versionbumped: go to the Glama admin page → update Build steps (npm install -g @mobile-reality/mdma-mcp@<version>) → Deploy → Make Release.
7. Downstream awareness
- Update the MCP tools table in the root README.md if tools were added / renamed / removed.
- Update this package's own tools table (above) the same way.
- If tools changed: update the MCP.so listing, which is owned by another account (see the MCP.so row in Distribution venues).
- If a breaking change: note in the changeset; update consumers of
createMdmaMcpServer()if any.
Troubleshooting
MCP Registry publish fails with 403 Forbidden
If the error says permission to publish: io.github.gitsad/*, io.github.MobileReality/*. Attempting to publish: io.github.mobilereality/mdma (lowercase mismatch): the registry is case-sensitive and your mcpName / server.json name must exactly match GitHub's canonical MobileReality capitalization. Fix both files and republish to npm (versions on npm are immutable).
If the error says permission to publish: io.github.gitsad/* (org missing entirely): your MobileReality GitHub membership is private. Make it public at https://github.com/orgs/MobileReality/people, then mcp-publisher logout && mcp-publisher login github to refresh the JWT.
MCPB .mcpb crashes on install in Claude Desktop
Usually "missing module" errors in the Developer tab logs. Cause: pnpm's nested .pnpm/ virtual store got stripped at pack time, so transitive deps are missing. Fix: build the bundle from a clean npm-installed directory (see step 5 above). Do not run mcpb pack directly against packages/mcp/node_modules.
Secrets leaking into the bundle
mcpb pack does not respect .gitignore. Any .mcpregistry_*_token file next to the manifest at pack time gets zipped into the .mcpb. Always delete these before packing, and prefer the /tmp/mcpb-build workflow above which has no tokens in its directory.
Files in this package
来源:packages/mcp/README.md,提交 bda10a7
工具
0版本历史
2- v0.3.1最新Oct 13, 2026
- v0.2.4Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分