Xstocks MCP Server
by evidaiio.github.evidai/xstocksv0.1.4
Buy tokenized US stocks (xStocks) on Solana via Jupiter DEX in USDC. Daily cap. Dry-run default.
context tax
queued
security
queued
cold start
queued
freshness
Slowing4mo ago
Install Xstocks MCP server
Install in Claude Code
claude mcp add xstocks -e SOLANA_WALLET_PRIVATE_KEY='<solana-wallet-private-key>' -- npx -y xstocks-mcpInstall in Cursor
{
"mcpServers": {
"xstocks": {
"command": "npx",
"args": [
"-y",
"xstocks-mcp"
],
"env": {
"SOLANA_WALLET_PRIVATE_KEY": "<solana-wallet-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"xstocks": {
"command": "npx",
"args": [
"-y",
"xstocks-mcp"
],
"env": {
"SOLANA_WALLET_PRIVATE_KEY": "<solana-wallet-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"xstocks": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"xstocks-mcp"
],
"env": {
"SOLANA_WALLET_PRIVATE_KEY": "<solana-wallet-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"xstocks": {
"command": "npx",
"args": [
"-y",
"xstocks-mcp"
],
"env": {
"SOLANA_WALLET_PRIVATE_KEY": "<solana-wallet-private-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SOLANA_WALLET_PRIVATE_KEY | — | yes | 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. |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-06-17 · 4mo ago · GitHub
Latest release
2026-05-11 · 5mo ago · GitHub · xstocks-v0.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-05-16 · 5mo ago · official registry · v0.1.4
FAQ
›How do I install the Xstocks MCP server in Claude Code?
Run: claude mcp add xstocks -e SOLANA_WALLET_PRIVATE_KEY='<solana-wallet-private-key>' -- npx -y xstocks-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Xstocks require an API key?
Yes. It expects SOLANA_WALLET_PRIVATE_KEY, of which 1 is a secret.
›Can I use Xstocks as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Xstocks in the official MCP registry?
Yes, as io.github.evidai/xstocks.
Alternatives to Xstocks
Other finance & fintech MCP servers.