PluginBench
MCP Server

io.github.evidai/xstocks MCP Server

io.github.evidai/xstocks

What is the io.github.evidai/xstocks MCP server?

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

How to install io.github.evidai/xstocks

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • SOLANA_WALLET_PRIVATE_KEY
    secret

    Base58 Solana wallet private key (Phantom export). Leave unset for dry-run mode.

  • XSTOCKS_ALLOW_LIVE

    Set to 'yes-i-understand' to enable real swaps. Dry-run by default.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "xstocks": {
      "command": "npx",
      "args": [
        "-y",
        "xstocks-mcp"
      ],
      "env": {
        "SOLANA_WALLET_PRIVATE_KEY": "<YOUR_SOLANA_WALLET_PRIVATE_KEY>",
        "XSTOCKS_ALLOW_LIVE": "<YOUR_XSTOCKS_ALLOW_LIVE>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "xstocks": {
      "command": "npx",
      "args": [
        "-y",
        "xstocks-mcp"
      ],
      "env": {
        "SOLANA_WALLET_PRIVATE_KEY": "<YOUR_SOLANA_WALLET_PRIVATE_KEY>",
        "XSTOCKS_ALLOW_LIVE": "<YOUR_XSTOCKS_ALLOW_LIVE>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "xstocks": {
      "command": "npx",
      "args": [
        "-y",
        "xstocks-mcp"
      ],
      "env": {
        "SOLANA_WALLET_PRIVATE_KEY": "<YOUR_SOLANA_WALLET_PRIVATE_KEY>",
        "XSTOCKS_ALLOW_LIVE": "<YOUR_XSTOCKS_ALLOW_LIVE>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "xstocks": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xstocks-mcp"
      ],
      "env": {
        "SOLANA_WALLET_PRIVATE_KEY": "<YOUR_SOLANA_WALLET_PRIVATE_KEY>",
        "XSTOCKS_ALLOW_LIVE": "<YOUR_XSTOCKS_ALLOW_LIVE>"
      }
    }
  }
}
Claude Code
claude mcp add xstocks --env SOLANA_WALLET_PRIVATE_KEY=<YOUR_SOLANA_WALLET_PRIVATE_KEY> --env XSTOCKS_ALLOW_LIVE=<YOUR_XSTOCKS_ALLOW_LIVE> -- npx -y xstocks-mcp

Related MCP servers

Stripe-style USDC billing for any API. 8 free demo services no signup. Non-custodial.

View repository →

Alpaca trading API with hard daily USD cap guard. Paper trading default; live opt-in.

View repository →

Polymarket prediction markets — buy/sell positions in USDC. LemonCake pay-per-call billing.

View repository →

Buy/sell tokenized US stocks (Dinari dShares) in USDC. Daily USD cap guard. Sandbox default.

View repository →