The MCP (Model Context Protocol) server lets you connect AI assistants like Claude or ChatGPT to trade through Cobot.
Setup
Generate API Key
Go to API Keys in the app and click Create API Key.
Copy your key
Copy the generated API key.
Configure your AI client
Add the MCP endpoint with your API key using Bearer authentication.
| Tool | Description |
|---|
markets_list | List Kalshi markets with filters |
market_get | Get a single market by ticker |
events_list | List Kalshi events |
orders_create | Place a Kalshi order |
orders_list | List your orders |
positions_list | View your positions |
position_close | Close a position |
| Tool | Description |
|---|
polymarket_markets | Search/browse markets |
polymarket_events | List events |
polymarket_market_orderbook | Get orderbook for a token |
| Tool | Description |
|---|
balances_get | Get wallet balances |
wallet_addresses | List wallet addresses |
trending_tokens | Get trending tokens |
token_search | Search tokens by name/symbol |
token_info | Get detailed token info |
swap_quote | Get swap/bridge quote |
swap_execute | Execute swap/bridge |
| Tool | Description |
|---|
pumpfun_launch_token | Launch a token on Pump.fun |
Authentication
All requests require Bearer token authentication:
Authorization: Bearer <your-api-key>
The MCP server validates your API key, mints a JWT token, and proxies requests to the appropriate backend service.
Rate limit: 60 requests per minute per API key.