Zerodha Trading MCP

MIT License
1

Integrations

  • Enables interaction with the Zerodha trading platform, providing tools for executing trades, viewing portfolio holdings, checking open positions, placing buy/sell orders, and accessing user profile information.

제로다 트레이딩 MCP

AI 모델이 Zerodha 거래 플랫폼과 상호 작용할 수 있도록 하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 프로젝트는 표준화된 인터페이스를 통해 Zerodha에서 거래 실행, 포트폴리오 조회, 포지션 관리를 위한 도구 세트를 제공합니다.

특징

  • 🔐 Zerodha API를 통한 안전한 인증
  • 📊 포트폴리오 보유 자산 보기
  • 📈 공석 확인하기
  • 💹 매수/매도 주문하기
  • 👤 사용자 프로필 정보에 접근

필수 조건

  • Node.js(v14 이상)
  • 제로다 트레이딩 계좌
  • Zerodha의 API 자격 증명

설치

  1. 저장소를 복제합니다.

지엑스피1

  1. 종속성 설치:
npm install
  1. Zerodha 자격 증명을 사용하여 루트 디렉토리에 .env 파일을 만듭니다.
KITE_API_KEY=your_api_key KITE_SECRET_KEY=your_secret_key REQUEST_TOKEN=your_request_token ACCESS_TOKEN=your_access_token

Claude Desktop MCP 구성

이 MCP 서버를 Claude Desktop과 함께 사용하려면 MCP 서버 세부 정보를 구성해야 합니다. 설정 방법은 다음과 같습니다.

  1. 프로젝트 루트에서 claude_desktop_config.json 엽니다.
  2. 다음 구성을 추가합니다.
{ "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-profile

Zerodha에서 사용자 프로필 정보를 검색합니다.

주식 매수

buy-stock {stock: string, quantity: number}

지정된 재고와 수량에 대한 매수 주문을 합니다.

주식 매도

sell-stock {stock: string, quantity: number}

지정된 재고와 수량에 대한 매도 주문을 합니다.

포트폴리오 보기

show-portfolio

사용자의 전체 포트폴리오 보유 내역을 표시합니다.

위치 표시

show-positions

사용자의 공석을 보여줍니다.

개발

이 프로젝트는 다음을 사용하여 구축되었습니다.

  • 타입스크립트
  • 카이트커넥트 API
  • 모델 컨텍스트 프로토콜(MCP) SDK
  • 스키마 검증을 위한 Zod

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

부인 성명

이 프로젝트는 교육 목적으로만 제공됩니다. 금융 시장에서의 거래는 상당한 위험을 수반합니다. 항상 스스로 조사하고 책임감 있게 거래하십시오.

-
security - not tested
A
license - permissive license
-
quality - not tested

AI 모델이 Zerodha 거래 플랫폼과 상호 작용할 수 있도록 하는 모델 컨텍스트 프로토콜 서버로, 사용자는 표준화된 인터페이스를 통해 거래를 실행하고, 포트폴리오 보유량을 보고, 포지션을 관리할 수 있습니다.

  1. 특징
    1. 필수 조건
      1. 설치
        1. Claude Desktop MCP 구성
          1. 용법
            1. 프로필 받기
            2. 주식 매수
            3. 주식 매도
            4. 포트폴리오 보기
            5. 위치 표시
          2. 개발
            1. 기여하다
              1. 특허
                1. 부인 성명

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server implementation that enables AI assistants to interact with the Paradex perpetual futures trading platform, allowing for retrieving market data, managing trading accounts, placing orders, and monitoring positions.
                    Last updated -
                    28
                    4
                    Python
                    MIT License
                    • Linux
                    • Apple
                  • A
                    security
                    F
                    license
                    A
                    quality
                    A Model Context Protocol server that enables AI assistants to interact with the Deriv trading API, providing access to active trading symbols and account balance information.
                    Last updated -
                    2
                    Python
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that enables AI assistants to access Flow blockchain data and perform operations such as checking balances, resolving domains, executing scripts, and submitting transactions.
                    Last updated -
                    JavaScript
                    • Linux
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A production-ready Model Context Protocol server implementation that connects AI assistants to the TON blockchain, allowing them to query wallet balances, transaction details, smart contracts, and other blockchain data.
                    Last updated -
                    TypeScript
                    MIT License

                  View all related MCP servers

                  ID: 256r0s5zde