Skip to main content

MCP server for the dfxm-geo dark-field X-ray microscopy forward model

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dfxm_geo_mcp-0.1.0.tar.gz (49.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dfxm_geo_mcp-0.1.0-py3-none-any.whl (41.8 kB view details)

Uploaded Python 3

File details

Details for the file dfxm_geo_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: dfxm_geo_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 49.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dfxm_geo_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 98d384802b53811e11eb44bcab337276469bcc8a2a155ebf10169cdca24bbf71
MD5 c47d247db9f2bf20dff39a69e4251f0e
BLAKE2b-256 c3b31bc585be0704b0b15cf4b6ffee8f7f16e4a21ab33d26a81546ab53a0065b

See more details on using hashes here.

Provenance

The following attestation bundles were made for dfxm_geo_mcp-0.1.0.tar.gz:

Publisher: publish.yml on borgi-s/dfxm-geo-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dfxm_geo_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dfxm_geo_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 41.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dfxm_geo_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3ea3ba1aba4a4d4102df05a24214914f2b9a8c2ea0b1d61e3d5d87bedf78761
MD5 1305eb38d8e8e7414073bfa114dd214b
BLAKE2b-256 2c14874f251193d8b2fe39a0c686f3cd508fcd9517c6f8bf18863131cc8aa6b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for dfxm_geo_mcp-0.1.0-py3-none-any.whl:

Publisher: publish.yml on borgi-s/dfxm-geo-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page