orderlynetwork avatar

Orderly Mcp

orderlynetwork/orderly-mcp

Brings Orderly Network's perpetual futures trading infrastructure into your AI assistant. Search their docs, get SDK v2 hook patterns for React components like useOrderEntry and usePositionStream, look up contract addresses across chains (Arbitrum, Base, Optimism), and query the Indexer API for trading metrics and rankings. It surfaces step-by-step workflows for common tasks like wallet connection, placing orders, and managing subaccounts. Runs via stdio locally or as a hosted HTTP service. Reach for this when building trading UIs on Orderly and you want inline answers about their hooks, REST endpoints, WebSocket streams, or vault mechanics without leaving your editor.

GitHub stars
10
tools
9
transport
STDIO, HTTP
last updated
Nov 10, 2026

Install

From registry metadata
$ npx add-mcp https://mcp.orderly.network/ --name orderly-mcp

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http orderly-mcp https://mcp.orderly.network/

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 9 tools

Verified live against the running server on Nov 6, 2026.

search_orderly_docsSearch bundled Orderly docs and SDK symbols by topic or question. Returns up to `limit` ranked Markdown results with relevance scores: `scope: 'sdk'` returns hooks/components/types/functions with signatures, props, and source paths; `'docs'` returns prose; `'auto'` (default) p...4 params

Search bundled Orderly docs and SDK symbols by topic or question. Returns up to `limit` ranked Markdown results with relevance scores: `scope: 'sdk'` returns hooks/components/types/functions with signatures, props, and source paths; `'docs'` returns prose; `'auto'` (default) p...

Parameters* required
detailstring
'summary' (default) truncates long documentation sections to keep responses compact; 'full' returns complete section textone of summary · fulldefault: summary
limitnumber
Maximum number of results to return (default: 5)default: 5
query*string
Search query about Orderly Network (e.g., 'how does the vault work', 'trading fees', 'order types')
scopestring
Which corpus to search: 'sdk' for type-accurate SDK symbols (hooks/components/types/functions), 'docs' for protocol documentation, or 'auto' (default) which detects intent from the query (camelCase...one of auto · docs · sdkdefault: auto
get_contract_addressesGet the deployed smart contract addresses for Orderly on a specific chain and network. `chain` is required; `contractType` filters to one contract (e.g. vault, usdc, usdt) or 'all'; `network` selects mainnet (default) or testnet. 'all' lists every contract with an address on t...3 params

Get the deployed smart contract addresses for Orderly on a specific chain and network. `chain` is required; `contractType` filters to one contract (e.g. vault, usdc, usdt) or 'all'; `network` selects mainnet (default) or testnet. 'all' lists every contract with an address on t...

Parameters* required
chain*string
Chain name (e.g., 'arbitrum', 'optimism', 'base', 'ethereum', 'solana')
contractTypestring
Contract type (e.g., 'vault', 'usdc', 'usdt') or 'all' for all contractsdefault: all
networkstring
Network type ('mainnet' or 'testnet')default: mainnet
explain_workflowGet a curated, step-by-step guide for a common Orderly development task such as wallet connection, deposits, SDK setup, or placing orders. Returns exactly one best-matching workflow as Markdown with prerequisites, numbered steps, TypeScript examples, common issues, and related...1 params

Get a curated, step-by-step guide for a common Orderly development task such as wallet connection, deposits, SDK setup, or placing orders. Returns exactly one best-matching workflow as Markdown with prerequisites, numbered steps, TypeScript examples, common issues, and related...

Parameters* required
workflow*string
Workflow topic, name fragment, or natural-language description (e.g., 'wallet connection', 'deposit', 'setting up react sdk', 'placing orders'). Matches are fuzzy — partial words and multi-word que...
get_api_infoGet reference documentation for the core Orderly trading API: REST endpoints, WebSocket streams, or authentication. For `rest` or `websocket`, omitting `endpoint` lists every endpoint or stream with base URLs and auth requirements; supplying `endpoint` fuzzy-matches one item a...2 params

Get reference documentation for the core Orderly trading API: REST endpoints, WebSocket streams, or authentication. For `rest` or `websocket`, omitting `endpoint` lists every endpoint or stream with base URLs and auth requirements; supplying `endpoint` fuzzy-matches one item a...

Parameters* required
endpointstring
Specific endpoint or stream name (e.g., '/v1/order', 'orderbook', 'position')
type*string
API type ('rest', 'websocket', or 'auth')
get_indexer_api_infoGet reference documentation for the Orderly Indexer API, a read-only source of historical and aggregated trading data: volume and fee metrics, account events, trades, and rankings. Omit both parameters for an overview with base URLs, categories, common errors, and usage tips;...2 params

Get reference documentation for the Orderly Indexer API, a read-only source of historical and aggregated trading data: volume and fee metrics, account events, trades, and rankings. Omit both parameters for an overview with base URLs, categories, common errors, and usage tips;...

Parameters* required
categorystring
Filter by category (e.g., 'trading_metrics', 'events::events_api', 'trades::trades_api', 'trading_metrics::volume_statistic') - use instead of endpoint to see all endpoints in a category
endpointstring
Specific endpoint path or name (e.g., '/events_v2', 'daily_volume', 'ranking/positions')
get_component_guideGet a curated build guide for a React UI component from the Orderly SDK, such as order-entry, orderbook, positions, or wallet-connector. Returns Markdown with required packages, key hooks, a complete TSX example, tips, styling notes, common mistakes, and related components; `c...2 params

Get a curated build guide for a React UI component from the Orderly SDK, such as order-entry, orderbook, positions, or wallet-connector. Returns Markdown with required packages, key hooks, a complete TSX example, tips, styling notes, common mistakes, and related components; `c...

Parameters* required
complexitystring
Guide complexity ('minimal', 'standard', 'advanced')default: standard
component*string
Component type (e.g., 'order-entry', 'orderbook', 'positions', 'wallet-connector')
get_orderly_one_api_infoGet reference documentation for the Orderly One API used to create, graduate, and manage a DEX, covering auth, DEX, graduation, theme, stats, leaderboard, and admin endpoints. Omit both parameters for an overview; pass `category` to discover all endpoints in an area, or `endpo...2 params

Get reference documentation for the Orderly One API used to create, graduate, and manage a DEX, covering auth, DEX, graduation, theme, stats, leaderboard, and admin endpoints. Omit both parameters for an overview; pass `category` to discover all endpoints in an area, or `endpo...

Parameters* required
categorystring
Filter by category (e.g., 'auth', 'dex', 'graduation', 'theme', 'stats', 'leaderboard', 'admin')
endpointstring
Specific endpoint path or name (e.g., '/dex', 'verify-tx', '/theme/modify')
get_strategy_vault_api_infoGet reference documentation for the Orderly Strategy Vault REST API covering vault performance, strategy providers, fund management, liquidity providers, and user stats. Omit both parameters for an overview with base URL and categories; pass `category` to discover all endpoint...2 params

Get reference documentation for the Orderly Strategy Vault REST API covering vault performance, strategy providers, fund management, liquidity providers, and user stats. Omit both parameters for an overview with base URL and categories; pass `category` to discover all endpoint...

Parameters* required
categorystring
Filter by category (e.g., 'strategy_vault_info', 'strategy_provider', 'fund_management', 'liquidity_provider', 'user') - use instead of endpoint to see all endpoints in a category
endpointstring
Specific endpoint path or name (e.g., '/v1/public/strategy_vault/vault/info', 'sp/info')
get_public_info_api_infoGet reference documentation for the Orderly Public Info API — a zero-auth single endpoint (POST /v1/public/query) for market, account, and platform data selected by a `type` field. Covers 24 query types (marketSummary, accountState, orderbook, candles, topAddresses, whaleConte...2 params

Get reference documentation for the Orderly Public Info API — a zero-auth single endpoint (POST /v1/public/query) for market, account, and platform data selected by a `type` field. Covers 24 query types (marketSummary, accountState, orderbook, candles, topAddresses, whaleConte...

Parameters* required
categorystring
Browse a category instead: "market", "account", "platform", or "system". Use instead of queryType to list all types in a category.
queryTypestring
Query type name (e.g., "marketSummary", "accountState", "orderbook", "candles", "topAddresses", "whaleContext"). Returns full details: params, response fields, example, weight, freshness.

Sponsors

Readme

Orderly Network MCP Server

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

Quick Start

Install the MCP server with one command for your AI client:

npx @orderly.network/mcp-server init --client <client>

Supported clients: claude, cursor, vscode, codex, opencode

Examples

# OpenCode
npx @orderly.network/mcp-server init --client opencode

# Claude Code
npx @orderly.network/mcp-server init --client claude

# Cursor
npx @orderly.network/mcp-server init --client cursor

# VS Code (with Copilot)
npx @orderly.network/mcp-server init --client vscode

# Interactive mode (prompts for client selection)
npx @orderly.network/mcp-server init

This command will:

  1. Create the appropriate configuration file for your AI client
  2. Install @orderly.network/mcp-server as a dev dependency
  3. Guide you through the next steps

After installation: Restart your AI client and try asking: "How do I connect to Orderly Network?"


What This Server Provides


View the full README on GitHub

Details

Repository
github.com/orderlynetwork/orderly-mcp
Package
@orderly.network/mcp-server
Transport
STDIO, HTTP
Registry
MCP registry, active
Resources
9
Tools verified
Nov 6, 2026

More from orderlynetwork