MCP.so
登录

Kite MCP Server

@codeglyph

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

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

Kite MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "kite-mcp": {
      "command": "bun",
      "args": [
        "run",
        "auth"
      ]
    }
  }
}

Kite MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

What prerequisites do I need?

You need a Zerodha Kite Connect app (API Key and Secret) and the latest version of Bun runtime.

2

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.

3

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.

4

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.

5

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 服务器