Gate DEX MCP logo

Gate DEX MCP

On-chain wallet, token, market, transfer, and swap tools for Gate DEX over MCP.

Install Gate DEX MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gate-dex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcporter"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y mcporter

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 7d ago.

Overview

Gate DEX MCP MCP server connects MCP-compatible agents to Gate’s DEX service for wallet access, on-chain transactions, swaps, token data, and market analysis. It runs as a Streamable HTTP MCP endpoint at `/mcp/dex`, with SSE fallback, and supports Google or Gate OAuth for authenticated operations. Use it when an agent needs to inspect wallets, prepare or submit transactions, execute swaps, or query on-chain market information across supported chains.

Use cases

  • Inspect wallet addresses and token balances across EVM and Solana chains
  • Preview transfers and token approvals before signing
  • Request swap quotes and execute on-chain swaps
  • Analyze token prices, rankings, liquidity events, and candlestick data
  • Review transaction, swap, and bridge history

Key features

  • Google and Gate OAuth login flows
  • EVM and Solana wallet access
  • Transfer, approval, signing, and broadcast tools
  • Single-chain and cross-chain swap support
  • Token discovery and market analytics
  • Transaction and swap history

Tools33

What Gate DEX MCP lets your agent do. Expand a tool for its parameters.

Self-reported~557 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

6/6 checks healthy over the last 40d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · mcporter (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars44Stargazers on the source repository.
npm downloads1.8MPackage downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed33Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Gate DEX MCP works

What Gate DEX MCP MCP server does

Gate DEX MCP MCP server exposes Gate’s decentralized exchange functions through the Model Context Protocol. It connects an MCP client to the remote https://api.gatemcp.ai/mcp/dex endpoint and provides authenticated wallet operations, transaction preparation, swap execution, token discovery, and DEX market data.

The service supports wallet addresses and balances for EVM and Solana chains. Agents can retrieve portfolio value, sign messages or raw transactions, estimate gas, preview transfers and token approvals, broadcast signed transactions, and review transaction or swap history.

How it works

The DEX endpoint uses Streamable HTTP, with SSE available as a fallback. Authentication is handled through either Google OAuth or Gate OAuth. The login tools can start an OAuth flow, poll for completion, exchange an authorization code for access, and revoke the current session.

Once authenticated, an agent can use the wallet and transaction tools against the connected session. Swap execution can be performed as a combined operation that obtains a quote, builds the transaction, signs it, and submits it. Separate tools expose the quote and swap-order status when an application needs more control over the workflow.

Setup and configuration

Configure an MCP client with the DEX URL:

config.json
{
  "mcpServers": {
    "Gate-Dex": {
      "url": "https://api.gatemcp.ai/mcp/dex",
      "headers": {
        "x-api-key": "MCP_AK_8W2N7Q",
        "Authorization": "Bearer ${GATE_MCP_TOKEN}"
      }
    }
  }
}

The repository also shows a mcporter configuration using the same endpoint. OAuth is required for the DEX surface, and the available login tools support Google and Gate authorization. The example configuration uses GATE_MCP_TOKEN for the bearer token after authorization. Cursor, Claude CLI, and other MCP-compatible clients can connect through their HTTP MCP configuration; the README specifically documents Cursor and Claude CLI setup.

Tools and capabilities

Gate DEX MCP MCP server groups its tools into several practical areas:

  • Authentication: Start and complete Google or Gate OAuth login, then log out and revoke the session.
  • Wallets: List EVM and Solana addresses, retrieve token balances with prices, calculate total assets and 24-hour change, and sign messages or raw transactions.
  • Chains and transactions: Inspect chain IDs and capabilities, estimate gas, preview transfers and approvals, create an unsigned Solana SOL transfer, and broadcast signed transactions.
  • Swaps: Request route and price-impact quotes, execute a one-click swap, and query an existing swap order by ID.
  • History: Retrieve transaction, swap, and bridge records.
  • Market and token data: Query candlestick data, trading statistics, liquidity-pool events, swap and bridge token lists, token fundamentals, gainers and losers, and tokens filtered by creation time.

Limitations and notes

This listing describes the DEX endpoint, not every Gate MCP surface. Gate also documents separate endpoints for public market data, centralized-exchange trading, coin information, news, and research; those functions are outside this DEX listing.

Authenticated wallet and transaction operations require OAuth. Signing and submission tools can act on-chain, so an integrating agent should distinguish read-only queries from operations that authorize or broadcast transactions. The available chain set, token availability, and transaction behavior depend on the supported Gate DEX networks and the selected chain.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gate DEX MCP

Gate DEX MCP is an MCP server that connects AI agents to Gate’s decentralized exchange service through a Streamable HTTP endpoint. Its main tools handle Google or Gate OAuth, wallet addresses and balances, transaction signing and broadcasting, swap quotes and execution, token information, market data, and transaction history across supported chains.

Configure your MCP client with `https://api.gatemcp.ai/mcp/dex`; the README provides examples for Cursor and mcporter. Add the endpoint with the displayed API key and bearer-token configuration, then complete Google or Gate OAuth before using authenticated wallet and transaction tools.

Yes, Gate DEX MCP works with Cursor through its Streamable HTTP MCP configuration. Add a server entry pointing to `https://api.gatemcp.ai/mcp/dex`, configure the shown authentication headers, and authorize the connection with Google or Gate OAuth.

Use the chain configuration tool to retrieve chain IDs and capabilities; the material does not provide a complete chain-by-chain list.

Yes, the DEX endpoint requires Google or Gate OAuth. Its authentication tools start and complete either login flow, return an MCP token after successful authorization, and provide a logout operation to revoke the current session.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGate DEX MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gate-dex-mcp?style=directory)](https://allmcps.com/mcp/gate-dex-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/gate-dex-mcp"><img src="https://allmcps.com/api/badge/gate-dex-mcp?style=directory" alt="Gate DEX MCP on AllMCPs" /></a>