FirstKey

FirstKey MCP: agent wallets, free cycles faucet, and one-command site deploys on ICP.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
98%
Integridad del esquema
91%
Calidad de los nombres
93%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,339Tokens (definiciones de herramientas)
~1.2 KBTamaño de respuesta típico
Impacto moderado en la atención (1.05% del contexto de 128k)

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": {
    "firstkey-mcp": {
      "url": "https://mcp.firstkey.io/mcp"
    }
  }
}

Puntos de conexión remotos

https://mcp.firstkey.io/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (8)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟡create_wallet

Generate a fresh Ed25519 wallet for an AI agent: returns the ICP principal and the PKCS#8 PEM private key. The private key is returned exactly once over this call and is never stored anywhere. No signup, no on-chain registration — the keypair IS the wallet.

Esquema de entrada

{
  "type": "object",
  "properties": {}
}
⚪claim_faucet_grant(agent)

Claim the one-time free 1T cycles grant from the FirstKey faucet for an agent principal. One claim per principal, ever. The grant lands on the cycles ledger and funds the agent's first canister deploy.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "agent": {
      "description": "The agent's ICP principal (text form) receiving the grant.",
      "type": "string"
    }
  },
  "required": [
    "agent"
  ]
}
🟡deploy_site(agent, files)

Deploy a static website for an agent: creates a canister on the Internet Computer, installs the FirstKey static host, uploads every file, and returns the live https URL. The agent is added as a controller of its site canister. One free deploy per agent principal, funded from the FirstKey deploy pool; files must fit in one call (total under ~1.4 MB decoded) — use deploy_upload_chunk for larger files.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "agent": {
      "description": "The agent's ICP principal — becomes a controller of the site canister.",
      "type": "string"
    },
    "files": {
      "description": "Files to publish. Include at least index.html.",
      "items": {
        "properties": {
          "content_base64": {
            "description": "File bytes, base64-encoded.",
            "type": "string"
          },
          "content_type": {
            "description": "Optional MIME type; guessed from extension when omitted.",
            "type": "string"
          },
          "path": {
            "description": "Site path, e.g. index.html or css/main.css",
            "type": "string"
          }
        },
        "required": [
          "path",
          "content_base64"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "agent",
    "files"
  ]
}
🟡deploy_upload_chunk(agent, canister, chunk_base64, chunk_index, content_type, ...)

Upload one chunk of a large file to an already-deployed agent site (for files that don't fit in a single deploy_site call). Chunks are appended in order; set is_last on the final chunk to publish the file.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "agent": {
      "description": "The agent's ICP principal (must own the site).",
      "type": "string"
    },
    "canister": {
      "description": "The site canister principal returned by deploy_site.",
      "type": "string"
    },
    "chunk_base64": {
      "description": "Chunk bytes, base64-encoded.",
      "type": "string"
    },
    "chunk_index": {
      "description": "0-based chunk number. 0 starts a new upload for this path.",
      "type": "integer"
    },
    "content_type": {
      "description": "MIME type (only used on the first chunk).",
      "type": "string"
    },
    "is_last": {
      "description": "True on the final chunk: assembles and publishes the file.",
      "type": "boolean"
    },
    "path": {
      "description": "Site path, e.g. assets/video.mp4",
      "type": "string"
    },
    "total_bytes": {
      "description": "Total file size in bytes, as a decimal string (only used on the first chunk).",
      "type": "string"
    }
  },
  "required": [
    "agent",
    "canister",
    "path",
    "chunk_index",
    "chunk_base64",
    "is_last"
  ]
}
🟢check_cycles(principal)

Read an ICP principal's cycles balance on the cycles ledger.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "principal": {
      "description": "ICP principal (text form).",
      "type": "string"
    }
  },
  "required": [
    "principal"
  ]
}
🟡get_fuel_link(principal)

Get the FirstKey Fuel payment link for a principal: a human pays by card (Stripe) and cycles land in the agent's wallet — the sovereign refuel path when the free faucet grant or deploy pool is exhausted.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "principal": {
      "description": "The agent's ICP principal to refuel.",
      "type": "string"
    }
  },
  "required": [
    "principal"
  ]
}
🟢get_swap_quote(fee, pay_amount, pay_token, receive_token)

Get a live, read-only swap quote on ICPSwap (the deepest on-chain DEX on ICP): how much receive_token you would get for pay_amount of pay_token. No tokens move — this prices the intent; execution happens in the agent's own wallet/canister. Tokens can be symbols (ICP, ckUSDC, ckUSDT, ckBTC, ckETH) or ledger principals.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "fee": {
      "description": "Optional pool fee tier in hundredths of a bps (3000 = 0.3%). Defaults to trying 3000, then 10000, then 500.",
      "type": "integer"
    },
    "pay_amount": {
      "description": "Amount to sell, in base units as a decimal string (e.g. \"100000000\" = 1 ICP).",
      "type": "string"
    },
    "pay_token": {
      "description": "Token to sell: symbol or ledger principal.",
      "type": "string"
    },
    "receive_token": {
      "description": "Token to buy: symbol or ledger principal.",
      "type": "string"
    }
  },
  "required": [
    "pay_token",
    "receive_token",
    "pay_amount"
  ]
}
🟢get_swap_route(fee, max_hops, pay_amount, pay_token, receive_token)

Route a swap intent across ICPSwap: prices the direct pool and every two-hop path through ICP, ckUSDC, ckUSDT, ckBTC, and ckETH live on-chain, chains each leg's quoted output into the next leg's input, and returns the best route leg-by-leg. Read-only — no tokens move. Use this instead of get_swap_quote when a direct pool may be thin or missing.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "fee": {
      "description": "Optional pool fee tier in hundredths of a bps (3000 = 0.3%), applied to every leg. Defaults to trying 3000, then 10000, then 500 per leg.",
      "type": "integer"
    },
    "max_hops": {
      "description": "1 = direct path only, 2 = also try two-hop routes via intermediate tokens (default 2).",
      "type": "integer"
    },
    "pay_amount": {
      "description": "Amount to sell, in base units as a decimal string (e.g. \"100000000\" = 1 ICP).",
      "type": "string"
    },
    "pay_token": {
      "description": "Token to sell: symbol or ledger principal.",
      "type": "string"
    },
    "receive_token": {
      "description": "Token to buy: symbol or ledger principal.",
      "type": "string"
    }
  },
  "required": [
    "pay_token",
    "receive_token",
    "pay_amount"
  ]
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada8 herramientas
verificadoversión no registrada6 herramientas