Kite MCP Server
@codeglyph
关于 Kite MCP Server
A Model Context Protocol (MCP) server for integrating with Zerodha Kite API. This server provides Claude with tools to interact with your Kite trading account. This is an unofficial integration with Zerodha Kite API. Use at your own risk. Always verify trades and orders before ex
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"kite-mcp": {
"command": "bun",
"args": [
"run",
"auth"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Kite MCP Server?
A Model Context Protocol (MCP) server that integrates with the Zerodha Kite API, giving Claude tools to interact with your Kite trading account. It handles portfolio management, market data, order management, and account information via a secure OAuth 2.0 flow.
How to use Kite MCP Server?
Install dependencies with bun install, set your API Key and Secret in a .env file, then run bun run auth to log in via OAuth and save an access token. Start the server with bun start. Finally, add the server to your Claude Desktop configuration using the bun command and the path to src/index.ts.
Key features of Kite MCP Server
- Portfolio management: positions, holdings, orders
- Real-time market data: quotes, LTP, instrument list
- Order management: place, modify, cancel orders
- Account info: profile, margins, authentication status
- Secure OAuth 2.0 authentication with token persistence
- Single Responsibility Principle architecture for maintainability
Use cases of Kite MCP Server
- Ask Claude for your current trading positions and holdings
- Get the last traded price or detailed quotes for instruments
- Place, modify, or cancel orders through natural language
- Check account margins and authentication status
- Retrieve your user profile and today’s order history
FAQ from Kite MCP Server
What prerequisites do I need?
You need a Zerodha Kite Connect app (API Key and Secret) and the latest version of Bun runtime.
How do I authenticate with the Kite API?
Run bun run auth to start a local OAuth server, open your browser to Kite login, and securely save the access token. The redirect URL must be set to http://localhost:50000/zerodha/auth/redirect in your Kite Connect app.
How long does an access token last and what happens when it expires?
Kite tokens expire roughly every 6 hours. When expired, re-run bun run auth to get a new token. The server will notify you of your authentication status.
Where are tokens stored?
Tokens are stored locally in an access_token.json file. API credentials are never logged or exposed, and tokens auto‑expire for security.
Is this an official Zerodha integration?
No, this is an unofficial integration. Use at your own risk and always verify trades and orders before execution.
其他 分类下的更多 MCP 服务器
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
ghidraMCP
LaurieWiredMCP Server for Ghidra
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
评论