Kotak Neo Trading MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kotak Neo Trading MCPPlace an order to buy NIFTY 24500 CE at 30 for 1 lot."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kotak Neo Trading MCP Server
An MCP (Model Context Protocol) server designed to orchestrate trading on Kotak Neo directly from AI environments (like Claude Desktop or custom agents). It provides an entirely automated, stateless API execution layer running locally on Node.js.
Key Features
Military-Grade Security (
SecureVault): Credentials (Mobile, UCC, TOTP Secret, MPIN, Consumer Key) are AES-256-GCM encrypted and never pass through the AI model.Automated TOTP Generation: The server handles TOTP generation dynamically on login using your saved Base32 secret key.
Smart Order Commands: Supports easy string commands for order placement like
NIFTY 24500 CE 30 L 110.Local Master Data Caching: Reads NSE FO master cache to accurately resolve trading symbols and instrument tokens.
Order Management: Supports fetching order book, open positions, margin, modifying orders, and cancelling orders.
Related MCP server: zerodha-claude-mcp
Setup Instructions
1. Initialize the Secure Vault
Before running the server via MCP, you must configure your secure credential vault locally.
Run the following command in the project directory:
node index.js --setupYou will be prompted to securely enter:
Kotak Mobile Number
Kotak UCC (User ID)
Kotak TOTP Base32 Key
Kotak MPIN
Kotak Consumer Key
You will then be asked to set a Master Password. This password encrypts your vault.
2. Configure MCP Client
Add the following to your MCP client configuration (e.g. Claude Desktop config):
{
"mcpServers": {
"kotak-neo-mcp": {
"command": "node",
"args": [
"path/to/Kotak-Neo-Trading-MCP/index.js"
]
}
}
}3. Usage via AI
When talking to the AI, simply provide your Master Password to initiate the login: “Login to Kotak Neo using my master password [YOUR_PASSWORD].”
The AI will handle the rest, calling the login tool, decrypting the vault locally, and generating the live 6-digit TOTP pin automatically.
Available MCP Tools
login: Logs into Kotak Neo using themaster_password.place_order: Places an order using a Smart String command. (e.g.buy_or_sell: 'B',command: 'NIFTY 24500 CE 30 L 110')modify_order: Modifies an open order's price and quantity.cancel_order: Cancels an open order by ID.get_order_book: Retrieves the user's order book.get_positions: Retrieves current positions.check_margin: Retrieves available trading margin.get_nearest_expiry_option: Fetches the exact trading symbol and token for the nearest expiry option (e.g.,NIFTY 24500 CE).
CLI Utilities
node index.js --setup: Configure credentialsnode index.js --status: Check if a vault existsnode index.js --delete: Securely wipe your vault credentials
This server cannot be installed
Maintenance
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
- Flicense-qualityDmaintenanceEnables 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
- Flicense-qualityDmaintenanceEnables AI models to interact with the Zerodha trading platform for portfolio management, trading, and account operations through natural language.3
- Flicense-qualityBmaintenanceEnables AI co-pilots to interact with TradingView charts, manage alerts via REST API, automate morning briefs with custom trading rules, and perform real-time market analysis.
- Flicense-qualityCmaintenanceEnables AI agents to interact with Angel One brokerage for live market data, portfolio management, and order placement using the SmartAPI.
Related MCP Connectors
No-KYC managed MCP for AI agents: sandboxed TypeScript trading SDK, isolated sub-accounts, futures.
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
Read-only live access to Australian bank (CDR/open banking) and global brokerage data for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/benatcmathew/Kotak-Neo-Trading-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server