MCPInstall
banknifty-mcp-server logo

banknifty-mcp-server

by umeshkedimi umeshkedimi/banknifty-mcp-server

A modular algo trading server for BankNifty using FastAPI and Kite API.

READMEmain

BankNifty MCP Server (Zerodha Kite + FastAPI)

This is a modular, production-style algo trading server built using FastAPI and Zerodha's Kite Connect API.

Features

  • Structured MCP architecture (modular backend)
  • Live order placement for BankNifty (directional)
  • /buy, /sell, and /pnl endpoints
  • Integrated Kite Connect login with TOTP
  • Kill switch logic (API-level)
  • Public-ready project with secure .env

Endpoints

MethodEndpointDescription
GET/trade/pingCheck server status
POST/trade/buyPlace BankNifty ATM PE order
POST/trade/sellPlace BankNifty ATM CE order
GET/trade/pnlShow live PnL
POST/trade/killKill switch: Exit & Cancel all

Getting Started

git clone https://github.com/your-username/banknifty-mcp-server.git
cd banknifty-mcp-server
cp sample.env .env
# Fill in your Kite credentials in .env
pip install -r requirements.txt
python main.py


## Disclaimer

⚠️ This project is for educational and demonstration purposes only.  
Using real brokerage APIs with live capital involves risk.  
This project does **not** constitute financial advice or a guaranteed strategy.  
Use this system at your own discretion and **only in paper/live trading if you know what you are doing.**


## License

[MIT License](LICENSE)

More E-commerce Solutions MCP servers

Similar servers from the same category.

Alipay's official MCP Server, allowing you to easily integrate transaction creation, query, refund, and other capabilities offered by the Alipay Open Platform into your LLM applications.

FormQuery+5

Bridges WordPress websites and WooCommerce data with local clients through REST API calls, enabling content access without direct streaming connections.

ConnectDirect

Dodo Payments

dodopayments

Provides a bridge to the Dodo Payments API for processing payments, managing subscriptions, and handling licensing through over 40 specialized tools for customer and product management.

payment

Integrates with Adfin's financial management platform to enable credit control checks, invoice creation, and document uploads through dynamically generated API tools and specialized file system capabilities.

filesystempayment