FirstKey

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

使うべきか

品質と安全性

A
説明の品質
98%
スキーマの完全性
91%
命名の品質
93%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~1,339トークン数(ツール定義)
~1.2 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 1.05%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "firstkey-mcp": {
      "url": "https://mcp.firstkey.io/mcp"
    }
  }
}

リモートエンドポイント

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

できること

ツール一覧

ツール(8)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟡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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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"
  ]
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 8 件
検証済みバージョンは記録されていませんツール 6 件