FirstKey
FirstKey MCP: agent wallets, free cycles faucet, and one-command site deploys on ICP.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"firstkey-mcp": {
"url": "https://mcp.firstkey.io/mcp"
}
}
}Remote endpoints
https://mcp.firstkey.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (6)
🟡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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"type": "object",
"properties": {
"principal": {
"description": "The agent's ICP principal to refuel.",
"type": "string"
}
},
"required": [
"principal"
]
}Community
Evidence