MCP Integration
Connect any AI agent to your SharkBlock trading account using the Model Context Protocol (MCP).
What is MCP?
The Model Context Protocol is an open standard that lets AI assistants interact with external tools and data. SharkBlock’s MCP server gives your AI agent direct access to your trading operations on Solana.
Think of it as an API designed specifically for AI agents — with structured tool descriptions, type-safe parameters, and built-in authentication.
What Can You Do?
| Category | Capabilities |
|---|---|
| Trading | Create strategies, start/pause bots, manage positions, set TP/SL targets |
| Wallets | Create wallets, check balances, fund shadow wallets, view PnL |
| Market Data | Token prices, OHLCV charts, security analysis, holder data, trending tokens |
| Discovery | Search tokens, discover trending assets, analyze any wallet |
| Account | View profile, manage notifications, redeem codes, check affiliations |
44 tools available covering the entire SharkBlock platform.
Compatible Providers
SharkBlock MCP works with any provider that supports the Model Context Protocol:
- Claude (Desktop, API, Claude Code)
- ChatGPT (via MCP plugin)
- VS Code (GitHub Copilot + MCP)
- Cursor
- Any MCP-compatible client
How It Works
Your AI Agent ──── MCP Protocol ──── SharkBlock Server ──── Solana Blockchain
│ │
│ "Search for trending tokens" │
│ ─────────────────────────────► │
│ │── Fetches market data
│ ◄───────────────────────────── │
│ Token list with prices & volume │
│ │
│ "Create a strategy on my wallet" │
│ ─────────────────────────────► │
│ │── Creates strategy
│ ◄───────────────────────────── │
│ Strategy created successfully │- Your AI agent connects to
https://api.alpha.sharkblock.io/mcp - You authenticate via OAuth 2.1 (one-time Privy login)
- The agent discovers available tools automatically
- You interact with SharkBlock through natural language
Security
- OAuth 2.1 with PKCE — Industry-standard authentication
- Your keys stay safe — MCP never accesses your private keys
- Scoped permissions — Agents only access what you authorize
- Rate limited — Per-user limits prevent abuse
- Revocable — Disconnect any agent at any time
Last updated on