FirstKey
FirstKey MCP: agent wallets, free cycles faucet, and one-command site deploys on ICP.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"firstkey-mcp": {
"url": "https://mcp.firstkey.io/mcp"
}
}
}Remote-Endpunkte
https://mcp.firstkey.io/mcpstreamable-httpWas es kann
Tool-Inventar
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.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-Schema
{
"type": "object",
"properties": {
"principal": {
"description": "The agent's ICP principal to refuel.",
"type": "string"
}
},
"required": [
"principal"
]
}Community
Nachweis