RA

rohandoshi21/angleone-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

10 stars 4 forks 品質 40 トレンド 18

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.

概要

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. - Python 3.10 - Angel One trading account - API credentials from Angel One 2. Create a virtual environment (recommended): 1. Create a test_credentials.py file in the root directory with your Angel One credentials: 1. You can start api.py as an mcp server to your mcp client

README

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
  1. Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  1. 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:
# test_credentials.py
API_KEY = "your_api_key"
CLIENT_CODE = "your_client_code"
PASSWORD = "your_password"
PIN = "your_pin"
TOKEN = "your_token"  # Optional

Usage

  1. You can start api.py as an mcp server to your mcp client
{
    "mcp": {
        "servers": {
            "angleone": {
                "command": "/Users/rohandoshi/.local/bin/uv",
                "args": [
                    "--directory",
                    "/Users/rohandoshi/Development/angelone-mcp",
                    "run",
                    "api.py"
                ]
            },
        }
    }
}

Results

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →