MCP cover image
See in Github
2025-04-14

0

Github Watches

0

Github Forks

0

Github Stars

MCP Trading Agent

This project implements a custom Trading Agent for Zerodha using the new MCP (Model Context Protocol) TypeScript SDK built from scratch.

Practical

Buying Stock

buyOrder

Selling Stock

sellOrder

Sample Tests

claude LLMresponse

Overview

This trading agent is designed to execute trading on Zerodha's platform using the Model Context Protocol. It leverages the full capabilities of the MCP TypeScript SDK to interact with Zerodha's trading interface efficiently and safely.

Features

  • Built using the official MCP (Model Context Protocol) TypeScript SDK
  • Integration with Zerodha's trading platform
  • Type-safe implementation
  • Real-time market data processing from Zerodha
  • Automated trading execution on Zerodha

Tech Stack

  • TypeScript
  • Zod
  • MCP TypeScript SDK
  • Node.js
  • Zerodha API Integration

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • MCP TypeScript SDK
  • Zerodha Trading Account
  • Zerodha API credentials

Installation

  1. Clone the repository:
git clone https://github.com/UdayRajVadeghar/MCP-Trading-Agent.git
cd MCP-Trading-Agent
  1. Install dependencies:
npm install
# or
yarn install

Usage

  1. Configure your trading parameters in tsconfig.json
  2. Start the trading agent:
npm run dev
# or
yarn start

Configuration

The trading agent can be configured through:

  • Environment variables for Zerodha API credentials and sensitive data
  • Command-line arguments for runtime options

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

Trading involves substantial risk and is not suitable for every investor. Make sure you understand the risks involved and never trade with money you cannot afford to lose. This trading agent interfaces with your Zerodha account and should be used with appropriate caution.


Built with ❤️ by UdayRaj Vadeghar

相关推荐

  • Aurity Ltd
  • Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

  • Convincible Ltd
  • You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!

  • John Rafferty
  • Text your favorite pet, after answering 10 questions about their everyday lives!

  • Ian O'Connell
  • Provide players' names or enter Quickstart to start the game!

  • analogchat.com
  • Efficient Spotify assistant for personalized music data.

  • Matthieu Savioux
  • Evaluates language quality of texts, responds with a numerical score between 50-150.

  • Liaozhaohe
  • - Talk with your own cat-girl maid as in visual novels!

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

  • langgenius
  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • alibaba
  • 1Panel-dev
  • 🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.

  • Byaidu
  • PDF Traduction de papier scientifique avec formats conservés - 基于 AI 完整保留排版的 PDF 文档全文双语翻译 , 支持 Google / Deepl / Olllama / Openai 等服务 , 提供 CLI / GUI / MCP / DOCKER / ZOTERO

  • microsoft
  • Python tool for converting files and office documents to Markdown.

  • mindsdb
  • AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need

  • rulego
  • ⛓️RULEGO est un cadre de moteur de règle d'orchestration des composants de nouvelle génération légère, intégrée, intégrée et de nouvelle génération pour GO.

  • AstrBotDevs
  • ✨ 易上手的多平台 llm 聊天机器人及开发框架 ✨ 平台支持 QQ 、 QQ 频道、 Télégramme 、微信、企微、飞书 | MCP 服务器、 Openai 、 Deepseek 、 Gemini 、硅基流动、月之暗面、 Olllama 、 Oneapi 、 Dify 等。附带 webui。

  • hkr04
  • SDK C ++ MCP (Protocole de contexte modèle léger)

  • nbonamy
  • Witsy: Assistant AI de bureau

    Reviews

    3 (2)
    Avatar
    user_RQ1YdTmN
    2025-04-24

    The MCP-Trading-Agent by UdayRajVadeghar is an impressive tool for anyone involved in trading. Its intuitive interface and robust functionalities make it a must-have for both beginners and seasoned traders. The seamless integration and accurate analytics truly set it apart from other platforms. Highly recommend giving MCP-Trading-Agent a try!

    Avatar
    user_Taadtf7X
    2025-04-24

    I've been using MCP-Trading-Agent for a few months now, and it has significantly improved my trading efficiency. Developed by UdayRajVadeghar, the agent seamlessly integrates with my trading strategy, offering insightful analytics and real-time updates. The user-friendly interface and reliable performance make it a valuable tool for any serious trader. Highly recommended!