
aptro/zerodha-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
aptro/zerodha-mcp는 MCP 서버 후보로 수입 https://github.com/aptro/zerodha-mcp.
개요
aptro/zerodha-mcp는 MCP 서버 후보로 수입 https://github.com/aptro/zerodha-mcp.
개요(AI 번역)
이 프로젝트는 Multi-Cloud Plugin (MCP) 프레임워크를 사용하여 Claude AI와 Zerodha의 거래 플랫폼을 통합하여 Claude를 통해 Zerodha 거래 계정과 직접 상호 작용할 수 있습니다.
설치 설명서
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 Zerodha-mcp를 자동으로 설치하십시오.
##1. Zerodha 개발자 계정 만들기
- Kite Connect로 이동하여 개발자 계정 등록
- 개발자의 계정에 로그인. 사이트맵 거래 계좌
##2. 새 앱 만들기
- Kite Developer 대시보드의 "Apps"섹션으로 이동
- "새로운 앱"을 클릭
- 필수 세부사항에 기입:
- App Name: descriptive name (예, “Claude Zerodha Integration”)을 선택하십시오.
- 앱 카테고리 : "개인"또는 적절한 카테고리 선택
- Redirect URL:
http://127.0.0.1:5000/zerodha/auth/redirect로 설정 - 묘사: 간략하게 당신의 신청의 목적을 설명하십시오
- 앱을 만들기 위한 양식 제출
##3. API 인증 받기
앱을 만들면 다음을 받게 됩니다:
- API 키 (또한 소비자 키라고도 함)
- API Secret (또한 Consumer Secret라고 함)
이 자격은 앱의 세부 페이지에 표시됩니다.
##4. 환경 변수 구성
- 명세.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Zerodha MCP Integration
This project integrates Zerodha’s trading platform with Claude AI using the Multi-Cloud Plugin (MCP) framework, allowing you to interact with your Zerodha trading account directly through Claude.
Setup Instructions
Installing via Smithery
To install zerodha-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @aptro/zerodha-mcp --client claude
1. Create a Zerodha Developer Account
- Go to Kite Connect and sign up for a developer account
- Log in to your account at developers.kite.trade
2. Create a New App
- Navigate to the “Apps” section in your Kite Developer dashboard
- Click on “Create a new app”
- Fill in the required details:
- App Name: Choose a descriptive name (e.g., “Claude Zerodha Integration”)
- App Category: Select “Personal” or appropriate category
- Redirect URL: Set to
http://127.0.0.1:5000/zerodha/auth/redirect - Description: Briefly describe your application’s purpose
- Submit the form to create your app
3. Get API Credentials
After creating your app, you’ll receive:
- API Key (also called Consumer Key)
- API Secret (also called Consumer Secret)
These credentials will be displayed on your app’s details page.
4. Configure Environment Variables
- Create a
.envfile in the root directory of this project - Add your API credentials to the file:
KITE_API_KEY=your_api_key_here
KITE_API_SECRET=your_api_secret_here
Replace your_api_key_here and your_api_secret_here with the actual credentials from step 3.
5. Install Dependencies
Make sure you have all required dependencies installed:
uv pip install kiteconnect fastapi uvicorn python-dotenv httpx
6. Install MCP config on your Claude desktop app
Install the MCP config on your Claude desktop app:
mcp install main.py
This command registers the Zerodha plugin with Claude, making all trading functionality available to the AI.
Usage
After setup, you can interact with your Zerodha account via Claude using the following features:
Authentication
Can you please check if I'm logged into my Zerodha account and authenticate if needed?
Stocks and General Trading
- Check account margins:
What are my current margins on Zerodha? - View portfolio holdings:
Show me my current holdings on Zerodha - Check current positions:
What positions do I currently have open on Zerodha? - Get quotes for symbols:
What's the current price of RELIANCE and INFY on NSE? - Place an order:
Place a buy order for 10 shares of INFY at market price on NSE - Get historical data:
Can you show me the historical price data for SBIN for the last 30 days?
Mutual Funds
설치
npx -y @smithery/cli install @aptro/zerodha-mcp --client claude