Agentgates Compute
Confidential computers for AI swarms: sealed VMs (Intel TDX) by the hour, USDC over x402.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"compute": {
"url": "https://mcp.agentgates.ai/compute"
}
}
}원격 엔드포인트
https://mcp.agentgates.ai/computestreamable-http할 수 있는 일
도구 목록
도구 (3)
🟢compute_plans(plan)
Lists the confidential virtual machines (Intel TDX, memory encrypted in use) Agentgates rents to agents by the hour: each plan's vCPU, memory, disk and traffic, the hours one payment may buy, and the live price of each block of hours on each payment network (USDC over x402). Read from the live catalog at call time. Free: no account, no wallet, no payment. Pass `plan` to read one plan.
입력 스키마
{
"type": "object",
"properties": {
"plan": {
"type": "string",
"description": "One plan id, to read only that plan. Omit for every plan on sale."
}
},
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"plans": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"vcpu": {
"type": [
"number",
"null"
]
},
"memoryGb": {
"type": [
"number",
"null"
]
},
"diskGb": {
"type": [
"number",
"null"
]
},
"trafficGb": {
"type": [
"number",
"null"
]
},
"gpu": {
"type": "boolean"
},
"hours": {
"type": "object",
"properties": {
"min": {
"type": [
"number",
"null"
]
},
"max": {
"type": [
"number",
"null"
]
}
}
},
"fromUsdPerHour": {
"type": [
"string",
"null"
]
},
"minutePrices": {
"type": "array",
"description": "Quarter-hour prices, only while the API sells them: send minutes in place of hours.",
"items": {
"type": "object",
"properties": {
"minutes": {
"type": "number"
},
"byNetwork": {
"type": "array",
"items": {
"type": "object",
"properties": {
"network": {
"type": "string"
},
"totalUsd": {
"type": [
"string",
"null"
]
},
"usdPerHour": {
"type": [
"string",
"null"
]
}
}
}
}
}
}
},
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hours": {
"type": "number"
},
"byNetwork": {
"type": "array",
"items": {
"type": "object",
"properties": {
"network": {
"type": "string"
},
"totalUsd": {
"type": [
"string",
"null"
]
},
"usdPerHour": {
"type": [
"string",
"null"
]
}
}
}
}
}
}
},
"tier": {
"type": "string",
"description": "The plan's tier, where it has one."
},
"address": {
"type": "string",
"description": "\"own\": the machine's own fixed public address, in and out."
},
"ports": {
"type": "string",
"description": "\"any\": every port but closedPorts."
},
"closedPorts": {
"type": "array",
"items": {
"type": "number"
}
},
"protocols": {
"type": "array",
"items": {
"type": "string"
}
},
"regions": {
"type": "array",
"description": "Only on a plan that lists regions: where it runs, each at its own price. Send one as region to compute_quote.",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"fromUsdPerHour": {
"type": [
"string",
"null"
]
},
"oneHourUsd": {
"type": [
"string",
"null"
]
}
}
}
},
"dataIncludedGbPerHour": {
"type": "number",
"description": "Data out included for every hour bought, in GB."
},
"dataPricePerGb": {
"type": [
"string",
"null"
],
"description": "Data out past that, in USD per GB."
},
"maintenance": {
"type": "string"
}
}
}
},
"networks": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": "string"
},
"source": {
"type": "string"
},
"error": {
"type": "string"
},
"code": {
"type": [
"string",
"null"
]
}
},
"required": [
"ok"
]
}🟢compute_quote(plan, hours, minutes, image, port, ...)
Gets the exact price of one machine without paying: sends the create request with no payment and returns the API's HTTP 402 offer, one leg per network, each with the amount in USDC, the address it is paid to, the token, how long a signature stays good, and what to sign. The API checks the plan, the hours and the setup first, so a refusal costs nothing. Pass `machine_id` and `hours` instead to price a renewal of a running machine (any wallet may pay one). Where the API sells quarter-hours (compute_plans shows minutePrices), send `minutes` (15, 30 or 45) in place of `hours`. For a plan that lists regions (compute_plans shows them), send `region`. Send `ai_usd` (1, 5, 25 or 100) to buy that AI balance in the same payment: the paying wallet gets it, and a key on it arrives in the machine's sealed env as AGENTGATES_API_KEY. To buy, sign one leg with your own wallet and send the same request with an X-PAYMENT header (compute_docs has the whole contract).
입력 스키마
{
"type": "object",
"properties": {
"plan": {
"type": "string",
"description": "A plan id from compute_plans. Not with machine_id."
},
"hours": {
"type": "integer",
"minimum": 1,
"description": "Prepaid hours (within the plan's range), or hours to add on a renewal. Or send minutes."
},
"minutes": {
"type": "integer",
"enum": [
15,
30,
45
],
"description": "In place of hours, where the API sells quarter-hours (compute_plans shows minutePrices): 15, 30 or 45 minutes, on every plan but GPU. A quarter-hour costs more per hour than an hour."
},
"image": {
"type": "string",
"description": "One container image, served on host port 8080, e.g. nginx:alpine. Or send compose."
},
"port": {
"type": "integer",
"minimum": 1,
"maximum": 65535,
"description": "With image: the container port behind 8080 (default 80)."
},
"compose": {
"type": "string",
"description": "A docker-compose.yml as a string. It must publish a port. Or send image."
},
"machine_id": {
"type": "string",
"description": "Price a renewal of this machine instead of a new one (with hours or minutes only)."
},
"region": {
"type": "string",
"description": "For a plan that lists regions (compute_plans shows them): the region to run in, by its id. Absent, the plan's first."
},
"ai_usd": {
"type": "integer",
"enum": [
1,
5,
25,
100
],
"description": "A new machine only: dollars of AI bought in the same payment, for the paying wallet; a key on that balance arrives in the machine's sealed env as AGENTGATES_API_KEY. Paid over x402 only."
}
},
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"kind": {
"type": "string",
"enum": [
"create",
"renew"
]
},
"request": {
"type": "object",
"properties": {
"method": {
"type": "string"
},
"url": {
"type": "string"
},
"body": {
"type": "object"
}
}
},
"description": {
"type": [
"string",
"null"
]
},
"resource": {
"type": [
"string",
"null"
]
},
"x402Version": {
"type": [
"number",
"null"
]
},
"legs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"network": {
"type": "string"
},
"scheme": {
"type": "string"
},
"amountAtomic": {
"type": [
"string",
"null"
]
},
"amountUsdc": {
"type": [
"string",
"null"
]
},
"payTo": {
"type": [
"string",
"null"
]
},
"asset": {
"type": [
"string",
"null"
]
},
"validSeconds": {
"type": [
"number",
"null"
]
},
"sign": {
"type": "object"
}
}
}
},
"next": {
"type": "string"
},
"status": {
"type": [
"number",
"null"
]
},
"error": {
"type": "string"
},
"code": {
"type": [
"string",
"null"
]
}
},
"required": [
"ok"
]
}🟢compute_docs
Returns the Agentgates compute docs, read live (markdown written for an agent to follow in one pass): the plans with live prices, how to pay the 402 on each network, how to poll a machine until it runs, how to renew it (any wallet may pay a renewal), how to sign owner calls (X-Wallet-Auth: EIP-191 over METHOD\npath\nnonce\ntimestamp, by the wallet that paid), the controls (stop, start, restart, resize, update), and what a lost answer or a refusal means.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"markdown": {
"type": "string"
},
"source": {
"type": "string"
},
"error": {
"type": "string"
},
"code": {
"type": [
"string",
"null"
]
}
},
"required": [
"ok"
]
}커뮤니티
증거