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.

  • 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.

  • 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!

  • 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资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • langgenius
  • Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

  • alibaba
  • an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.

  • rulego
  • ⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.

  • Byaidu
  • PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

  • lasso-security
  • A plugin-based gateway that orchestrates other MCPs and allows developers to build upon it enterprise-grade agents.

  • hkr04
  • Lightweight C++ MCP (Model Context Protocol) SDK

    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!