プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Kite Connect MCP

作者:techfreakwormバージョン 0.1.1i★ –iパソコンで動く
レジストリ名io.github.techfreakworm/kite-connect-mcp

インストール

概要

作者による説明(英語の原文)

Zerodha Kite Connect v3 for AI agents: orders (dry-run by default), GTT, alerts, portfolio, quotes

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: ネットショップ・決済
  • 入力が必要なもの:KITE_API_KEY, KITE_API_SECRET

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: KITE_API_KEY, KITE_API_SECRET, KITE_MCP_AUTH_MODE, KITE_TOKEN_FILE, KITE_MCP_TRADING_MODE, KITE_MCP_READ_ONLY

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "kite-connect": {
      "command": "uvx",
      "args": [
        "kite-connect-mcp",
        "serve"
      ],
      "env": {
        "KITE_API_KEY": "your-value",
        "KITE_API_SECRET": "your-value",
        "KITE_MCP_AUTH_MODE": "your-value",
        "KITE_TOKEN_FILE": "your-value",
        "KITE_MCP_TRADING_MODE": "your-value",
        "KITE_MCP_READ_ONLY": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add kite-connect --env KITE_API_KEY=your-value --env KITE_API_SECRET=your-value --env KITE_MCP_AUTH_MODE=your-value --env KITE_TOKEN_FILE=your-value --env KITE_MCP_TRADING_MODE=your-value --env KITE_MCP_READ_ONLY=your-value -- uvx kite-connect-mcp serve

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "kite-connect": {
      "command": "uvx",
      "args": [
        "kite-connect-mcp",
        "serve"
      ],
      "env": {
        "KITE_API_KEY": "your-value",
        "KITE_API_SECRET": "your-value",
        "KITE_MCP_AUTH_MODE": "your-value",
        "KITE_TOKEN_FILE": "your-value",
        "KITE_MCP_TRADING_MODE": "your-value",
        "KITE_MCP_READ_ONLY": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "kite-connect": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "kite-connect-mcp",
        "serve"
      ],
      "env": {
        "KITE_API_KEY": "your-value",
        "KITE_API_SECRET": "your-value",
        "KITE_MCP_AUTH_MODE": "your-value",
        "KITE_TOKEN_FILE": "your-value",
        "KITE_MCP_TRADING_MODE": "your-value",
        "KITE_MCP_READ_ONLY": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • KITE_API_KEY 秘密 必須 env
    API key of your Kite Connect app (developers.kite.trade)
  • KITE_API_SECRET 秘密 env
    API secret of your Kite Connect app, needed for the daily login (or use KITE_API_SECRET_FILE)
  • KITE_MCP_AUTH_MODE env
    managed (this server owns the daily login) or external (read a token file another program writes)
  • KITE_TOKEN_FILE env
    Path of the access-token file (default: ~/.local/state/kite-connect-mcp/access_token.json)
  • KITE_MCP_TRADING_MODE env
    dry_run (default: writes are only previewed) or live (writes need a confirmation token)
  • KITE_MCP_READ_ONLY env
    true hides every tool that can change the account

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント techfreakworm で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

ネットショップ・決済のほかのサーバーとの比較i

  • このカテゴリのほかの1753件のうち0%よりスターが多い
  • このカテゴリのほかの1753件のうち86%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1753件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Kite Connect MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:KITE_API_KEY, KITE_API_SECRET

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは3 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Stripe MCP

作者:stripe

MCP server integrating with Stripe - tools for customers, products, payments, and more.

クラウドで動く★ 2,043MIT12 か月前更新
インストール

MCP Cn Commerce

作者:TonyWang-hub

8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending

パソコンで動く★ 96MIT28 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

kite-connect-mcp

A self-hostable Model Context Protocol server for the Zerodha Kite Connect v3 API. Run it on your own machine or server with your own Kite Connect app, and let an AI assistant read your account, market data and orders. Every write is a dry run by default.

Status: beta (0.x). Every Kite Connect v3 capability is covered and tested offline against a fake Kite. The

read tools, the margin and charge calculators and the ticker have also been checked against the live API; live

writes (orders, GTTs, alerts, mutual funds) have not, so expect rough edges there and report them. Changes are

listed in CHANGELOG.md.

This project is not affiliated with or endorsed by Zerodha.

Why another Kite MCP server?

Zerodha publishes an official server (zerodha/kite-mcp-server) and hosts it at mcp.kite.trade. This project differs in three ways:

  • It covers the whole paid Kite Connect API. That includes alerts, GTTs, order and basket margins, charges, position conversion, holdings authorisation, auctions, mutual funds and the WebSocket ticker.
  • It's built for one person self-hosting. The daily token is persisted and shared by every client you connect.
  • It has a safety layer for orders: dry runs, two-step confirmation, value caps, allow-lists, a kill switch, an audit log and rate limiting.

The full evaluation and reasoning are in docs/DECISION.md.

What you need

  • A Zerodha account, and a Kite Connect app from the developer console.
  • Connect (paid, ₹500/month per API key) includes live quotes, the WebSocket and historical candles.
  • Personal (free) covers orders, GTTs, alerts, portfolio and margins, but no market data. Market-data tools return a clear "needs the paid plan" error.
  • Python 3.11+ (or Docker).
  • To place live orders: the order requests must come from a static IP registered in the developer console. This is a SEBI/NSE rule, in force since April 2026. Reads work from any IP.

The developer-console steps are in docs/KITE_SETUP.md: creating the app, the API key and secret, the redirect and postback URLs, the subscription, and the static IP.

Quick start (local, stdio)

# install

uv tool install kite-connect-mcp # or: pipx install kite-connect-mcp / pip install kite-connect-mcp

or run without installing: uvx kite-connect-mcp --help

or the image: docker pull ghcr.io/techfreakworm/kite-connect-mcp

configure: credentials from env vars or files (mode 600)

export KITE_API_KEY=your_api_key export KITE_API_SECRET_FILE=~/.config/kite-connect-mcp/api_secret

kite-connect-mcp check-config # validates settings, never prints credentials kite-connect-mcp login --listen # prints the Kite login link and waits for the redirect (managed mode) kite-connect-mcp status # session and safety status

For login --listen, register http://127.0.0.1:8765/callback as your app's redirect URL. Every setting is listed in docs/CONFIGURATION.md.

Add it to an MCP client, e.g. Claude Desktop (claude_desktop_config.json) or any client that launches stdio servers:

{

"mcpServers": { "kite": { "command": "kite-connect-mcp", "args": ["serve"], "env": { "KITE_API_KEY": "your_api_key", "KITE_API_SECRET_FILE": "/home/you/.config/kite-connect-mcp/api_secret" } } } }

To run it on a server over HTTP, see docs/SELF_HOSTING.md. It covers systemd and Docker, a reverse proxy with TLS, bearer-token auth, and the login callback.

The safety model, in short

GuardDefault
Every write tool takes dry_runtrue: validate, run the checks, preview the exact request and Kite's margin calculation; send nothing
Live trading switchoff (KITE_MCP_TRADING_MODE=dry_run)
Confirmationa live write needs the single-use confirmation_token from a dry run of the *identical* call (or, if you opt in, an explicitly allow-listed instrument)
Value caps₹10,000 per order, ₹50,000 per day, 20 live orders per day
Allow-listsinstruments, exchanges, products, varieties, order types, sides (all optional)
Read-only modeKITE_MCP_READ_ONLY=true hides every write tool, and the HTTP client refuses write endpoints too
Kill switcha file; a tool can switch it on, only a person can switch it off
Audit logevery dry run, refusal, live send and result, as JSON lines; the intent is fsynced *before* sending
Rate limitskept under Kite's 1/s (quotes), 3/s (historical), 10/s (orders and the rest), 400 orders/min
Retriesreads back off and retry; writes are never retried. A timeout is reported as an unknown outcome: check the order book before trying again

Details: docs/SAFETY.md.

Sessions and the daily login

Kite access tokens expire every day at about 06:00 IST. A request token is single-use. Logging in again with the same API key invalidates the previous access token. So one app should have exactly one program that owns the daily login.

  • `managed` mode (default). This server owns the login. The login tool (or kite-connect-mcp login) gives you the link. Kite redirects to this server's /callback, which checks the one-time state, exchanges the request_token, and stores the token with mode 600.
  • `external` mode. Another program owns the login and writes a token file. This server only reads that file, picks up the new token every morning without a restart, and never writes, deletes or logs out that token.

Tools

58 tools in 11 toolsets (53 by default: the mutual-fund writes are opt-in). Tool names follow the official server where one exists, so prompts carry over. Pick toolsets with KITE_MCP_TOOLSETS and hide single tools with KITE_MCP_EXCLUDED_TOOLS; kite-connect-mcp tools lists what your configuration exposes.

ToolsetTools
sessionsession_status, login, complete_login, logout
accountget_profile, get_margins
ordersplace_order, modify_order, cancel_order, get_orders, get_order_history, get_trades, get_order_trades
gttget_gtts, get_gtt, place_gtt_order, modify_gtt_order, delete_gtt_order
alertsget_alerts, get_alert, get_alert_history, create_alert (simple and ATO), modify_alert, delete_alerts
portfolioget_holdings, get_positions, get_auctions, convert_position, authorise_holdings
marketget_quotes, get_ohlc, get_ltp, get_historical_data, search_instruments, get_instrument, get_instruments_status, refresh_instruments
marginsget_order_margins, get_basket_margins, get_order_charges
mfget_mf_holdings, get_mf_orders, get_mf_sips, search_mf_instruments; opt-in: place_mf_order, cancel_mf_order, place_mf_sip, modify_mf_sip, cancel_mf_sip
tickerticker_subscribe, ticker_unsubscribe, ticker_get_ticks, ticker_status, ticker_order_updates, ticker_stop
safetyget_safety_status, get_audit_log, engage_kill_switch

Every argument of every tool is in docs/TOOLS.md.

Development

git clone https://github.com/techfreakworm/kite-connect-mcp && cd kite-connect-mcp

python -m venv .venv && .venv/bin/pip install -e ".[dev]" .venv/bin/pytest # never touches the network: Kite is faked in-process .venv/bin/ruff check . && .venv/bin/ruff format --check .

See CONTRIBUTING.md. Security reports: SECURITY.md.

Disclaimer

Trading involves risk. This software can place real orders on a real brokerage account when you configure it to. AI systems are unpredictable: keep the caps low, use dry runs, and review what you confirm. The software is provided "as is", without warranty of any kind (see LICENSE). You are responsible for complying with Zerodha's terms, SEBI's rules (including the static-IP and algo rules) and exchange data policies. Kite Connect data may not be redistributed.

Licence

MIT © 2026 Mayank Gupta

PopNxに聞く