
Xstocks
Enable agents to buy xStocks tokenized US equities on Solana through Jupiter swaps in USDC, with dry-run default and a daily cap.
Overview
xStocks is an MCP server for the Build phase that buys tokenized US stocks on Solana via Jupiter DEX swaps in USDC with dry-run and daily-cap guards.
What is this MCP server?
- xstocks-mcp npm stdio server (v0.1.4) for Solana xStocks via Jupiter
- Swaps priced and settled against USDC on Solana
- Dry-run default when SOLANA_WALLET_PRIVATE_KEY is unset
- Live swaps require XSTOCKS_ALLOW_LIVE=yes-i-understand
- Daily cap guard documented for limiting automated swap volume
- Server version 0.1.4
- npm identifier xstocks-mcp; stdio transport
- 2 primary env vars: SOLANA_WALLET_PRIVATE_KEY, XSTOCKS_ALLOW_LIVE
What problem does it solve?
Agent workflows need Solana xStock exposure without you manually scripting Jupiter routes and wallet signing each time.
Who is it for?
Developers already on Solana who want MCP-driven xStock/USDC swap experiments with safe defaults.
Skip if: Builders avoiding crypto wallets, non-Solana stacks, or regulated brokerage requirements without on-chain literacy.
What do I get? / Deliverables
Your MCP client can request xStock buys in dry-run or live mode according to wallet key and XSTOCKS_ALLOW_LIVE settings.
- xstocks-mcp registered in agent MCP configuration
- Agent tools for Jupiter USDC-to-xStock swap flows with cap-aware behavior
Recommended MCP Servers
Journey fit
Install this while connecting Solana DeFi and stock-token liquidity into an agent workflow during product construction. Jupiter DEX and wallet keys are external integrations exposed as MCP tools, matching the integrations subphase.
How it compares
Solana Jupiter xStocks MCP connector, not Dinari dShares or Polymarket prediction-market tooling.
Common Questions / FAQ
Who is xstocks for?
Indie builders using MCP agents on Solana to access xStocks through Jupiter with USDC and configurable dry-run versus live swaps.
When should I use xstocks?
When integrating on-chain tokenized equity buys into an agent during Build, after testing in dry-run without a private key.
How do I add xstocks to my agent?
Add xstocks-mcp stdio to MCP config, keep the wallet key unset for dry-run, then set SOLANA_WALLET_PRIVATE_KEY and XSTOCKS_ALLOW_LIVE only for live Jupiter swaps.