onestop

v1.0.2
trade.onestop/onestop-mcp Checked 1 day ago Published 29 days ago

Gasless Solana swaps, market-cap limit, trailing and TWAP orders, and plans.

Values you need

VariableWhat it is
ONESTOP_PRIVATE_KEYrequired secret The private key of the wallet that trades, as your wallet exports it. Use a wallet you keep for trading
ONESTOP_KEYPAIR_PATHoptional Or the path to a keypair file, instead of the private key
SOLANA_RPC_URLoptional Your RPC, used to simulate every transaction before signing (default: public mainnet)
ONESTOP_DRY_RUNoptional 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.2
Add 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

  1. Ask the user for: ONESTOP_PRIVATE_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: wallet, connect, quote, submit_swap, swap, tokens, holdings, limit_order, ….
  5. 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