Skip to content
Grok

xstocks for Grok

io.github.evidai/xstocks

Buy tokenized US stocks (xStocks) on Solana via Jupiter DEX in USDC. Daily cap. Dry-run default.

client:Grok transport:stdio runtime:npm

Install xstocks 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": {
    "xstocks": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xstocks-mcp"
      ],
      "env": {
        "SOLANA_WALLET_PRIVATE_KEY": "<SOLANA_WALLET_PRIVATE_KEY>",
        "XSTOCKS_ALLOW_LIVE": "<XSTOCKS_ALLOW_LIVE>"
      }
    }
  }
}

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

xstocks in other clients