
Dfxm Geo Mcp
io.github.borgi-s由 GitHub 账号 borgi-s 发布v0.1.0更新于 Oct 24, 2026
MCP server for the dfxm-geo dark-field X-ray microscopy forward model
概览
本地 MCP 服务器,让助手驱动 dfxm-geo 暗场 X 射线显微正演模型:校验配置、枚举反射并运行预览级模拟。
- 可以做什么
- 校验并生成 dfxm-geo 模拟配置文件,枚举可达反射并给出 g·b 可见性排序,返回结构化评分和自包含的 HTML 报告。运行解析式正演模拟,保存 PNG 和自包含 HTML 页面,并打开带帧滑块和实时曲线的交互式 φ 摇摆曲线查看器。启动蒙特卡洛高保真任务,并通过独立的任务工具查询状态和结果。
- 适用场景
- 适用于暗场 X 射线显微模拟相关工作:希望助手在对话中检查或生成配置、挑选反射,并快速产出预览级的正演或摇摆曲线结果。
- 运行要求
- 以 PyPI 包形式通过 stdio 在本地运行,可用 uvx 启动或先 pip install;需要 Python,首次运行需联网下载较重的科学计算依赖(numba/scipy)并预热 JIT 缓存约 10 秒。仅支持桌面客户端;未声明认证或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Dfxm Geo Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
dfxm-geo-mcp
An MCP server that lets an AI client drive the dfxm-geo dark-field X-ray microscopy forward model: validate and scaffold configs, enumerate reachable reflections, and render preview-scale simulations.
[Claude Desktop rendering a DFXM image from a plain-English request]
Run
Claude Desktop (claude_desktop_config.json):
Or: pip install dfxm-geo-mcp then dfxm-geo-mcp.
First run pulls a heavy scientific stack (numba/scipy) and warms a JIT cache (~10 s once). No fake demo mode — the sims are real.
Tools
validate_config · find_reflections · predict_visibility (g·b reflection-visibility ranking; structured scores plus a self-contained .html) · scaffold_config · run_forward (analytic preview; saves a PNG and a self-contained .html) · run_rocking (interactive φ-rocking-curve viewer: a single self-contained .html with a frame scrubber + live rocking-curve plot) · start_bootstrap / get_job_status / get_job_result (MC fidelity).
Both run_forward and run_rocking write self-contained HTML (image(s) embedded, all CSS/JS inline, no external origins) that opens full-size in any browser and is surfaced by file-showing clients.
Architecture
A protocol-agnostic ops layer wrapping dfxm-geo, under a thin FastMCP adapter. See docs/superpowers/specs/.
Roadmap (v2)
run_identify · remote HTTP transport · .mcpb bundle.
来源:README.md,提交 d5d473f
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。