Agentgates Compute
Confidential computers for AI swarms: sealed VMs (Intel TDX) by the hour, USDC over x402.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"compute": {
"url": "https://mcp.agentgates.ai/compute"
}
}
}Puntos de conexión remotos
https://mcp.agentgates.ai/computestreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"type": "object",
"properties": {
"plan": {
"type": "string",
"description": "One plan id, to read only that plan. Omit for every plan on sale."
}
},
"additionalProperties": false
}Esquema de salida
{
"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).
Esquema de entrada
{
"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
}Esquema de salida
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {},
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"markdown": {
"type": "string"
},
"source": {
"type": "string"
},
"error": {
"type": "string"
},
"code": {
"type": [
"string",
"null"
]
}
},
"required": [
"ok"
]
}Comunidad
Evidencia