prime-intellect-mcp
prime-intellect-mcp
Claude CodeがPrime IntellectのGPUポッドを自律的にレンタル、操作、終了できるようにします。管理者が設定した厳格な支出上限が適用されます。
概要
Claude Code(または任意のMCPクライアント)をPrime Intellectアカウントに接続するMCPサーバーです。これを使用することで、エージェントは以下の操作が可能になります:
🔍 検索: 要件に一致する最も安価なGPUポッドを検索
💸 見積もり: 課金前に価格を提示
🛒 プロビジョニング: ポッドの作成(
confirm=Trueを指定した場合のみ)🖥️ SSH: ポッドへのSSH接続(接続文字列はエージェント自身の
Bashツールに渡されます)🛑 終了: 作業完了後のポッド終了(終了忘れに対する警告機能付き)
「最も安いH100をレンタルしてトレーニングスクリプトを実行し、終わったら終了して」とClaudeに指示するだけで、400ドルの請求に驚くような事態を防ぐワークフローのために構築されています。
Related MCP server: claude-colab
60秒でインストール
Claude Codeを通じてGPUをレンタルし始めるには、以下の手順が必要です:
1. Prime Intellect APIキーを取得する
こちらをクリックして生成 → 権限を以下のように設定します:
スコープ | レベル |
Instances | Read and write |
Availability | Read only |
Billing | Read only |
SSH Keys | Read only |
キーをコピーしてください(pit_…で始まります)。
2. Claude Codeにサーバーを追加する
~/Library/Application Support/Claude/claude_desktop_config.json(macOS)またはプロジェクトの.mcp.jsonを開き、以下を貼り付けます:
{
"mcpServers": {
"prime-intellect": {
"command": "uvx",
"args": ["prime-intellect-mcp"],
"env": {
"PRIME_API_KEY": "pit_PASTE_YOURS_HERE",
"PRIME_MAX_HOURLY_USD": "5",
"PRIME_MAX_TOTAL_USD": "40"
}
}
}
}以上です。Claude Codeを再起動し、「現在1ドル/時間以下で利用可能なGPUは何ですか?」と尋ねてみてください。
uvxがない場合は、curl -LsSf https://astral.sh/uv/install.sh | sh(またはbrew install uv)でインストールしてください。これはuvパッケージマネージャーのワンライナーインストーラーであり、今後仮想環境の管理に悩む必要がなくなります。
✨ SSHの追加(オプション、+2分) — Claudeがポッド上でコードを実行するために必要
上記のサーバーだけでもポッドのプロビジョニング、確認、終了は可能です。しかし、Claude Codeが実行中のポッドにSSH接続してコマンドを実行するには、Prime Intellectがあなたのマシンの公開SSHキーを知っている必要があります。
3. マシン上のSSHキーを確認または生成する
ls ~/.ssh/*.pub # if you have id_ed25519.pub or similar, you're set
# otherwise:
ssh-keygen -t ed25519 -C "you@example.com" # press Enter through the prompts4. 公開キーをPrime Intellectに登録する
cat ~/.ssh/id_ed25519.pub # or whichever .pub file you have出力された内容(ssh-ed25519 …で始まる1行)をコピーし、app.primeintellect.ai/dashboard/ssh-keysのAdd SSH keyフォームに貼り付けます。
以上です。今後のポッドにはあなたの公開キーがauthorized_keysに含まれるようになり、Claude CodeのBashツールから直接SSH接続できるようになります:
ssh ubuntu@<pod-ip-from-pod_status> "nvidia-smi"v0.2で予定: Claude内からステップ4を実行できる
register_ssh_keyMCPツール(ブラウザを開く必要がなくなります)。進捗はissueトラッカーで確認できます。
Claudeでできること(9つのツール)
ツール | ユースケース |
| 「Prime IntellectではどのようなGPUタイプを提供していますか?」 |
| 「3ドル/時間以下で利用可能な1×H100ポッドを表示して。」 |
| 「残りのクレジットはいくらですか?」 |
| 「200GBディスク付きの1×A100の見積もりを出して。」(課金なし) |
| 「その見積もりでポッドをプロビジョニングして。」( |
| 「実行中のポッドを表示して。」 |
| 「ポッドXは準備完了ですか?SSH情報が出るまで待機して。」 |
| 「ポッドXを終了して。」( |
| 「終了し忘れているポッドはありませんか?」 |
安全性:無断でのプロビジョニングは行われません
以下の3層の保護が適用されます:
まず見積もり:
pod_quoteは価格と60秒間有効なトークンを返します。副作用はなく、金額はエージェントのコンテキストに保持されます。明示的な確認:
pod_create(およびpod_terminate)にはconfirm=Trueが必要です。これがない場合、ドライランのプレビューのみが行われます。環境変数による厳格な上限:
PRIME_MAX_HOURLY_USDはレートを超えるポッドをブロックします。PRIME_MAX_TOTAL_USDは(レート × 最大稼働時間)が予算を超えるポッドをブロックします。ウォレット残高も強制的にチェックされます。これらの上限はツール引数で上書きすることはできず、呼び出しのたびに読み込まれます。
デフォルト値: PRIME_MAX_HOURLY_USD=5, PRIME_MAX_TOTAL_USD=40。設定ファイルのenvブロックで指定してください。
すべてのpod_create / pod_terminateはJSONとして~/.prime-intellect-mcp/audit.logに追記されるため、エージェントがあなたの資金をどのように使用したかの完全な履歴が残ります。
プロンプト例(Claude Codeに貼り付けてください)
List the cheapest 1×H100 pods available right now. Show me the top 3 by hourly price.Quote a 1×A100 80GB with 100GB disk, 8 vCPU, 64GB RAM. Don't provision yet —
just show me what it would cost.I need to fine-tune a 7B model overnight. Find the cheapest 1×H100 with 200GB
disk, max $40 total budget, max 12 hours. Provision it, give me the SSH command,
and remind me to terminate when I'm done.Check if I have any running pods I forgot about and show me their hourly cost.Terminate pod abc123. Confirm before doing it.トラブルシューティング
Claude Codeの設定がenvブロックを読み込めていないか、PRIME_API_KEYという名前が間違っています。以下で確認してください:
$ env | grep PRIMEClaude Codeを起動するのと同じシェルで確認するか、JSONのenvブロックにキーを直接貼り付けてください(${PRIME_API_KEY}を使用する代わりに)。
エージェントが上限を超えるポッドを選択しました。以下のいずれかを行ってください:
より安いGPUを選択する(
list_availabilityでリージョンフィルターを使用すると、より安いコミュニティ価格の行が表示されることがあります)。設定の
PRIME_MAX_HOURLY_USDを引き上げ、Claude Codeを再起動する。
見積もりは60秒間有効です。エージェントがpod_quoteとpod_createの間で時間をかけすぎました。再度pod_quoteを呼び出してください(コストはかかりません)。
プロビジョニングが完全に完了していません。ポッドは起動していますが、インストールスクリプトを実行中です。pod_status(pod_id, wait_for_ssh=True)を呼び出すと、SSHが利用可能になるまで(5秒ごとにポーリングして)待機します。
Prime Intellectに公開キーを伝えていないか、登録前にポッドがプロビジョニングされました。修正方法:
app.primeintellect.ai/dashboard/ssh-keysで公開キーが登録されているか確認する。
再プロビジョニング — ポッドの
authorized_keysは作成時に設定されるため、登録前に作成されたポッドにはキーが反映されません。秘密鍵にパスフレーズがある場合は、macOSで
ssh-add --apple-use-keychain ~/.ssh/your_keyを一度実行してください。これにより、エージェントが自動的にロックを解除できるようになります。
app.primeintellect.ai/walletでチャージしてから再試行してください。
なぜこれが必要なのか?
PyPIにはprime-mcp-server 0.1.2が存在しますが、これは概念実証レベルのものです。本プロジェクトはフォークではありません。夜間などの無人運用における違いは以下の通りです:
|
| |
2段階の見積もり → 確認 | ✅ | ❌ |
環境変数による支出上限 | ✅ | ❌ |
ウォレットの事前チェック | ✅ | ❌ |
暴走ポッドの検知 | ✅ | ❌ |
エージェントへのSSH引き渡し | ✅ | ❌ |
テスト | 32ユニット + ライブテスト | なし |
ローカル開発
git clone https://github.com/kvrancic/prime-intellect-mcp
cd prime-intellect-mcp
uv sync
uv run pytest -m "not live" # 32 fast tests, no network, no spend
uv run ruff check .
uv run mypy srcライブスモークテスト(最も安いGPUをプロビジョニングし、nvidia-smiを実行して終了。約0.05ドルの消費):
PRIME_API_KEY=pit_... PRIME_LIVE_TEST=1 PRIME_LIVE_MAX_HOURLY=0.60 \
PRIME_MAX_HOURLY_USD=0.60 PRIME_MAX_TOTAL_USD=2.00 \
uv run pytest tests/test_smoke_live.py -v -sロードマップ
v0.2 —
register_ssh_keyMCPツール(ダッシュボードでの手順を不要にする)、サンドボックス(prime-sandboxesSDK)、Environments Hubv0.3 — オプションの自動終了デーモン(サーバー側での
max_lifetime_hoursの強制)、コストテレメトリv1.0+ — Prime IntellectがOAuthをサポートした際のホスト型/OAuthデプロイ、Anthropicコネクタディレクトリへの提出
謝辞
Prime Intellect: 作業の90%を担う
primePython SDKを提供MIT 6.8610 (Advanced NLP): テストを可能にしたPrime Intellectクレジットを提供
FastMCP: フレームワークを提供
ライセンス
MIT — LICENSEを参照してください。
貢献
IssueやPRを歓迎します。提出前にuv run pytest -m "not live"とuv run ruff check .を実行してください。
Available Tools
9 toolsget_wallet_balanceA
Return the current Prime Intellect wallet balance and recent billings.
Use this to estimate how long a quoted pod can run, or to check why pod_create returned an insufficient-funds error.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description adequately discloses a read-only behavior and the return of balance and billings. There is no mention of side effects, rate limits, or auth requirements, but the tool is simple with no parameters and an output schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long with no wasted words. It front-loads the purpose immediately and follows with practical usage guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has no parameters, an output schema, and no annotations, the description fully covers its functionality, including both the return value and practical use cases.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, and the input schema coverage is 100% (vacuously). The description does not need to add parameter information, so a baseline of 4 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Return the current Prime Intellect wallet balance and recent billings,' identifying a specific verb and resource. It distinguishes itself from sibling tools like pod_create and pod_quote by focusing on wallet balance.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit use cases: estimating pod runtime and debugging insufficient-funds errors. It lacks an explicit when-not-to-use section, but the context is clear enough for a simple getter tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_availabilityA
List currently-available GPU pods that match the filters.
Returns the SDK's GPUAvailability rows (cloud_id, gpu_type, gpu_count, prices, disk/vcpu/memory bounds, stock_status, ...). Use this to pick a target before pod_quote, or to show the user options.
| Name | Required | Description | Default |
|---|---|---|---|
| gpu_type | No | GPU type slug, e.g. 'H100_80GB'. Strongly recommended — the unfiltered response is large. | |
| gpu_count | No | Required GPU count per pod (1, 2, 4, 8). None means any. | |
| regions | No | Optional list of region slugs. None means any. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description adequately discloses that it returns GPUAvailability rows and lists fields. It implies a read-only operation and mentions the unfiltered response is large, but could add performance or reliability notes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with three sentences: purpose, detail on returned data, and usage guidance. No superfluous words, well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has three optional parameters and an output schema, the description covers purpose, return type, and usage context. It could elaborate on pagination or filtering behavior, but overall complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and each parameter has a description. The tool's description adds value by noting that gpu_type is strongly recommended due to large unfiltered response, which goes beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool lists currently-available GPU pods matching filters, with a specific verb and resource. It distinguishes itself from siblings by mentioning its role before pod_quote or for showing options.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly says 'Use this to pick a target before pod_quote, or to show the user options,' providing clear context. However, it does not explicitly state when not to use it or compare to alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_gpu_typesA
List every GPU type Prime Intellect currently offers (e.g. "H100_80GB", "A100_80GB").
Use this when the user is vague about what they want. Pass the result into list_availability or pod_quote.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description must cover behavioral traits. It accurately describes a safe, read-only list operation. While it doesn't discuss data freshness or rate limits, the simplicity of the tool (no parameters, no side effects) makes the implicit behavior clear. Slight deduction for not mentioning any potential delays or consistency guarantees.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, each earning its place. The first sentence states the action and gives examples. The second provides usage guidance. No wasted words, and critical information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (no parameters, clear output described), the description is complete. The existence of an output schema means return values are fully specified. The description directly addresses the agent's need to clarify vague user requests and chain to other tools.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has no parameters, so schema description coverage is 100%. With 0 parameters, the baseline is 4. The description adds value by providing examples of GPU types, which helps agents understand the output without needing to inspect the output schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool lists all GPU types offered by Prime Intellect, with specific examples like 'H100_80GB' and 'A100_80GB'. It distinguishes from siblings by specifying its role in clarifying vague user requests and directing results to list_availability or pod_quote.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use the tool: 'when the user is vague about what they want.' Also provides clear next steps: 'Pass the result into list_availability or pod_quote.' This leaves no ambiguity about context and downstream usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pod_check_runawayA
Return locally-tracked pods that have run past max_lifetime_hours OR whose accumulated cost is approaching PRIME_MAX_TOTAL_USD.
Call this at the start of long-running sessions to catch forgotten pods.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden for behavioral disclosure. It states the tool returns matching pods but does not mention whether it is read-only, side effects, rate limits, or refresh behavior. For a check tool, assuming read-only is reasonable but not explicit.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, no wasted words. The first sentence states purpose, the second provides usage guidance. Front-loaded with key information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with no parameters and an output schema (not shown but exists), the description is fairly complete. It could note that the operation is read-only, but overall it covers what the tool does and when to use it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Tool has zero parameters, baseline is 4 per instructions. Description adds context about the filtering criteria (max_lifetime_hours and cost limit) which are not parameters but clarify the tool's logic. Schema coverage is 100% due to no parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states it returns 'locally-tracked pods that have run past max_lifetime_hours OR whose accumulated cost is approaching PRIME_MAX_TOTAL_USD'. This distinguishes it from sibling tools like 'pod_list' (list all) and 'pod_status' (status of specific pod), providing a specific verb+resource combination.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly advises 'Call this at the start of long-running sessions to catch forgotten pods', giving clear when-to-use context. While it doesn't exclude other scenarios, the guidance is sufficient for typical use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pod_createA
Provision a Prime Intellect GPU pod (or preview the provisioning).
With confirm=False: returns a dry-run preview describing what would happen. With confirm=True: validates spend caps + quote freshness, then provisions.
The server enforces:
quote_token must be fresh (TTL 60s)
hourly_usd ≤ PRIME_MAX_HOURLY_USD
hourly_usd × max_lifetime_hours ≤ PRIME_MAX_TOTAL_USD
estimated total ≤ wallet balance
On success, the pod is recorded in local state.json so pod_check_runaway can warn about overdue pods later.
| Name | Required | Description | Default |
|---|---|---|---|
| quote_token | Yes | Token returned by pod_quote. | |
| name | Yes | Human-readable pod name. | |
| max_lifetime_hours | No | Soft budget cap: hourly_usd × this must fit under PRIME_MAX_TOTAL_USD. | |
| confirm | No | Required True to actually provision. False returns a dry-run preview. | |
| env_vars | No | Optional env vars to inject into the pod. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, description discloses dry-run vs actual provisioning, server constraints, and side effects like recording in state.json for runaway detection.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
About 80 words, well-structured with bullet points, front-loaded with key action, no wasted sentences.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers both modes, constraints, side effects. Output schema exists so return values not needed. Complete for provisioning tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
100% schema coverage but description adds context: explains confirm's dual role, constraints on max_lifetime_hours, and how quote_token is used.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states it provisions a GPU pod or previews provisioning, using specific verbs like 'provision' and 'preview'. It distinguishes from siblings like pod_quote and pod_terminate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explains when to use confirm=False vs True and lists server-enforced constraints. No explicit 'when not to use' but implicit from context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pod_listA
List every pod the API key can see (active + provisioning + stopped).
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description solely bears the burden. It mentions the statuses included but not any side effects, ordering, or pagination. Since an output schema exists, return value details may be covered there, but additional behavioral context (e.g., no mutations, read-only) is absent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no filler. Every word contributes meaning, making it maximally concise for its purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given zero parameters and an existing output schema, the description is largely sufficient. However, it could be slightly more complete by clarifying that it lists all visible pods without filtering (vs. pod_status for a specific pod).
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist, and schema coverage is 100% (trivially). The description adds no parameter information because none is needed. Baseline for zero parameters is 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly specifies the verb 'List', the resource 'pod', and the scope: 'every pod the API key can see' with explicit statuses (active, provisioning, stopped). It is distinctive from siblings like pod_status or pod_terminate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool vs. siblings such as pod_status for a specific pod. The description only states what it does, not when it is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pod_quoteA
Get a non-binding price quote + reserved provisioning payload.
Returns a quote_token (TTL=60s) that you pass to pod_create with confirm=True to actually provision. This tool has NO side effects.
The server picks the cheapest matching GPUAvailability row that satisfies the requested disk/vcpu/memory. If none matches, returns an error explaining what's available.
| Name | Required | Description | Default |
|---|---|---|---|
| gpu_type | Yes | GPU type slug, e.g. 'H100_80GB'. | |
| gpu_count | No | Number of GPUs per pod (1, 2, 4, 8). | |
| disk_size_gb | No | Disk size in GB. | |
| vcpus | No | vCPU count. | |
| memory_gb | No | Memory in GB. | |
| image | No | Container image slug. Use 'ubuntu_22_cuda_12' if unsure. | ubuntu_22_cuda_12 |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, description carries full behavioral burden. It discloses no side effects, TTL of 60s, server picks cheapest matching row, and returns error with available options if no match. Comprehensive and honest.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Four sentences with front-loaded purpose, then flow, behavior, and error case. No fluff, every sentence adds value. Very concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity and presence of output schema, the description covers essential aspects: return value, TTL, side-effect-free nature, selection logic, and error behavior. Complete for a quoting tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents each parameter well. Description adds overall logic (cheapest matching) but no extra per-parameter meaning beyond schema defaults and examples.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool gets a non-binding price quote and reserved provisioning payload, distinguishing it from sibling tools like pod_create. It specifies the verb 'Get' and the resource, making purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Description explains that the tool has no side effects and that the returned quote_token should be passed to pod_create with confirm=True to provision. It implicitly guides usage before creation, but lacks explicit when-not-to-use or alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pod_statusA
Get the current status (provisioning / active / failed) for a pod.
With wait_for_ssh=True, blocks (polls every 5s) until ssh_connection is
available — that's when you can SSH in. Returns the SSH connection string
in ssh_connection (e.g. "root@1.2.3.4 -p 22000"). Use it from your Bash
tool: ssh -o StrictHostKeyChecking=no <ssh_connection> "<cmd>".
| Name | Required | Description | Default |
|---|---|---|---|
| pod_id | Yes | The id returned by pod_create. | |
| wait_for_ssh | No | If True, poll until ssh_connection is populated or timeout_s elapses. | |
| timeout_s | No | Max seconds to wait when wait_for_ssh=True. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. It discloses polling behavior every 5s, blocking until SSH available, and return format for SSH connection. It does not cover rate limits or permissions but is sufficient for safe use.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is brief (4 sentences), front-loaded with purpose, then explains the optional blocking behavior and SSH usage. Every sentence adds value with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given tool complexity (polling, SSH) and presence of output schema, description adequately explains the blocking behavior and SSH string usage. Lacks details on full return object but output schema covers that.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema has 100% description coverage, so baseline is 3. Description adds marginal value by contextualizing SSH connection usage but essentially repeats parameter descriptions found in schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool gets pod status with specific statuses, and distinguishes from siblings like pod_create, pod_list, and pod_terminate by focusing on a single pod and offering SSH readiness detection.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for checking status and waiting for SSH, but does not explicitly state when to use versus alternatives like pod_list or pod_create, nor provides when-not-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pod_terminateA
Destroy (terminate) a pod. Idempotent on already-deleted pods.
Without confirm=True, returns a no-op preview so you can re-read your decision.
| Name | Required | Description | Default |
|---|---|---|---|
| pod_id | Yes | The pod to destroy. | |
| confirm | No | Required True to actually terminate. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry behavioral disclosure. It mentions idempotency and preview behavior, but it does not disclose potential side effects, required permissions, or data loss risks. While the preview feature adds transparency, the description lacks warnings about irreversibility, making it only partially transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, with the first sentence concisely stating purpose and idempotency, and the second explaining the preview feature. No unnecessary words or repetitions; every sentence earns its place, making it highly efficient and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple destructive tool with a clear output schema, the description covers purpose, idempotency, and preview behavior. However, it does not mention prerequisites (e.g., pod existence is handled by idempotency) or any contextual warnings about consequences. Slight gaps in completeness, but overall adequate given the tool's simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with descriptions for both parameters. The description adds value by clarifying the confirm parameter's preview behavior beyond the schema's 'Required True to actually terminate.' This extra context improves understanding without redundancy, justifying a score above the baseline of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states 'Destroy (terminate) a pod' with a clear verb and resource. It also notes idempotency on already-deleted pods, adding clarity. The tool is uniquely positioned among siblings as the only destroy operation, making its purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains the preview behavior with confirm=False, guiding when to preview vs execute. However, it does not provide explicit when-to-use or when-not-to-use guidance, nor does it compare to alternatives like pod_check_runaway. The usage guidelines are implied but not fully elaborated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
9 tool updates
v0.1.0- First observed
get_wallet_balance - First observed
list_availability - First observed
list_gpu_types - First observed
pod_check_runaway - First observed
pod_create - First observed
pod_list - First observed
pod_quote - First observed
pod_status - First observed
pod_terminate
TDQS
Scored across 9 tools
Each tool has a unique and clearly distinct purpose, from wallet balance and GPU availability listing to pod creation, quoting, and termination. There is no overlap that could cause an agent to select the wrong tool.
Tool names follow a consistent pattern: utility functions use verb_noun (e.g., get_wallet_balance, list_availability) and pod operations all start with pod_ (e.g., pod_create, pod_terminate). The naming is predictable and easily understood.
With 9 tools covering wallet, GPU types, availability, pod lifecycle (create, list, status, quote, terminate), and runaway monitoring, the count is well-scoped for the server's purpose. Each tool earns its place with no redundancy.
The tool surface covers the full lifecycle of GPU pod management: discovering availability, quoting, creating, monitoring status, listing, terminating, and checking for runaway pods. The inclusion of wallet balance and wait-for-SSH functionality addresses common operational needs.
Maintenance
Related MCP Connectors
On-demand GPU nodes for agents: create nodes, run commands, and submit jobs, billed by the minute.
Your AI Agent's Infrastructure Layer. Connect Claude, Copilot, Codex, or ChatGPT to 200+ managed open source services. Start databases, pipelines, and applications through natural language.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Related MCP Servers
- AlicenseAqualityFmaintenanceA server that allows LLMs to run Claude Code with all permissions bypassed automatically, enabling code execution and file editing without permission interruptions.1588 npm1,314MIT
- AlicenseNot gradedqualityFmaintenanceEnables Claude Code to execute shell commands, Python code, and file transfers on a Google Colab T4 GPU via an MCP server, bridging the GPU gap for AI coding agents.6MIT
- AlicenseAqualityDmaintenanceThis MCP server enables remote control and management of Claude Code agents, allowing you to execute missions, configure agent personalities, and integrate with other MCP tools.720 npm1MIT
- AlicenseAqualityDmaintenanceMCP server that lets any agent or MCP host delegate tasks to Claude Code running headless, with tools for review, validation, analysis, and autonomous work.4151 npm2MIT