onestop
v1.0.2Gasless Solana swaps, market-cap limit, trailing and TWAP orders, and plans.
Values you need
| Variable | What it is | |
|---|---|---|
ONESTOP_PRIVATE_KEY | required secret | The private key of the wallet that trades, as your wallet exports it. Use a wallet you keep for trading |
ONESTOP_KEYPAIR_PATH | optional | Or the path to a keypair file, instead of the private key |
SOLANA_RPC_URL | optional | Your RPC, used to simulate every transaction before signing (default: public mainnet) |
ONESTOP_DRY_RUN | optional | true to trade nothing: order tools answer without calling onestop and swaps stop after the guard |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add onestop-mcp -e 'ONESTOP_PRIVATE_KEY=<ONESTOP_PRIVATE_KEY>' -- npx -y @onestop-trade/onestop-mcp@1.0.2Add to
claude_desktop_config.json{
"mcpServers": {
"onestop-mcp": {
"args": [
"-y",
"@onestop-trade/onestop-mcp@1.0.2"
],
"command": "npx",
"env": {
"ONESTOP_PRIVATE_KEY": "<ONESTOP_PRIVATE_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"onestop-mcp": {
"args": [
"-y",
"@onestop-trade/onestop-mcp@1.0.2"
],
"command": "npx",
"env": {
"ONESTOP_PRIVATE_KEY": "<ONESTOP_PRIVATE_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "ONESTOP_PRIVATE_KEY",
"id": "onestop-private-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"onestop-mcp": {
"args": [
"-y",
"@onestop-trade/onestop-mcp@1.0.2"
],
"command": "npx",
"env": {
"ONESTOP_PRIVATE_KEY": "${input:onestop-private-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.onestop-mcp]
command = "npx"
args = ["-y", "@onestop-trade/onestop-mcp@1.0.2"]
env = { "ONESTOP_PRIVATE_KEY" = "<ONESTOP_PRIVATE_KEY>" }For AI agents
- Ask the user for: ONESTOP_PRIVATE_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: wallet, connect, quote, submit_swap, swap, tokens, holdings, limit_order, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json