Angel One MCP (Model Context Protocol)

by RohanDoshi21

9 stars
354 downloads
Not rated
GitHub

Description

# Angel One MCP (Model Context Protocol) This repository contains the Model Context Protocol implementation for Angel One trading platform, allowing you to interact with Angel One's trading APIs to get history data and get portfolio data. ## Prerequisites - Python 3.10 - Angel…

About

# Angel One MCP (Model Context Protocol) This repository contains the Model Context Protocol implementation for Angel One trading platform, allowing you to interact with Angel One's trading APIs to get history data and get portfolio data. ## Prerequisites - Python 3.10 - Angel One trading account - API credentials…

Details

Author
RohanDoshi21
GitHub stars
9
Downloads
354
Categories
Other

- Retrieves historical trading data
- Retrieves portfolio data
- Requires Python 3.10
- Uses Angel One trading API credentials
- Runs as an MCP server via uv

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Angel One MCP (Model Context Protocol)
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Python 3.10, clone the repository, initialize submodules, create a virtual environment, install dependencies with uv, and configure your credentials in a test_credentials.py file in the root directory. Then run api.py as an MCP server using the uv command, specifying the directory and script in your MCP client configuration.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "angel one mcp (model context protocol)": {
            "angleone-mcp-server": {
                "command": "python",
                "args": [
                    "-m",
                    "venv",
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "angleone-mcp-server": {
        "command": "python",
        "args": [
            "-m",
            "venv",
            "venv"
        ]
    }
}

Angel One MCP (Model Context Protocol)

This repository contains the Model Context Protocol implementation for Angel One trading platform, allowing you to interact with Angel One's trading APIs to get history data and get portfolio data.

Prerequisites

- Python 3.10
- Angel One trading account
- API credentials from Angel One

Installation

1. Clone the repository:

git clone https://github.com/yourusername/angelone-mcp.git
cd angelone-mcp
git submodule update --init --recursive

2. Create a virtual environment (recommended):

python -m venv venv
source venv/bin/activate # On Windows, use venv\Scripts\activate

3. Install the required dependencies:

curl -LsSf https://astral.sh/uv/install.sh | sh

uv pip install -r requirements.txt

Configuration

1. Create a test_credentials.py file in the root directory with your Angel One credentials:
```python

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.