Skip to main content

Kite Connect MCP

io.github.techfreakworm/kite-connect-mcp

v0.2.0Updated Nov 14, 2026stdio · PyPI

Zerodha Kite Connect v3 for AI agents: orders (dry-run by default), GTT, alerts, portfolio, quotes

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add kite-connect-mcp -e 'KITE_API_KEY=<your-kite-api-key>' -e KITE_MCP_AUTH_MODE=managed -e KITE_MCP_TRADING_MODE=dry_run -e KITE_MCP_READ_ONLY=false -- uvx kite-connect-mcp==0.2.0 serve

Configuration

6 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • KITE_API_KEY
    Env var· required· secret
    API key of your Kite Connect app (developers.kite.trade)
  • KITE_API_SECRET
    Env var· optional· secret
    API secret of your Kite Connect app, needed for the daily login (or use KITE_API_SECRET_FILE)
  • KITE_MCP_AUTH_MODE
    Env var· optional
    managed (this server owns the daily login) or external (read a token file another program writes)Default: managed
  • KITE_TOKEN_FILE
    Env var· optional
    Path of the access-token file (default: ~/.local/state/kite-connect-mcp/access_token.json)
  • KITE_MCP_TRADING_MODE
    Env var· optional
    dry_run (default: writes are only previewed) or live (writes need a confirmation token)Default: dry_run
  • KITE_MCP_READ_ONLY
    Env var· optional
    true hides every tool that can change the accountDefault: false

Listed in the official MCP Registry since Nov 14, 2026. Mirrored daily; last checked Nov 26, 2026.