Skip to main content

A Globus MCP Server tuned to XPCS

Project description

Globus MCP Server

The Globus MCP Server enables LLM applications to interact with Globus services.

Recommended prompts

These are example prompts that can be used with this mcp server.

Prompt 1:

Run Multitau analysis for cycle 2026-2, tingxu202606, prefix Ib1202, with suffix ranging from 1 to 42, using rigaku3m_qmap_S270_D27_lin.hdf as the qmap.

Prompt 2:

Run Twotime analysis for cycle 2026-2, foster202606, prefix from F1173 to F1179, using designated qmaps for each measurement.

Supported Tools

XPCS

  • run_xpcs_boost_corr - Submit a compute function that executes the boost_corr executable using a list of raw files and a shared qmap input; returns task UUIDs for each job. Poll them with globus_compute_get_task_status.
  • get_boost_corr_metadata - Generate metadata from a boost_corr output HDF file
  • get_generic_metadata - Read all HDF5 attributes from an output file in a JSON-serializable format
  • list_xpcs_collections - List configured XPCS collections and allowed basepaths/permissions
  • list_xpcs_compute_endpoints - List configured XPCS compute endpoints and allowed basepaths/permissions

Globus Transfer

  • globus_transfer_list_endpoints_and_collections - List endpoints and collections the user can access
  • globus_transfer_search_endpoints_and_collections - Search visible endpoints and collections
  • globus_transfer_submit_task - Submit a transfer task, await completion/timeout, and return status plus recent events
  • globus_transfer_get_task_events - Get task events for transfer progress and troubleshooting
  • globus_transfer_get_task_progress - Wait for transfer progress and return task status plus recent events
  • globus_transfer_list_directory - List directory contents on a collection; filename_regex filtering applies before limit and offset pagination; cached defaults to true and can be set to false to force a fresh listing

Notes:

  • globus_transfer_list_directory applies filename_regex before pagination, so narrow queries can still return matches without raising limit. This README intentionally documents only XPCS and Transfer tools. Compute service tools are omitted.

Configuration

The following configuration is compatible with most LLM applications that support MCP such as Claude Desktop:

{
  "mcpServers": {
    "globus-mcp": {
      "command": "uvx",
      "args": ["globus-mcp-xpcs"]
    }
  }
}

Limiting Tool Registration

By default, the Globus MCP server registers tools for every service. To register tools for only specific services, use the --services command-line flag:

{
  "mcpServers": {
    "globus-mcp": {
      "command": "uvx",
      "args": [
        "globus-mcp",
        "--services",
        "xpcs",
        "transfer"
      ]
    }
  }
}

Specifying Client Credentials

If you've registered a client application in the Globus web UI, you can specify the client credentials via the GLOBUS_CLIENT_ID and GLOBUS_CLIENT_SECRET environment variables:

{
  "mcpServers": {
    "globus-mcp": {
      "command": "uvx",
      "args": ["globus-mcp"],
      "env": {
        "GLOBUS_CLIENT_ID": "...",
        "GLOBUS_CLIENT_SECRET": "..."
      }
    }
  }
}

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

globus_mcp_xpcs-0.1.0.tar.gz (81.9 kB view details)

Uploaded Source

Built Distribution

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

globus_mcp_xpcs-0.1.0-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: globus_mcp_xpcs-0.1.0.tar.gz
  • Upload date:
  • Size: 81.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for globus_mcp_xpcs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fb1dca0ca321e624ac0e8d2d5ad486b699917980cda6ff009ca24e195e259ed3
MD5 465598ca0cac607a63114b8d633a74a2
BLAKE2b-256 432af1b0b000e62b13f79024dec602cec720aa95d6ad4c3fc993a8b491bc913d

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on globus-gladier/globus-mcp-xpcs

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

File details

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

File metadata

  • Download URL: globus_mcp_xpcs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for globus_mcp_xpcs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f0aec9a7dfb437a1dd18da761938f4587afab609d51a3f783cd0b38c28f4e9e
MD5 fdd6c6cbb4fb1588a93a755a68c195c1
BLAKE2b-256 0504f8b547c1f26fe297c0b3874b0de088f7eb3e89c46851d74e3b7469a111a2

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on globus-gladier/globus-mcp-xpcs

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