
zerodha/kite-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
zerodha/kite-mcp-server は、https://github.com/zerodha/kite-mcp-server. からインポートされたMCPサーバー候補です。
概要
zerodha/kite-mcp-server は、https://github.com/zerodha/kite-mcp-server. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
モデルコンテキストプロトコル(MCP)サーバーで、AIアシスタントにKite Connect Trading APIへの安全なアクセスを提供します。このサーバーは、AIエージェントが市場データの取得、ポートフォリオ管理、標準化されたインターフェースを通じて取引を実行することを可能にします。
要約;トレーダーのためのDR
カイト取引口座でAIを使いたいですか?AIクライアント設定にhttps://mcp.kite.trade/mcpを追加するだけです。インストールやAPIキーは不要で、ホスティング済みですぐに使えます。
特徴
- ポートフォリオ管理:保有銘柄、ポジション、マージン、ミューチュアルファンド投資の一覧
- 注文管理:注文履歴を詳細に記載した注文の提出、変更、キャンセル
- GTT注文:有効期限 トリガー注文管理
- マーケットデータアクセス:リアルタイムの見積もり、過去のデータ、OHLCデータ
- ページ設定サポート:大規模なデータセット(保有、注文、取引)の自動ページ化
- 包括的カバレッジ:ほとんどのKite Connect APIエンドポイントを実装
- 複数の展開モード:stdio、HTTP、SSE、ハイブリッドモード(本番環境)
- 組み込みドキュメント:実行時に自動提供されるドキュメント
クイックスタート
ホスト版(推奨)
始める最も簡単な方法は、'mcpのホスト版を使うことです。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Kite MCP Server
A Model Context Protocol (MCP) server that provides AI assistants with secure access to the Kite Connect trading API. This server enables AI agents to retrieve market data, manage portfolios, and execute trades through a standardized interface.
TL;DR for Traders
Want to use AI with your Kite trading account? Just add https://mcp.kite.trade/mcp to your AI client configuration. No installation or API keys required - it’s hosted and ready to use.
Features
- Portfolio Management: View holdings, positions, margins, and mutual fund investments
- Order Management: Place, modify, and cancel orders with full order history
- GTT Orders: Good Till Triggered order management
- Market Data Access: Real-time quotes, historical data, OHLC data
- Pagination Support: Automatic pagination for large datasets (holdings, orders, trades)
- Comprehensive Coverage: Implements most Kite Connect API endpoints
- Multiple Deployment Modes: stdio, HTTP, SSE, and hybrid mode (production)
- Built-in Documentation: Auto-served documentation at runtime
Quick Start
Hosted Version (Recommended)
The easiest way to get started is with our hosted version at mcp.kite.trade. Both /mcp and /sse endpoints are available - no installation or API keys required on your end.
Quick Setup: Add the following to your MCP configuration:
https://mcp.kite.trade/mcp
Recommended: Use the new HTTP mode (/mcp endpoint) for better performance and reliability. You can use mcp-remote to connect to the hosted server.
For self-hosting with your own API keys, follow the installation steps below.
Prerequisites
- For hosted version (recommended): Nothing! Just use
https://mcp.kite.trade/mcp - For self-hosting: Go 1.21 or later
- For self-hosting: Valid Kite Connect API credentials
Getting started
git clone https://github.com/zerodha/kite-mcp-server
cd kite-mcp-server
Configuration
Create a .env file with your Kite Connect credentials:
KITE_API_KEY=your_api_key
KITE_API_SECRET=your_api_secret
APP_MODE=http
APP_PORT=8080
APP_HOST=localhost
PUBLIC_BASE_URL=http://localhost:8080
You can also use the provided justfile to initialize the config.
just init-env
Running the Server
# Build and run
go build -o kite-mcp-server
./kite-mcp-server
# Or run directly
go run main.go
The server will start and serve a status page at http://localhost:8080/
Client Integration
Setup Guide
- Claude Desktop (Hosted Mode) - Recommended
- Claude Desktop (HTTP Mode) - Recommended
- Claude Desktop (SSE Mode)
- Claude Desktop (stdio Mode)
- Other MCP Clients
Claude Desktop (Hosted Mode)
インストール
npx mcp-remote https://mcp.kite.trade/mcp設定
{
"mcpServers": {
"kite": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.kite.trade/mcp"]
}
}
}