Skip to main content
The MCP (Model Context Protocol) server lets you connect AI assistants like Claude or ChatGPT to trade through Cobot.

Setup

1

Generate API Key

Go to API Keys in the app and click Create API Key.
2

Copy your key

Copy the generated API key.
3

Configure your AI client

Add the MCP endpoint with your API key using Bearer authentication.

Available Tools

Kalshi Tools

ToolDescription
markets_listList Kalshi markets with filters
market_getGet a single market by ticker
events_listList Kalshi events
orders_createPlace a Kalshi order
orders_listList your orders
positions_listView your positions
position_closeClose a position

Polymarket Tools

ToolDescription
polymarket_marketsSearch/browse markets
polymarket_eventsList events
polymarket_market_orderbookGet orderbook for a token

Web3 Tools

ToolDescription
balances_getGet wallet balances
wallet_addressesList wallet addresses
trending_tokensGet trending tokens
token_searchSearch tokens by name/symbol
token_infoGet detailed token info
swap_quoteGet swap/bridge quote
swap_executeExecute swap/bridge

Other Tools

ToolDescription
pumpfun_launch_tokenLaunch 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.