SuperAPIAI Directory

amplerun-mcp

github.com · AI developer platforms

AmpleRun MCP is an MCP server for AI agents that lets agents find, rent, and pay for GPU resources on the AmpleRun platform (using USDC on the Base chain, via the x402 protocol), register their own accounts, and host their owners' GPUs. The server is read-only by default; spending permission must be explicitly enabled via the environment variable AMPLERUN_MCP_ALLOW_SPEND=1. It supports local stdio operation and can also use the remote service hosted at https://amplerun.com/api/mcp .

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

AmpleRun MCP is an MCP (Model Context Protocol) server that lets AI agents find, rent, and pay for GPUs on the AmpleRun platform. It wraps the TypeScript SDK @amplerun/sdk, runs locally via stdio, and can also use the remote service hosted at https://amplerun.com/api/mcp (Streamable HTTP, authenticated with Authorization: Bearer ark_...).

Purpose and main capabilities: Agents can browse templates and quotes, price rentals, initiate rentals within a user-set budget, check rental status and access methods, and stop rentals. In addition, agents can register their own accounts and host their owners' GPUs. Payments use USDC on the Base chain and are completed via the x402 protocol; top_up returns an x402 payment requirement when no wallet is present, for the user's own wallet to sign.

Usage: The local server is read-only by default; rentals or stops are only possible after starting with AMPLERUN_MCP_ALLOW_SPEND=1. The hosted service can be used without installation; in the hosted service, keys with the renter scope can rent and stop on their own, other keys are read-only, and AMPLERUN_MCP_ALLOW_SPEND only applies to the local server. Local operation requires Node.js 20 or later, with the command npx -y @amplerun/mcp, and environment variables configured. In Claude Desktop, edit claude_desktop_config.json and restart; other MCP clients that support stdio can also be used. When sharing .mcp.json, you can add -s project and pass -e 'AMPLERUN_API_KEY=${AMPLERUN_API_KEY}' in single quotes so the file stores only a reference and each person exports their own key.

Security and limitations: The API key is sent to the API only as an Authorization header; the server does not write it to output, logs, or error messages, but the key will exist in the client configuration file. It is recommended to use a renter-scope key with an expiration time and revoke it under Account → Security when done. Read tools carry readOnlyHint and write tools carry destructiveHint, so clients that support annotations can ask before each write. Amounts are represented as integer strings in asset micro-units ("1000000" means 1 USDC), passed through exactly as returned by the API, without conversion to floating point. Quote prices are whole-machine hourly prices (fees included); the platform fee is a fixed 5%, deducted from the charge rather than added on top. budget_micro is a hard cap; AmpleRun reserves from the balance and meters based on verified ready state, so the final charge may be lower. create_rental sends an Idempotency-Key for its quote and reservation and returns it; retrying with the same idempotency_key will not create a second rental.

Use cases: Agents running in tools such as Claude Code on machines with Node.js installed can use it to automate finding and renting GPU resources. Features still to be completed include: OAuth support required by clients that only accept OAuth connectors, and MCPB packaging for Claude Desktop users without Node.js.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools