Skip to main content
MCP server CX Codex

onestop — Claude Code MCP server: features and setup

This MCP server for Claude Code places Solana token swaps and manages orders through onestop. It can also create plans that buy a token and set an exit.

no license updated 2026-11-03

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env ONESTOP_PRIVATE_KEY=<ONESTOP_PRIVATE_KEY> --env ONESTOP_KEYPAIR_PATH=<ONESTOP_KEYPAIR_PATH> --env SOLANA_RPC_URL=<SOLANA_RPC_URL> --env ONESTOP_DRY_RUN=<ONESTOP_DRY_RUN> --transport stdio onestop -- npx -y @onestop-trade/onestop-mcp
Open on GitHub

What onestop does

onestop connects an agent to Solana token trading. It can fetch a quote, submit a swap, read token and wallet data, and place limit, trailing, or TWAP orders. A plan can make an entry purchase and arrange a protective or profit-taking exit.

Run it with Node 20.18 or later and provide a wallet through ONESTOP_PRIVATE_KEY or ONESTOP_KEYPAIR_PATH. The private key stays on the machine. SOLANA_RPC_URL can point to an RPC used to simulate transactions; without it, the server uses public Solana mainnet. The MCP process must be running when an order fires. If it is offline, execution waits until it returns and then uses the price at that time.

Before signing, the server simulates each transaction and checks its effects. Set paper: true on an order or plan to rehearse it using live route pricing; the transaction is neither signed nor traded.

What it helps with

  • quote and swap a Solana token
  • place a limit, trailing, or TWAP order
  • create an entry purchase with a planned exit
  • check wallet balances and trade activity

Example prompts for the agent

  • Swap this Solana token and show me the quote before submitting.
  • Place a limit order to buy this token.
  • Create a plan that buys the token and sets a protective exit.

How to install onestop

Platform CLI

claude mcp add --env ONESTOP_PRIVATE_KEY=<ONESTOP_PRIVATE_KEY> --env ONESTOP_KEYPAIR_PATH=<ONESTOP_KEYPAIR_PATH> --env SOLANA_RPC_URL=<SOLANA_RPC_URL> --env ONESTOP_DRY_RUN=<ONESTOP_DRY_RUN> --transport stdio onestop -- npx -y @onestop-trade/onestop-mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about onestop

How do I install onestop in Claude Code?

Run claude mcp add onestop-mcp -e ONESTOP_PRIVATE_KEY=<ONESTOP_PRIVATE_KEY> -- npx -y @onestop-trade/onestop-mcp. Replace the placeholder with the wallet's private key.

What does onestop do?

It lets an agent quote and swap Solana tokens, manage several order types, and create purchase plans with an exit.

What does onestop need to run?

It requires Node 20.18 or later and a wallet private key or keypair file. Keep the MCP process running for order execution; a custom SOLANA_RPC_URL can be supplied for transaction simulation.

Similar MCP servers

MCP servers catalog →

Project sponsors

Companies that keep this analytics open