Skip to main content
Glama
aranjan

kite-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KITE_API_KEYYesKite Connect API key
KITE_USER_IDYesZerodha client ID (e.g., AB1234)
KITE_PASSWORDYesZerodha login password
KITE_API_SECRETYesKite Connect API secret
KITE_TOTP_SECRETNoTOTP 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aranjan/kite-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server