
cloudHPC
cloud.cloudhpc由 cloudhpc.cloud 發布官方發布者v0.8.1更新於 Nov 7, 2026
Run FDS, OpenFOAM, CalculiX and other engineering simulations on cloudHPC from your AI assistant.
概覽
透過 AI 助理在 cloudHPC 雲端服務上執行 FDS、OpenFOAM、CalculiX 等工程模擬,從檢查案例到取回結果。
- 可以做什麼
- 檢查本機案例資料夾,辨識求解器與模型規模,並提供 vCPU/記憶體建議
- 查詢可用求解器、機型選項以及各求解器的案例準備指南
- 上傳案例資料夾,啟動、續算、停止執行中的模擬,並在執行中調整設定
- 追蹤執行狀態、等待完成、讀取日誌並取得已知求解器錯誤的診斷
- 瀏覽儲存空間與結果,下載結果壓縮檔,產生臨時上傳/下載連結
- 啟動並開啟遠端桌面進行後處理,查看 API 速率限制
- 適用情境
- 適合在 cloudHPC 上執行 FDS、OpenFOAM、CalculiX、code_aster 等求解器,並希望以對話取代網頁介面來準備、啟動、監控與取回案例的人。也適合排查執行失敗原因,或在花錢前評估資源配置。
- 執行需求
- 需要 cloudHPC 帳號與 API 金鑰。本機安裝需 Python 3.10 以上版本及 cloudhpc-mcp 套件,金鑰放在 CLOUDHPC_APIKEY 環境變數或 cloudHPCexec 的金鑰檔案中。託管端點需 OAuth 登入或 X-API-Key 標頭。需要能連線至 cloudHPC;部分用戶端需調高工具逾時以支援長時間等待。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 cloudHPC,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/cloud.cloudhpc%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"cloudhpc": {
"type": "http",
"url": "https://mcp.cloudhpc.cloud/mcp"
}
}
}README
cloudHPC MCP server
Run engineering simulations on cloudHPC from AI assistants that support the Model Context Protocol (MCP): Claude, ChatGPT/Codex, Gemini, GitHub Copilot and others, from their desktop apps, terminal apps and, where supported, web apps. Inspect a local case, get vCPU/RAM advice, upload the folder, launch, monitor, diagnose errors and download the results, all from a conversation.
Supported solvers: everything available on cloudHPC (FDS, OpenFOAM, snappyHexMesh, DAFoam, code_aster, CalculiX, OpenRadioss/OpenCourant, SU2, openTELEMAC, LIGGGHTS, LAMMPS, Kratos Multiphysics, OpenLB, Palabos, FreeFEM, T-Flows, DualSPHysics, preCICE coupled OpenFOAM/CalculiX/code_aster, EnergyPlus, CONTAM, ...). Resource advice follows the cloudHPC scalability rules and run diagnosis follows the cloudHPC errors guide.
- What you can ask
- Safe first prompts
- Tools
- Installation
- Connect your AI assistant
- Good to know
- Troubleshooting
What you can ask
- "Check the FDS case in this folder and tell me which resources to use."
- "Run it on cloudHPC and download the results when it finishes."
- "What is the status of my running simulations?"
- "My last run failed: what went wrong?"
- "My OpenFOAM run is converging well: extend endTime to 2000 without stopping it."
Safe first prompts
Start with questions that only read data, then move on to actions that cost money once you are comfortable with how the assistant works:
- "How do I prepare an OpenFOAM case for cloudHPC?" (no account needed)
- "List my last simulations and summarise their status."
- "Why did my last simulation fail? Check the log."
- "Which vCPU and RAM type should I use for an FDS model with 8 meshes and 2 million cells?"
- "What is in the storage folder of my last run, and which files are results?"
Only then: "Upload this case and launch it", "Resume simulation 1234". Every action that costs money or deletes data asks for your confirmation first, and the assistant shows you what it will do. With OAuth sign-in you can also connect with read-only access (see Sign-in with OAuth).
Tools
Actions that cost money or delete data (launching a run, a hard stop, deleting from storage) always need your confirmation. In apps that support it (e.g. Claude Code) the server shows you a confirmation dialog directly, so the assistant cannot confirm on your behalf; in other apps the assistant shows you a summary and waits for your OK.
¹ Only with the local installation: they work on files on your computer. In web
apps (hosted endpoint) use get_upload_link / get_download_link instead.
Installation
Requirements:
- Python 3.10 or newer
- A cloudHPC account and its API key: open your cloudHPC profile page (APIKEY docs). The key gives full access to your account: keep it private.
Install with pipx (recommended: isolated, and the
command ends up in ~/.local/bin, easy to find for desktop apps):
or with pip:
This installs the cloudhpc-mcp command. Find its full path, you may need it
below:
The API key is read from the CLOUDHPC_APIKEY environment variable or, if that
is not set, from the file ~/.cfscloudhpc/apikey created by
cloudHPCexec.
Connect your AI assistant
There are two ways to connect:
- Local installation (desktop and terminal apps): the server runs on your computer, so it can read your case folders and save results next to them. All tools are available. Recommended.
- Hosted endpoint (web apps):
https://mcp.cloudhpc.cloud/mcp, nothing to install. You connect by signing in once with your API key (OAuth) or by sending the key in a header. It cannot read files on your computer: you upload cases and download results with temporary links (or from the cloudHPC web app). See Web apps.
In every example replace your-api-key with your key. If the assistant cannot
find the cloudhpc-mcp command, write its full path instead (see
Installation).
Claude
Claude Desktop
Open Settings > Developer > Edit Config and add the server to
claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux: use Edit Config to open the file
Restart Claude Desktop. The cloudHPC tools appear in the tools menu of a new conversation.
Claude Code
--scope user makes it available in every folder. Check it with claude mcp list
or /mcp inside Claude Code.
ChatGPT / Codex
ChatGPT desktop app
In recent versions of the ChatGPT desktop app: Settings > MCP servers > Add server, choose STDIO:
- Command:
cloudhpc-mcp - Environment variable:
CLOUDHPC_APIKEY=your-api-key
The app shares its MCP configuration with Codex (~/.codex/config.toml, see
below), so a server added in one is available in the other. Availability
depends on app version and plan. The ChatGPT web app only supports remote
connectors and cannot run this local server.
Codex CLI
or edit ~/.codex/config.toml:
Check it with codex mcp list.
Gemini
Gemini CLI
or edit ~/.gemini/settings.json:
$CLOUDHPC_APIKEY takes the key from your shell (export CLOUDHPC_APIKEY=...);
timeout (milliseconds) lets wait_for_simulation wait up to 30 minutes.
Check it with /mcp inside Gemini CLI.
The Gemini desktop and web apps do not support custom MCP servers.
GitHub Copilot
VS Code (Copilot agent mode)
Run MCP: Open User Configuration from the Command Palette (or create
.vscode/mcp.json in a project) and add:
VS Code asks for the key once and stores it securely. Open Copilot Chat in Agent mode and enable the cloudHPC tools from the tools picker.
Copilot CLI
Edit ~/.copilot/mcp-config.json:
or use /mcp add inside a Copilot CLI session. The Microsoft Copilot app for
Windows does not support custom MCP servers.
Other MCP clients
Configure a stdio server with command cloudhpc-mcp and the environment
variable CLOUDHPC_APIKEY.
Web apps (hosted endpoint)
Endpoint: https://mcp.cloudhpc.cloud/mcp (streamable HTTP). Two ways to
authenticate:
- Sign in with OAuth (ChatGPT, Gemini, claude.ai and any client that supports OAuth for MCP servers): see Sign-in with OAuth.
- API key header: the client sends your key with every request in the
X-API-Keyheader (orAuthorization: Bearer <key>). The endpoint stores nothing: the key is only forwarded to the cloudHPC API for that request.
What changes compared with the local installation:
inspect_case,upload_folderanddownload_resultsare not available: the hosted server cannot see your computer.- To upload a case, compress the content of the case folder (files at the
root of the archive) and ask the assistant for an upload link
(
get_upload_link): it gives you a readycurlcommand. Or upload it from the cloudHPC web app. - To get results, ask for a download link (
get_download_link).
Sign-in with OAuth
When you add the connector with OAuth, the assistant opens a cloudHPC sign-in page:
- Check the name of the app asking for access. It will be able to see your simulations and storage, upload files and launch or stop simulations, which are billed to your account.
- Paste your API key (how to find your API key).
- Optionally tick Read-only access: the assistant can then see simulations, storage and results, but cannot launch, stop, resume, upload, delete or open remote desktops. Useful to try the connector safely, or for colleagues who only need to follow the runs.
- Click Connect.
The assistant never sees the key: it receives tokens that expire after one hour and are renewed automatically for 30 days, then you sign in again. To revoke access for every connected assistant, regenerate the API key in your cloudHPC profile: access stops within an hour.
claude.ai
On plans with custom connectors: Settings > Connectors > Add custom
connector, URL https://mcp.cloudhpc.cloud/mcp, then either:
- leave the authentication on OAuth and sign in when asked (Sign-in with OAuth), or
- choose No sign-in and under Request headers add
X-API-Key=your-api-key.
Enable the connector in a conversation from the tools menu. The same connector is also available in the Claude desktop and mobile apps.
ChatGPT web
In ChatGPT, turn on developer mode and add a custom connector (app):
- URL:
https://mcp.cloudhpc.cloud/mcp - Authentication: OAuth
Then sign in on the cloudHPC page (Sign-in with OAuth).
Gemini web
In the Gemini app (gemini.google.com):
- Click Customise in the left sidebar.
- Open the Connectors tab.
- Click + Custom, enter the URL
https://mcp.cloudhpc.cloud/mcpand click Next. - Sign in on the cloudHPC page that opens (Sign-in with OAuth).
Gemini registers itself automatically: you do not need an OAuth client ID or secret. The connector then appears under Connected apps.
Copilot web
Microsoft Copilot and Copilot Chat on github.com do not support custom MCP servers.
Other clients using the hosted endpoint
Any MCP client that supports streamable HTTP with custom headers works, for example:
(the second is the Gemini CLI format; VS Code uses "type": "http", "url"
and "headers"; Codex CLI uses url and http_headers in config.toml).
Good to know
- Upload layout: the content of the case folder is archived at the root of
upload.tar.gzand uploaded into a storage folder with the same name as the local folder. Hidden files are skipped. Folder names must not contain, ( ) ' $ ~ " #or spaces. - Resources: FDS, CalculiX and code_aster start on
highcpu; after a memory error move tostandard, thenhighmem. OpenFOAM and other MPI-only solvers usehighcoreorhypercore. 1 vCPU onhighcpuis never suggested for a solver: it has too little RAM to start. - Checking runs: a run can end as COMPLETED even if the solver failed. When
a run ends the server scans its output for the errors listed in the
errors guide and suggests the fix;
after downloading, it also checks the solver's own logs (OpenFOAM
log.*, FDS.out). - Costs are billed per vCPU-hour and shown in euro when a run ends.
- Storage: files are deleted automatically 60 days after creation. Download your results.
- Rate limits: 100 API calls/hour on free accounts, 500 on full accounts (no daily limit). The server reads the rate-limit headers and stops before exceeding them.
- Your data: what the tools return (simulation names, logs, file lists, costs) is sent to the AI provider of the assistant you use, under your own account and its terms. For confidential projects check your provider's data settings (e.g. training opt-out, business plans). With the local installation your API key stays on your computer; the hosted endpoint only forwards it and stores nothing. With OAuth sign-in the assistant only holds encrypted, expiring tokens, not the key.
Troubleshooting
Development
Server modes (CLOUDHPC_MCP_MODE):
scripts/e2e_test.py runs the whole workflow against the real API with your
account: it uploads a tiny FDS case and, with --confirm-costs, runs it on
1 vCPU for about a minute (--no-launch only uploads; --cleanup deletes the
test folder at the end).
Support
- Documentation: https://docs.cloudhpc.cloud
- Issues: https://github.com/CFD-FEA-SERVICE/cloudhpc-mcp/issues
License
Apache-2.0
來源:README.md,提交 f275c84
工具
0版本歷史
9- v0.8.1最新Nov 7, 2026
- v0.8.0Nov 6, 2026
- v0.7.9Nov 5, 2026
- v0.7.7Oct 20, 2026
- v0.7.6Oct 19, 2026
- v0.7.4Oct 17, 2026
- v0.7.3Oct 15, 2026
- v0.7.0Oct 15, 2026
- v0.6.4Oct 12, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分