From cfb0c722fae15a3e6c3c8cdb27eac6e880959cd9 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 22 Sep 2026 00:05:26 +0000 Subject: [PATCH] feat(plugins): add Zerodha Kite MCP plugin Co-authored-by: n2parko --- .cursor-plugin/marketplace.json | 5 ++ .../zerodha-kite/.cursor-plugin/plugin.json | 35 +++++++++++ third_party/zerodha-kite/CHANGELOG.md | 9 +++ third_party/zerodha-kite/LICENSE | 21 +++++++ third_party/zerodha-kite/README.md | 63 +++++++++++++++++++ third_party/zerodha-kite/assets/logo.svg | 7 +++ third_party/zerodha-kite/mcp.json | 8 +++ 7 files changed, 148 insertions(+) create mode 100644 third_party/zerodha-kite/.cursor-plugin/plugin.json create mode 100644 third_party/zerodha-kite/CHANGELOG.md create mode 100644 third_party/zerodha-kite/LICENSE create mode 100644 third_party/zerodha-kite/README.md create mode 100644 third_party/zerodha-kite/assets/logo.svg create mode 100644 third_party/zerodha-kite/mcp.json diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index 5e14bf2e..7139ef55 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -393,6 +393,11 @@ "source": "third_party/webull", "description": "View accounts, positions, orders, watchlists, and market data." }, + { + "name": "zerodha-kite", + "source": "third_party/zerodha-kite", + "description": "Review portfolios, positions, orders, margins, and market data through Kite." + }, { "name": "sp-global", "source": "third_party/sp-global", diff --git a/third_party/zerodha-kite/.cursor-plugin/plugin.json b/third_party/zerodha-kite/.cursor-plugin/plugin.json new file mode 100644 index 00000000..3aeb84ac --- /dev/null +++ b/third_party/zerodha-kite/.cursor-plugin/plugin.json @@ -0,0 +1,35 @@ +{ + "name": "zerodha-kite", + "displayName": "Zerodha Kite", + "version": "1.0.0", + "minClientVersions": { + "cursor": "3.13.0" + }, + "description": "Review portfolios, positions, orders, margins, and market data through Kite.", + "author": { + "name": "Cursor", + "email": "plugins@cursor.com" + }, + "homepage": "https://mcp.kite.trade/", + "repository": "https://github.com/cursor/plugins", + "license": "MIT", + "logo": "assets/logo.svg", + "keywords": [ + "zerodha", + "kite", + "brokerage", + "trading", + "portfolio", + "orders", + "market data", + "mcp" + ], + "category": "integrations", + "tags": [ + "zerodha", + "finance", + "trading", + "mcp" + ], + "mcpServers": "./mcp.json" +} diff --git a/third_party/zerodha-kite/CHANGELOG.md b/third_party/zerodha-kite/CHANGELOG.md new file mode 100644 index 00000000..f671810a --- /dev/null +++ b/third_party/zerodha-kite/CHANGELOG.md @@ -0,0 +1,9 @@ +# Changelog + +All notable changes to this plugin will be documented here. + +## 1.0.0 — initial release + +- Added the `zerodha-kite` MCP server pointing at Zerodha's hosted Streamable HTTP endpoint (`https://mcp.kite.trade/mcp`). +- Auth uses Zerodha's external Kite login and two-factor authentication flow — no API key or request header to configure. +- Logo: Zerodha's official icon from the `zerodha/fourthcross.tech` repository, formatted as a 192×192 marketplace tile. diff --git a/third_party/zerodha-kite/LICENSE b/third_party/zerodha-kite/LICENSE new file mode 100644 index 00000000..ca2bba77 --- /dev/null +++ b/third_party/zerodha-kite/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Cursor + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/third_party/zerodha-kite/README.md b/third_party/zerodha-kite/README.md new file mode 100644 index 00000000..069a27d0 --- /dev/null +++ b/third_party/zerodha-kite/README.md @@ -0,0 +1,63 @@ +# Zerodha Kite + +Cursor plugin that connects agents to [Zerodha Kite](https://kite.zerodha.com/) through Zerodha's official remote [Model Context Protocol](https://modelcontextprotocol.io/) server. + +Review holdings, positions, margins, orders, trades, and market data from your Zerodha account. + +## Install + +1. Open **Cursor Settings → Plugins**. +2. Search for **Zerodha Kite**. +3. Click **Install**, then follow the Kite authorization prompt. + +Or run `/add-plugin zerodha-kite` in chat. + +## MCP + +```json +{ + "mcpServers": { + "zerodha-kite": { + "type": "http", + "url": "https://mcp.kite.trade/mcp" + } + } +} +``` + +The hosted MCP does not require a Kite Connect API key. Its login tool opens Zerodha's external authorization flow, where you sign in to Kite and complete two-factor authentication. Your Zerodha credentials are not added to this plugin or sent as MCP headers. + +## Before you connect + +You need an active Zerodha trading account with two-factor authentication enabled. + +## What agents can do + +| Category | Capabilities | +| --- | --- | +| Account | View the signed-in profile and account margins | +| Portfolio | Review holdings, positions, and mutual fund investments | +| Orders | Read orders, trades, and order execution history | +| Market data | Search instruments and retrieve quotes, LTP, OHLC, and historical data | +| GTT | View and manage Good Till Triggered orders | + +The hosted runtime is the source of truth for tool names and schemas. + +## Notes + +- Zerodha hosts the server; this plugin does not wrap a local stdio server. +- The hosted service excludes regular order placement, modification, and cancellation. Zerodha documents GTT orders as the exception. +- Tool calls operate on the Zerodha account authorized during the Kite login flow. + +## Docs + +- Zerodha Kite MCP: https://mcp.kite.trade/ +- Kite MCP source: https://github.com/zerodha/kite-mcp-server +- Kite Connect API: https://kite.trade/docs/connect/v3/ +- Server URL: https://mcp.kite.trade/mcp + +Logo is Zerodha's official icon, sourced from Zerodha's `fourthcross.tech` GitHub repository. + +## License + +MIT diff --git a/third_party/zerodha-kite/assets/logo.svg b/third_party/zerodha-kite/assets/logo.svg new file mode 100644 index 00000000..55c7f9f0 --- /dev/null +++ b/third_party/zerodha-kite/assets/logo.svg @@ -0,0 +1,7 @@ + + Zerodha Kite + + + + + diff --git a/third_party/zerodha-kite/mcp.json b/third_party/zerodha-kite/mcp.json new file mode 100644 index 00000000..66c48299 --- /dev/null +++ b/third_party/zerodha-kite/mcp.json @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "zerodha-kite": { + "type": "http", + "url": "https://mcp.kite.trade/mcp" + } + } +}