Skip to content

Add Angel One MCP Server #2280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bhavesh0009
Copy link

Angel One MCP Server

Description

This PR adds a comprehensive MCP server for Angel One (Angel Broking) trading platform, providing full access to SmartAPI functionality through the Model Context Protocol.

Features

  • Portfolio Management: Holdings, positions, margin info, RMS limits
  • Trading Operations: Place/modify/cancel orders, order book, trade history
  • Market Data: Real-time LTP, historical candlestick data, stock search
  • Advanced Features: GTT rules, option Greeks, market analytics, gainers/losers
  • Security: TOTP authentication, configurable safety controls, dry-run mode

Key Capabilities

  • 25+ comprehensive trading and analysis tools
  • Real-time market data access and analysis
  • Automated authentication with TOTP support
  • Built-in safety features including order limits
  • Support for equity, derivatives, and options trading

Testing

  • All tools tested with live Angel One API
  • Authentication flow verified with TOTP
  • Error handling and safety controls tested
  • Documentation complete and comprehensive

Dependencies

  • fastmcp>=0.9.0
  • SmartApi-python
  • pyotp
  • python-dotenv

Breaking Changes

None - this is a new server addition.

Additional Notes

This server includes comprehensive safety features including configurable order limits and dry-run mode for testing. Ideal for traders, analysts, and developers working with Indian stock markets.

- Comprehensive trading and market data functionality
- Portfolio management, real-time market data access
- Advanced trading features (GTT, options, analytics)
- Built-in safety controls and authentication
- Supports 25+ trading and analysis tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant