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

已驗證STDIO僅桌面資料與分析AI 與機器學習

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理驅動 dfxm-geo 暗場 X 射線顯微正演模型:驗證設定、列舉反射並執行預覽級模擬。

可以做什麼
驗證並產生 dfxm-geo 模擬設定檔,列舉可達反射並提供 g·b 可見性排序,回傳結構化評分與自包含的 HTML 報告。執行解析式正演模擬,儲存 PNG 與自包含 HTML 頁面,並開啟含影格滑桿與即時曲線的互動式 φ 搖擺曲線檢視器。啟動蒙地卡羅高保真工作,並透過獨立的工作工具查詢狀態與結果。
適用情境
適用於暗場 X 射線顯微模擬相關工作:希望助理在對話中檢查或產生設定、挑選反射,並快速產出預覽級的正演或搖擺曲線結果。
執行需求
以 PyPI 套件形式透過 stdio 在本機執行,可用 uvx 啟動或先 pip install;需要 Python,首次執行需連網下載較重的科學運算相依套件(numba/scipy)並預熱 JIT 快取約 10 秒。僅支援桌面用戶端;未宣告驗證或環境變數。
安裝前請注意
模擬為實際運算而非示範模式,蒙地卡羅高保真工作可能耗用較多運算資源;首次執行會下載大型相依套件。工具會將 PNG 與 HTML 輸出檔寫入磁碟,請留意儲存位置。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Dfxm Geo Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

uvx dfxm-geo-mcp

Claude Desktop (claude_desktop_config.json):

{"mcpServers": {"dfxm-geo": {"command": "uvx", "args": ["dfxm-geo-mcp"]}}}

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。