MCP.so
ログイン

Kite MCP Server

@rhnvrm

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

rhnvrm

Kite MCP Server について

Zerodha Kite MCP server

Kite MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "kite": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.kite.trade/mcp"
      ]
    }
  }
}

Kite MCP Server のツール

22

Cancel an existing order

Delete an existing GTT (Good Till Triggered) order

Get all active GTT orders. Supports pagination for large datasets.

Get historical price data for an instrument

Get holdings for the current user. Supports pagination for large datasets.

Get latest trading prices for a list of instruments

Get margins

Get all mutual fund holdings. Supports pagination for large datasets.

Get OHLC (Open, High, Low, Close) data for a list of instruments

Get order history for a specific order

Get trades for a specific order

Get all orders. Supports pagination for large datasets.

Get current positions. Supports pagination for large datasets.

Retrieve the user's profile information, including user ID, name, email, and account details like products orders, and exchanges available to the user. Use this to get basic user details.

Get market data quotes for a list of instruments

Get trading history. Supports pagination for large datasets.

Login to Kite API. This tool helps you log in to the Kite API. If you are starting off a new conversation call this tool before hand. Call this if you get a session error. Returns a link that the user should click to authorize access, present as markdown if your client supports so that they can click it easily when rendered.

Modify an existing GTT (Good Till Triggered) order

Modify an existing order

Place a GTT (Good Till Triggered) order

Place an order

Search instruments. Supports pagination for large result sets.

概要

What is Kite MCP Server?

Kite MCP Server is a Go-based Model Context Protocol (MCP) server that provides AI assistants with secure access to the Kite Connect trading API. It enables AI agents to retrieve market data, manage portfolios, and execute trades through a standardized interface, targeting traders who want to use AI with their Kite trading account.

How to use Kite MCP Server?

For the easiest setup, add the hosted URL https://mcp.kite.trade/mcp to your MCP client configuration—no installation or API keys required. For self-hosting, clone the repository, configure a .env file with your Kite Connect API key and secret, and run the server locally using Go 1.21+.

Key features of Kite MCP Server

  • Portfolio management: view holdings, positions, margins, and mutual funds
  • Order management: place, modify, cancel orders with full history
  • GTT (Good Till Triggered) order management
  • Market data: real‑time quotes, historical data, OHLC data
  • Automatic pagination for large datasets (holdings, orders, trades)
  • Multiple deployment modes: stdio, HTTP, SSE, and hybrid

Use cases of Kite MCP Server

  • AI‑powered trading assistant that can view portfolio and place orders
  • Automated portfolio monitoring and market data querying
  • Voice or chat‑based order management through an AI client
  • Custom risk management tools by excluding sensitive trading tools
  • Backtesting and historical data analysis via AI agents

よくある質問

1

What is the hosted version and how do I connect?

The hosted version runs at `https://mcp.kite.trade/mcp` and requires no installation or API keys on your end. Just add that URL to your MCP client configuration (e.g., using `mcp-remote` with Claude Desktop).

2

How do I self‑host the server?

Clone the repository, create a `.env` file with `KITE_API_KEY` and `KITE_API_SECRET`, then build and run with Go 1.21+ (e.g., `go build && ./kite-mcp-server`). The server will serve a status page at `http://localhost:8080/`.

3

What trading tools are available?

The server provides tools for authentication (`login`), market data (`get_quotes`, `get_ltp`, `get_ohlc`, `get_historical_data`, `search_instruments`), portfolio (`get_profile`, `get_margins`, `get_holdings`, `get_positions`, `get_mf_holdings`), orders (`place_order`, `modify_order`, `cancel_order`, `get_orders`, `get_trades`, `get_order_history`, `get_order_trades`), and GTT orders (`get_gtts`, `place_gtt_order`, `modify_gtt_order`, `delete_gtt_order`).

4

Can I exclude some tools (e.g., for read‑only access)?

Yes. Set the `EXCLUDED_TOOLS` environment variable to a comma‑separated list of tool names (e.g., `place_order,modify_order,cancel_order`). The hosted version excludes potentially destructive trading operations for security.

5

What runtime dependencies are required?

For the hosted version none. For self‑hosting, you need Go 1.21+ and valid Kite Connect API credentials. Tests require Go 1.23+ with `GOEXPERIMENT=synctest` for timing‑dependent tests.

コメント

「その他」の他のコンテンツ