4,000+ servers built on vurb.ts
Vinkius

OKX MCP Server for Google ADKGive Google ADK instant access to 6 tools to Amend Order, Cancel Order, Get Balance, and more

MCP Inspector GDPR Free for Subscribers

Google Agent Development Kit (ADK) is Google's framework for building production AI agents. Add OKX as an MCP tool provider through Vinkius and your ADK agents can call every tool with full schema introspection.

Ask AI about this MCP Server for Google ADK

The OKX MCP Server for Google ADK is a standout in the Data Analytics category — giving your AI agent 6 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
python
from google.adk.agents import Agent
from google.adk.tools.mcp_tool import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import (
    StreamableHTTPConnectionParams,
)

# Your Vinkius token. get it at cloud.vinkius.com
mcp_tools = McpToolset(
    connection_params=StreamableHTTPConnectionParams(
        url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
    )
)

agent = Agent(
    model="gemini-2.5-pro",
    name="okx_agent",
    instruction=(
        "You help users interact with OKX "
        "using 6 available tools."
    ),
    tools=[mcp_tools],
)
OKX
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About OKX MCP Server

Connect your OKX trading account to any AI agent to monitor markets and manage your portfolio through natural language.

Google ADK natively supports OKX as an MCP tool provider. declare Vinkius Edge URL and the framework handles discovery, validation, and execution automatically. Combine 6 tools with Gemini's long-context reasoning for complex multi-tool workflows, with production-ready session management and evaluation built in.

What you can do

  • Market Data — Retrieve available instruments for spot, margin, futures, and options trading using get_instruments.
  • Account Monitoring — Fetch real-time asset balances with get_balance and track active positions across different instrument types with get_positions.
  • Order Management — Place new trade orders (limit, market, etc.) via place_order, amend existing ones with amend_order, or cancel pending orders instantly using cancel_order.
  • Flexible Trading — Support for various trade modes including cash, cross, and isolated margin directly from your conversation.

The OKX MCP Server exposes 6 tools through the Vinkius. Connect it to Google ADK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

All 6 OKX tools available for Google ADK

When Google ADK connects to OKX through Vinkius, your AI agent gets direct access to every tool listed below — spanning cryptocurrency-trading, portfolio-management, market-data, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.

amend

Amend order on OKX

Requires instrument ID and either order ID or client order ID. Amend an existing incomplete order

cancel

Cancel order on OKX

Requires instrument ID and either order ID or client order ID. Cancel an incomplete order

get

Get balance on OKX

Can be filtered by specific currencies. Retrieve asset balances in the trading account

get

Get instruments on OKX

Can be filtered by instrument type. Retrieve available instruments for the account

get

Get positions on OKX

Can be filtered by instrument type, instrument ID, or position ID. Retrieve active positions

place

Place order on OKX

Requires instrument ID, trade mode, side, order type, and size. Place a new trade order

Connect OKX to Google ADK via MCP

Follow these steps to wire OKX into Google ADK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Install Google ADK

Run pip install google-adk
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Create the agent

Save the code above and integrate into your ADK workflow
04

Explore tools

The agent will discover 6 tools from OKX via MCP

Why Use Google ADK with the OKX MCP Server

Google ADK provides unique advantages when paired with OKX through the Model Context Protocol.

01

Google ADK natively supports MCP tool servers. declare a tool provider and the framework handles discovery, validation, and execution

02

Built on Gemini models, ADK provides long-context reasoning ideal for complex multi-tool workflows with OKX

03

Production-ready features like session management, evaluation, and deployment come built-in. not bolted on

04

Seamless integration with Google Cloud services means you can combine OKX tools with BigQuery, Vertex AI, and Cloud Functions

OKX + Google ADK Use Cases

Practical scenarios where Google ADK combined with the OKX MCP Server delivers measurable value.

01

Enterprise data agents: ADK agents query OKX and cross-reference results with internal databases for comprehensive analysis

02

Multi-modal workflows: combine OKX tool responses with Gemini's vision and language capabilities in a single agent

03

Automated compliance checks: schedule ADK agents to query OKX regularly and flag policy violations or configuration drift

04

Internal tool platforms: build self-service agent platforms where teams connect their own MCP servers including OKX

Example Prompts for OKX in Google ADK

Ready-to-use prompts you can give your Google ADK agent to start working with OKX immediately.

01

"Show me my current USDT and BTC balance on OKX."

02

"List all my active futures positions."

03

"Place a market buy order for 0.01 BTC on the BTC-USDT spot market."

Troubleshooting OKX MCP Server with Google ADK

Common issues when connecting OKX to Google ADK through Vinkius, and how to resolve them.

01

McpToolset not found

Update: pip install --upgrade google-adk

OKX + Google ADK FAQ

Common questions about integrating OKX MCP Server with Google ADK.

01

How does Google ADK connect to MCP servers?

Import the MCP toolset class and pass the server URL. ADK discovers and registers all tools automatically, making them available to your agent's tool-use loop.
02

Can ADK agents use multiple MCP servers?

Yes. Declare multiple MCP tool providers in your agent configuration. ADK merges all tool schemas and the agent can call tools from any server in a single turn.
03

Which Gemini models work best with MCP tools?

Gemini 2.0 Flash and Pro models both support function calling required for MCP tools. Flash is recommended for latency-sensitive use cases, Pro for complex reasoning.

Explore More MCP Servers

View all →