Skip to main content
Glama
bhimanshukalra

Kite Connect MCP Server

Kite Connect MCP POC

A proof-of-concept TypeScript MCP server that demonstrates how MCP tools can call Kite Connect APIs over stdio. This project is intentionally incomplete and focuses on proving the primary concept rather than providing a production-ready trading integration.

Features

  • greet: returns a greeting for a provided name.

  • add_two_numbers: adds two numbers.

  • factorial: calculates the factorial of a non-negative integer.

  • buy_stock: places a Kite Connect market buy order on NSE.

  • sell_stock: places a Kite Connect market sell order on NSE.

Related MCP server: NSE-BSE MCP Server

Prerequisites

  • Node.js

  • pnpm

  • A Zerodha Kite Connect API key

  • A valid Kite Connect access token

Setup

Install dependencies:

pnpm install

Create a .env file in the project root:

KITE_API_KEY=your_api_key
KITE_ACCESS_TOKEN=your_access_token

Run

Start the MCP server:

pnpm dev

The server uses stdio transport, so it is intended to be launched by an MCP-compatible client.

MCP Tools

buy_stock

Places a regular CNC market buy order on NSE.

Input:

{
  "stock": "INFY",
  "qty": 1
}

sell_stock

Places a regular CNC market sell order on NSE.

Input:

{
  "stock": "INFY",
  "qty": 1
}

greet

Input:

{
  "name": "Bhimanshu"
}

add_two_numbers

Input:

{
  "a": 2,
  "b": 3
}

factorial

Input:

{
  "a": 5
}

Safety Note

The buy_stock and sell_stock tools call Kite Connect's placeOrder API and can place real market orders. Use valid credentials carefully and test with small quantities only when you are ready to trade.

Project Structure

.
├── config.ts       # Loads required environment variables
├── index.ts        # Defines and starts the MCP server
├── trade.ts        # Wraps Kite Connect order placement
├── package.json    # Scripts and dependencies
└── tsconfig.json   # TypeScript configuration
Install Server
F
license - not found
C
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Enables AI assistants to interact with the Zerodha trading platform for placing stock orders, viewing portfolio holdings, and managing mutual fund investments. Provides secure OAuth authentication and real-time trading capabilities through Zerodha's official API.
    1
  • A
    license
    -
    quality
    D
    maintenance
    Provides real-time and historical Indian stock market data from NSE and BSE exchanges with 66 tools covering quotes, options chains, corporate actions, IPOs, and market analytics for LLM-powered financial analysis.
    56
    11
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables trading operations on Zerodha platform through natural language, supporting account management, order placement/modification, portfolio holdings, positions, margins, and stock news retrieval.
    Apache 2.0
  • A
    license
    B
    quality
    D
    maintenance
    Enables trading and portfolio management on Zerodha Kite Connect through natural language. Supports placing orders, viewing positions/holdings, accessing real-time market data, and managing GTT orders.
    24
    MIT

View all related MCP servers

Related MCP Connectors

  • Send quick greetings, scrape website content, and generate text or images on demand. Perform web s…

  • 500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

  • US/HK markets — 151 tools: quotes, options, orders, fundamentals, screener, IPO, alerts & DCA

View all MCP Connectors

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/bhimanshukalra/kiteconnect-mcp-poc'

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