Zerodha Trading MCP
Zerodha トレーディング MCP
AIモデルがZerodha取引プラットフォームと連携できるようにするモデルコンテキストプロトコル(MCP)サーバー。このプロジェクトは、標準化されたインターフェースを通じて、Zerodha上で取引の実行、ポートフォリオの閲覧、ポジション管理を行うためのツールセットを提供します。
特徴
🔐 Zerodha API による安全な認証
📊 ポートフォリオ保有状況を見る
📈 空きポジションを確認する
💹 売買注文を出す
👤 ユーザープロフィール情報にアクセスする
Related MCP server: Kite MCP Server
前提条件
Node.js (v14以上)
Zerodha取引口座
ZerodhaからのAPI認証情報
インストール
リポジトリをクローンします。
git clone https://github.com/shubhamprajapati7748/zerodha-trade-mcp.git
cd zerodha-trade-mcp依存関係をインストールします:
npm installZerodha の資格情報を使用して、ルート ディレクトリに
.envファイルを作成します。
KITE_API_KEY=your_api_key
KITE_SECRET_KEY=your_secret_key
REQUEST_TOKEN=your_request_token
ACCESS_TOKEN=your_access_tokenクロードデスクトップMCP構成
Claude DesktopでこのMCPサーバーを使用するには、MCPサーバーの詳細を設定する必要があります。設定方法は次のとおりです。
プロジェクトルートにある
claude_desktop_config.jsonを開きます。次の構成を追加します。
{
"mcpServers": {
"tradeStocks": {
"command": "/opt/homebrew/bin/bun",
"args": [
"/path/to/your/index.ts"
],
"env": {
"KITE_API_KEY": "your_api_key",
"KITE_SECRET_KEY": "your_secret_key",
"REQUEST_TOKEN": "your_request_token",
"ACCESS_TOKEN": "your_access_token"
}
}
}
}必ず次の点に注意してください:
index.tsファイルへのパスを更新します環境変数を実際のZerodhaの資格情報に置き換えます
使用法
MCP サーバーは次のツールを提供します。
プロフィールを取得
get-profileZerodha からユーザーのプロフィール情報を取得します。
株式を購入する
buy-stock {stock: string, quantity: number}指定された在庫と数量の購入注文を出します。
株式を売る
sell-stock {stock: string, quantity: number}指定された株式と数量の売り注文を出します。
ポートフォリオを表示
show-portfolioユーザーの完全なポートフォリオ保有状況を表示します。
ポジションを表示
show-positionsユーザーのオープンポジションを表示します。
発達
このプロジェクトは以下を使用して構築されます:
タイプスクリプト
カイトコネクトAPI
モデルコンテキストプロトコル(MCP)SDK
スキーマ検証のためのZod
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
免責事項
このプロジェクトは教育目的のみに使用されます。金融市場での取引には大きなリスクが伴います。必ずご自身で調査を行い、責任ある取引を行ってください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceImplements a Model Context Protocol server that connects with Zerodha Kite API, allowing users to buy/sell stocks and retrieve holdings and positions information.1
- AlicenseNot gradedqualityDmaintenanceAn MCP server for integrating with Zerodha Kite API that provides Claude with tools to interact with your Kite trading account, enabling portfolio management, market data access, and order execution.1085MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates with Zerodha APIs for automated trading, providing tools for authentication, market data retrieval, order placement, and portfolio management.
- AlicenseNot gradedqualityDmaintenanceAn MCP server that integrates with the Zerodha KiteConnect API to facilitate programmatic stock trading operations. It enables users to execute buy and sell commands directly through an MCP-compatible interface.305Apache 2.0
Related MCP Connectors
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
MCP server for OpenMM — exposes market data, account, trading, and strategy tools to AI agents
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/0xprajapati/zerodha-trade-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server