@grokchain/mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GROKCHAIN_CONFIG | No | Path to JSON config (e.g. config/mainnet.json or config/devnet.json). | |
| GROKCHAIN_CLUSTER | No | Cluster to use: localnet, devnet, or mainnet-beta. Default: localnet. | localnet |
| GROKCHAIN_RPC_URL | No | RPC URL (default follows cluster). | |
| GROKCHAIN_PROGRAM_ID | No | CORE program ID; required except localnet. | |
| GROKCHAIN_ROOT_KEYPAIR | No | Path to the human wallet file. | |
| GROKCHAIN_AGENT_KEYPAIR | No | Path to the agent keystore file. | |
| GROKCHAIN_RELAYER_KEYPAIR | No | Path to the relayer keystore file. | |
| GROKCHAIN_INTENTS_PROGRAM_ID | No | INTENTS program ID; required except localnet. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_accountA | Create the GrokAccount PDA for the human root. Root-signed. On localnet uses the local-only CORE id. On devnet uses the grokchain-devnet CORE program. If the root keypair path is missing, returns need_human_signature / need_human_setup and an unsigned tx. Never ask for a seed or key. |
| issue_grantA | Issue a capability Grant PDA to an agent pubkey. Root signs. Agent does not sign issue. expires_at_unix required and must be in the future. allowed_programs max 8, no duplicates, empty deny-all. cap 0 = call-only. v1 allowlist is router mode: localnet allowlists the local-only INTENTS id; devnet allowlists the grokchain-devnet INTENTS id (EYhYtq…). sponsor_eligible means this grant may use YOUR paymaster — not a promise Grok Chain pays. |
| revise_grantA | Replace Grant policy fields. Root signs. Agent cannot revise. Same policy rules as issue_grant. Cannot change the agent (different PDA). |
| revoke_grantB | Revoke a Grant. Root signs. Account is not closed. Agent cannot revoke. |
| check_grantC | Agent consume path. Agent signs. Increments spent_lamports. Does not move SOL. Empty allowlist is denied. cap 0 requires amount 0. Optional root if not in config. Relayer submits if you also call pay. |
| payB | Implemented INTENTS pay. On localnet uses the local-only intents id. On devnet builds against the grokchain-devnet INTENTS program. Agent signs. Relayer is the outer fee payer. Bot never holds SOL. Human-funded SpendVault is the SOL source. Optional sponsor reimburses the relayer from YOUR paymaster. Lands only if the human has rooted the account, issued a grant allowlisting the INTENTS id, funded SpendVault + Paymaster, and set RELAYER_KEYPAIR. Otherwise need_human_signature / need_human_setup. |
| swapA | Honest STUB. INTENTS swap returns IntentStub. Not implemented. Does not call a DEX. |
| deployA | Honest STUB. INTENTS deploy returns IntentStub. Not implemented. |
| callA | Honest STUB. INTENTS call returns IntentStub. Not implemented. |
| get_accountA | Read-only. Fetch the GrokAccount PDA if it exists. No signing. |
| get_grantB | Read-only. Fetch the Grant PDA if it exists. No signing. label is untrusted text. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/grokloop/grokchain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server