Globus MCP Server

官方

使用 Globus 管理研究資料與運算。

文件

Globus MCP 伺服器

Globus MCP 伺服器讓 LLM 應用程式能夠與 Globus 服務互動。

支援的工具

Globus Transfer

  • globus_transfer_list_endpoints_and_collections - 列出使用者有權存取的端點和集合
  • globus_transfer_search_endpoints_and_collections - 使用篩選字串搜尋所有對使用者可見的端點和集合
  • globus_transfer_submit_task - 在兩個集合之間提交傳輸任務
  • globus_transfer_get_task_events - 取得任務事件清單
  • globus_transfer_list_directory - 列出集合上某個目錄的內容

Globus Compute

  • globus_compute_list_endpoints - 列出使用者有權存取的端點
  • globus_compute_register_python_function - 註冊一個 Python 函式
  • globus_compute_register_shell_command - 註冊一個 shell 指令
  • globus_compute_submit_task - 提交任務至端點
  • globus_compute_get_task_status - 擷取任務的狀態和結果

設定

以下設定相容於大多數支援 MCP 的 LLM 應用程式,例如 Claude Desktop

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

限制工具註冊

預設情況下,Globus MCP 伺服器會為每個服務註冊工具。若要僅為特定服務註冊工具,請使用 --services 命令列旗標:

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

指定用戶端憑證

如果您已在 Globus 網頁介面註冊了一個用戶端應用程式,可以透過 GLOBUS_CLIENT_IDGLOBUS_CLIENT_SECRET 環境變數來指定用戶端憑證:

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