How to Use the dYdX (Decentralized Perpetual Exchange API) MCP in Claude Code
Connect Claude Code to dYdX. Manage your perpetual trading from the terminal with headless execution and automated workflows.
Works with every AI agent you already use
…and any MCP-compatible client
Connect dYdX (Decentralized Perpetual Exchange API) MCP to Claude Code
Create your Vinkius account to connect dYdX (Decentralized Perpetual Exchange API) to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Headless Market Execution
Use `v4_create_order` directly from your terminal to execute trades. It integrates into your shell scripts and CI/CD pipelines. `v4_list_markets` lets you scan available pairs instantly. You get the speed of a terminal-first workflow for all your trading needs.
Automated Market Intelligence
Pipe `v4_get_orderbook` data into your monitoring scripts. It provides the raw output needed for high-frequency analysis. Use `v4_get_stats` to pull 24h market performance. It gives you the metrics you need to decide when to enter or exit a position.
Account Control via CLI
Run `v4_list_positions` to check your exposure from your CI/CD environment. It ensures your automated tasks always know your current state. `v4_get_account` returns your balance details. It gives you the visibility required for programmatic risk management.
Set up dYdX (Decentralized Perpetual Exchange API) MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seedydx-decentralized-perpetual-exchange-api-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest dYdX (Decentralized Perpetual Exchange API) transactions." It will automatically discover and invoke the available dYdX (Decentralized Perpetual Exchange API) tools.
claude mcp add --transport http dydx-decentralized-perpetual-exchange-api-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about dYdX (Decentralized Perpetual Exchange API) MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the dYdX (Decentralized Perpetual Exchange API) MCP today
We host it, we monitor it, we maintain it. You just paste one token.