MCP Server Studio
Gasless Solana swaps, market-cap limit, trailing and TWAP orders, and plans. Your key stays local.
Registry name: trade.onestop/onestop-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"onestop-mcp": {
"command": "npx",
"args": [
"-y",
"@onestop-trade/[email protected]"
],
"env": {
"ONESTOP_PRIVATE_KEY": "<ONESTOP_PRIVATE_KEY>",
"ONESTOP_KEYPAIR_PATH": "<ONESTOP_KEYPAIR_PATH>",
"SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
"ONESTOP_DRY_RUN": "<ONESTOP_DRY_RUN>"
}
}
}
}Run in your terminal:
claude mcp add onestop-mcp -e ONESTOP_PRIVATE_KEY='<ONESTOP_PRIVATE_KEY>' -e ONESTOP_KEYPAIR_PATH='<ONESTOP_KEYPAIR_PATH>' -e SOLANA_RPC_URL='<SOLANA_RPC_URL>' -e ONESTOP_DRY_RUN='<ONESTOP_DRY_RUN>' -- npx -y @onestop-trade/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"onestop-mcp": {
"command": "npx",
"args": [
"-y",
"@onestop-trade/[email protected]"
],
"env": {
"ONESTOP_PRIVATE_KEY": "<ONESTOP_PRIVATE_KEY>",
"ONESTOP_KEYPAIR_PATH": "<ONESTOP_KEYPAIR_PATH>",
"SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
"ONESTOP_DRY_RUN": "<ONESTOP_DRY_RUN>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"onestop-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@onestop-trade/[email protected]"
],
"env": {
"ONESTOP_PRIVATE_KEY": "<ONESTOP_PRIVATE_KEY>",
"ONESTOP_KEYPAIR_PATH": "<ONESTOP_KEYPAIR_PATH>",
"SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
"ONESTOP_DRY_RUN": "<ONESTOP_DRY_RUN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"onestop-mcp": {
"command": "npx",
"args": [
"-y",
"@onestop-trade/[email protected]"
],
"env": {
"ONESTOP_PRIVATE_KEY": "<ONESTOP_PRIVATE_KEY>",
"ONESTOP_KEYPAIR_PATH": "<ONESTOP_KEYPAIR_PATH>",
"SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
"ONESTOP_DRY_RUN": "<ONESTOP_DRY_RUN>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
ONESTOP_PRIVATE_KEY | Yes | The private key of the wallet that trades, as your wallet exports it. Use a wallet you keep for trading |
ONESTOP_KEYPAIR_PATH | No | Or the path to a keypair file, instead of the private key |
SOLANA_RPC_URL | No | Your RPC, used to simulate every transaction before signing (default: public mainnet) |
ONESTOP_DRY_RUN | No | true to trade nothing: order tools answer without calling onestop and swaps stop after the guard |