Orderly MCP Server

MCP Server for Orderly Network - Documentation and SDK patterns

Remote serverstreamable-http

What is the Orderly MCP server?

Orderly MCP server is a hosted integration for AI assistants that speak the Model Context Protocol. MCP Server for Orderly Network - Documentation and SDK patterns.

What you get

A Model Context Protocol (MCP) server providing documentation and SDK patterns for Orderly Network - an omnichain perpetual futures trading infrastructure.

  • Documentation Search — Query Orderly docs for architecture, APIs, and concepts
  • SDK Patterns — Get code examples for all v2 hooks (useOrderEntry, usePositionStream, etc.)
  • Contract Addresses — Lookup smart contract addresses for all supported chains
  • Workflow Guides — Step-by-step explanations of common development tasks
  • Component Guides — Patterns for building trading UI components
  • API Reference — REST and WebSocket endpoint documentation

What the assistant can call

Once Orderly is connected, these are the calls the assistant has available:

  • Events — Account events with pagination (/events_v2) - trades, settlements, liquidations, transactions
  • Rankings — Positions, PnL, trading volume, deposits/withdrawals (/ranking/positions, /ranking/realized_pnl, /ranking/trading_volume, /ranking/deposit
  • auth — Wallet signature-based authentication (nonce, verify, validate)
  • dex — DEX management - create, update, delete, deploy, and manage exchanges
  • graduation — Graduation system - upgrade from demo to full broker with fee splits
  • theme — AI-powered theme generation and CSS customization
  • stats — Platform-wide statistics and analytics
  • leaderboard — DEX rankings, performance metrics, and leaderboards
  • admin — Administrative operations for platform management
  • Examples — The Examples tool exposed by this server
  • Features — The Features tool exposed by this server
  • Prerequisites — The Prerequisites tool exposed by this server

Setting it up

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

Configuration and credentials

You will need one environment variable: NEAR_AI_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Node.js 18 or higher - Yarn (or npm)

Choosing this one

Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Orderly's toolset — Events, Rankings, auth and 10 more — is a fair guide to whether it matches your workflow. It is maintained by OrderlyNetwork; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 13 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Orderly.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the orderly mcp server does with a few real requests.

Available tools

ToolWhat it does
EventsAccount events with pagination (/events_v2) - trades, settlements, liquidations, transactions
RankingsPositions, PnL, trading volume, deposits/withdrawals (/ranking/positions, /ranking/realized_pnl, /ranking/trading_volume, /ranking/deposit, /ranking/withdraw)
authWallet signature-based authentication (nonce, verify, validate)
dexDEX management - create, update, delete, deploy, and manage exchanges
graduationGraduation system - upgrade from demo to full broker with fee splits
themeAI-powered theme generation and CSS customization
statsPlatform-wide statistics and analytics
leaderboardDEX rankings, performance metrics, and leaderboards
adminAdministrative operations for platform management
ExamplesThe Examples tool exposed by this server.
FeaturesThe Features tool exposed by this server.
PrerequisitesThe Prerequisites tool exposed by this server.
DevelopmentThe Development tool exposed by this server.

How to install the Orderly MCP server

**Cursor** (`.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "orderly": {
      "command": "npx",
      "args": ["@orderly.network/mcp-server@latest"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 18 or higher - Yarn (or npm)
VariableDescriptionRequired
NEAR_AI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Orderly to Events.
  • Use Orderly to Rankings.
  • Use Orderly to auth.

Frequently asked questions

It connects Orderly to MCP-compatible AI assistants such as Claude and Cursor, exposing 13 tools (Events, Rankings, auth, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Orderly directly.