Who this is for
Use this guide if you want to connect an AI agent to Joyride quickly without building against the raw HTTP or WebSocket APIs yourself. This is the recommended alpha path:- install the Joyride alpha package you received from the team
- create or import a wallet with
joyride setup - export your keystore passphrase
- add Joyride MCP to your agent client
- verify the connection
- place a first paper trade
Before you start
- Joyride CLI and MCP binaries installed from the alpha package you received from Joyride
joyride --helpworks in your terminalcommand -v joyride-mcpreturns a path in your terminal- Node.js >= 20.0.0
- A local MCP client such as Claude Code or Cursor
1. Create or import a wallet
Run the setup wizard:Create new walletif you want a fresh paper-trading identityImport existing walletif Joyride already told you to use a specific wallet
- config to
~/.joyride/config.toml - encrypted keystores to
~/.joyride/wallets/
2. Export your keystore passphrase
The MCP server runs non-interactively, so it needs the same passphrase you used during setup:JOYRIDE_PRIVATE_KEY instead, but the keystore flow is the recommended alpha path.
3. Add Joyride MCP to your agent
Claude Code
Create.mcp.json in your project root:
Cursor
Create.cursor/mcp.json:
Codex and other MCP-capable clients
If your client can launch a local stdio MCP server, reuse the same Joyride command and environment variables shown above:- command:
joyride-mcp - env:
JOYRIDE_WS_URL,JOYRIDE_HTTP_URL,JOYRIDE_KEYSTORE_PASSWORD
.gitignore. They contain secrets.
4. Restart and verify
Restart your MCP client, then verify the Joyride server is connected. In Claude Code:5. Try a first session
Start with read-only prompts:List available SOL instrumentsGet a quote for SOL_USDC-3MAR26-75-CShow my balance
Place a limit buy for 1 contract of SOL_USDC-3MAR26-75-C at $4.00
Supported clients
| Client | Status |
|---|---|
| Claude Code | Supported and tested |
| Cursor | Supported and tested |
| VS Code Copilot | Configuration documented; validate before broad alpha rollout |
| OpenClaw | Needs the local wallet-based config from the repo collateral updates |
| Codex | Experimental; use the generic stdio MCP pattern and validate before calling it supported |
Troubleshooting
Joyride: No config found
Run:
Error: JOYRIDE_KEYSTORE_PASSWORD env var is required
Your MCP client is launching joyride-mcp without the passphrase needed to decrypt your keystore. Add JOYRIDE_KEYSTORE_PASSWORD to the MCP config and restart the client.
Wallet not configured
Run:
joyride setup or create one explicitly with joyride wallet create.