Find, price, rent and stop GPUs on AmpleRun. Paid in USDC or USDT on Base. Flat 5% fee.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add amplerun-gpu-rentals --env AMPLERUN_API_KEY='<AMPLERUN_API_KEY>' -- npx -y @amplerun/mcp~/.codex/config.toml
[mcp_servers.amplerun-gpu-rentals]
command = "npx"
args = ["-y", "@amplerun/mcp"]
env = { AMPLERUN_API_KEY = "<AMPLERUN_API_KEY>" }
# codex mcp add amplerun-gpu-rentals --env AMPLERUN_API_KEY='<AMPLERUN_API_KEY>' -- npx -y @amplerun/mcp~/.cursor/mcp.json
{
"mcpServers": {
"amplerun-gpu-rentals": {
"command": "npx",
"args": [
"-y",
"@amplerun/mcp"
],
"env": {
"AMPLERUN_API_KEY": "<AMPLERUN_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"amplerun-gpu-rentals": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@amplerun/mcp"
],
"env": {
"AMPLERUN_API_KEY": "<AMPLERUN_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"amplerun-gpu-rentals": {
"command": "npx",
"args": [
"-y",
"@amplerun/mcp"
],
"env": {
"AMPLERUN_API_KEY": "<AMPLERUN_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"amplerun-gpu-rentals": {
"command": "npx",
"args": [
"-y",
"@amplerun/mcp"
],
"env": {
"AMPLERUN_API_KEY": "<AMPLERUN_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"amplerun-gpu-rentals": {
"command": "npx",
"args": [
"-y",
"@amplerun/mcp"
],
"env": {
"AMPLERUN_API_KEY": "<AMPLERUN_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http amplerun-gpu-rentals https://amplerun.com/api/mcp --header 'Authorization: Bearer <API_KEY>'~/.codex/config.toml
[mcp_servers.amplerun-gpu-rentals]
url = "https://amplerun.com/api/mcp"
bearer_token_env_var = "AMPLERUN_GPU_RENTALS_API_KEY"
# codex mcp add amplerun-gpu-rentals --url https://amplerun.com/api/mcp --bearer-token-env-var AMPLERUN_GPU_RENTALS_API_KEY
# export AMPLERUN_GPU_RENTALS_API_KEY=<API_KEY>~/.cursor/mcp.json
{
"mcpServers": {
"amplerun-gpu-rentals": {
"url": "https://amplerun.com/api/mcp",
"headers": {
"Authorization": "Bearer <API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"amplerun-gpu-rentals": {
"type": "http",
"url": "https://amplerun.com/api/mcp",
"headers": {
"Authorization": "Bearer <API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"amplerun-gpu-rentals": {
"httpUrl": "https://amplerun.com/api/mcp",
"headers": {
"Authorization": "Bearer <API_KEY>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"amplerun-gpu-rentals": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://amplerun.com/api/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer <API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"amplerun-gpu-rentals": {
"url": "https://amplerun.com/api/mcp",
"headers": {
"Authorization": "Bearer <API_KEY>"
}
}
}
}需要的环境变量
AMPLERUN_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。