Skip to content
Grok

Cloaked Agent for Grok

io.github.cloakedagent/cloaked

Trustless spending accounts for AI agents on Solana with on-chain enforced limits.

client:Grok transport:stdio runtime:npm

Install Cloaked Agent in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "cloaked": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cloakedagent/sdk"
      ],
      "env": {
        "CLOAKED_AGENT_KEY": "<CLOAKED_AGENT_KEY>",
        "CLOAKED_BACKEND_URL": "<CLOAKED_BACKEND_URL>",
        "SOLANA_RPC_URL": "<SOLANA_RPC_URL>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Cloaked Agent in other clients