Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KITE_API_KEY | Yes | Kite Connect API key | |
| KITE_USER_ID | Yes | Zerodha client ID (e.g., AB1234) | |
| KITE_PASSWORD | Yes | Zerodha login password | |
| KITE_API_SECRET | Yes | Kite Connect API secret | |
| KITE_TOTP_SECRET | No | TOTP base32 seed for auto-login. If not provided, you must run kite-mcp-login manually each day. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| kite_login | Authenticate with Zerodha Kite. Auto-generates TOTP and logs in. Call this if other tools fail with auth errors. |
| get_holdings | Get all holdings in the portfolio with quantity, average price, last price, and P&L. |
| get_positions | Get current day's positions (both day and net). |
| get_orders | Get all orders placed today. |
| get_margins | Get account margins/funds available for trading (equity and commodity segments). |
| get_quote | Get live market quote for one or more instruments. Use NSE: prefix for stocks (e.g., NSE:RELIANCE, NSE:INFY). Falls back to holdings/positions data if the market data API is not available. |
| get_ohlc | Get OHLC (open, high, low, close) and last price for instruments. Falls back to holdings/positions data if the market data API is not available. |
| get_historical_data | Get historical candle data for an instrument. Interval can be: minute, day, 3minute, 5minute, 10minute, 15minute, 30minute, 60minute. |
| get_instruments | Get list of tradeable instruments for an exchange. Use to find instrument_token for historical data. Exchange: NSE, BSE, NFO, BFO, CDS, MCX. |
| place_order | Place a buy or sell order. Returns order ID on success. Use variety='regular' for normal orders, 'amo' for after-market orders. |
| modify_order | Modify a pending order. |
| cancel_order | Cancel a pending order. |
| get_gtt_triggers | Get all active GTT (Good Till Triggered) triggers. |
| place_gtt | Place a GTT (Good Till Triggered) order. Supports single and two-leg (OCO) triggers. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |