DOS Growth MCP Server

DOS Growth MCP Server

Connects a brokerage account to AI assistants, enabling portfolio queries, order management, and market data access through natural language.

Category
Visit Server

README

๐Ÿš€ DOS Growth MCP Server (Python)

Python FastMCP License: MIT uv

Ask an AI assistant questions about your connected trading account in plain English with DOS Growth.

Live service: https://dos-growth-mcp.onrender.com

DOS Growth connects a supported brokerage account to Claude or any other MCP-compatible AI client. Once configured, you can ask for your portfolio value, balances, holdings, market data, option chains, and more without switching tabs.

What is MCP? Model Context Protocol (MCP) is an open standard that lets AI assistants connect to external tools and live data.

โœจ What can DOS Growth do?

Once connected, your AI client gains access to 18 tools:

Category Example request
๐Ÿ’ผ Account & Portfolio "What's my available balance?" / "Show my holdings"
๐Ÿ“ˆ Order Management "Place a limit order for 10 shares of INFY at โ‚น1,800"
๐Ÿง  Smart Orders (GTT/OCO) "Set a trigger order if RELIANCE crosses โ‚น2,500"
๐Ÿ“Š Market Data "Get the LTP for TCS and WIPRO" / "Show OHLC data"
โšก Derivatives (FNO) "Show the NIFTY option chain" / "What are the greeks?"

<details> <summary>See all 18 DOS Growth tools</summary>

  • dos_growth_get_profile โ€” Brokerage account profile
  • dos_growth_get_balance โ€” Available margins and cash balance
  • dos_growth_get_holdings โ€” Equity holdings
  • dos_growth_get_positions โ€” Live positions (Cash or FNO)
  • dos_growth_place_order โ€” Market, Limit, SL, and SL-M orders
  • dos_growth_modify_order โ€” Edit a pending order
  • dos_growth_cancel_order โ€” Cancel an open order
  • dos_growth_create_smart_order โ€” GTT or OCO smart orders
  • dos_growth_cancel_smart_order โ€” Cancel a smart-order leg
  • dos_growth_get_smart_order_list โ€” View active smart orders
  • dos_growth_get_quote โ€” Price, volume, and market-depth data
  • dos_growth_get_ltp โ€” Last Traded Price for multiple symbols
  • dos_growth_get_ohlc โ€” Open, High, Low, and Close values
  • dos_growth_get_historical_candles โ€” Historical data for analysis
  • dos_growth_get_option_chain โ€” Option chains for indices and stocks
  • dos_growth_get_greeks โ€” Delta, Theta, Gamma, and Vega
  • dos_growth_get_expiries โ€” Available expiry dates
  • dos_growth_get_contracts โ€” Contracts for a selected expiry

</details>

๐Ÿ› ๏ธ Setup guide

Time needed: About 10 minutes. No prior coding experience is required.

Step 1 โ€” Get the code

Clone your DOS Growth repository:

git clone <your-dos-growth-repository-url> dos-growth
cd dos-growth

Alternatively, use the repository page's Code โ†’ Download ZIP option and extract the archive.

Step 2 โ€” Install uv

uv installs and runs this Python project. Follow the official uv installation guide, then verify it:

uv --version

Step 3 โ€” Create your brokerage API keys

DOS Growth currently integrates with the Groww Trade API through its official Python SDK.

  1. Open the Trade API keys page.
  2. Sign in and create an API key and API secret.
  3. Store both credentials securely.

Treat these credentials like a password. Never share them or commit them to Git.

Step 4 โ€” Configure DOS Growth

Copy .env.example to a new file named .env.local, then enter your credentials:

DOS_GROWTH_API_KEY=your_api_key_here
DOS_GROWTH_API_SECRET=your_api_secret_here
# Optional: DOS_GROWTH_API_TOKEN=your_predefined_token_if_available

For compatibility with earlier installations, GROWW_API_KEY, GROWW_API_SECRET, and GROWW_API_TOKEN are also accepted as fallback names.

Step 5 โ€” Install dependencies and start DOS Growth

uv sync
uv run main.py

The server runs at http://127.0.0.1:8000. Keep the terminal open while using an MCP client.

Step 6 โ€” Connect Claude Desktop

Open Claude Desktop, go to Settings โ†’ Developer, and select Edit Config. Add:

{
  "mcpServers": {
    "dos_growth": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://127.0.0.1:8000/sse"
      ]
    }
  }
}

Save the configuration and restart Claude Desktop. DOS Growth should appear as a connected MCP server.

Step 7 โ€” Try it

  • "What is my current account balance?"
  • "Show me my holdings."
  • "What's the LTP for RELIANCE and TCS?"

โ˜๏ธ Free cloud deployment on Render

The included Dockerfile and render.yaml deploy DOS Growth as a free Render web service with an HTTPS onrender.com subdomain.

Deploy to Render

Configure these values as Render secrets during deployment:

  • DOS_GROWTH_ACCESS_TOKEN โ€” a long, random token that protects the MCP endpoints
  • DOS_GROWTH_API_KEY and DOS_GROWTH_API_SECRET โ€” your brokerage API credentials
  • DOS_GROWTH_API_TOKEN โ€” optional pre-generated brokerage token

The public health endpoint is /health, and the protected MCP endpoint is /sse.

Use the deployed service from Claude Desktop on Windows with this configuration, replacing the URL and token:

{
  "mcpServers": {
    "dos_growth": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://dos-growth-mcp.onrender.com/sse",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer replace_with_your_access_token"
      }
    }
  }
}

Never put the access token or brokerage credentials in Git. Render stores these values as encrypted environment secrets.

๐Ÿ”Œ Other MCP clients

Any MCP-compatible client can connect while DOS Growth is running:

  • SSE endpoint: http://127.0.0.1:8000/sse

๐Ÿงช Test with MCP Inspector

npx @modelcontextprotocol/inspector uv run main.py

This opens a browser interface where developers can call each tool and inspect its response.

โ“ Troubleshooting

DOS Growth does not appear as a connected tool

Make sure the server is running, save the MCP client configuration, and restart the client.

uv: command not found

Restart the terminal after installing uv. If needed, review the uv installation guide.

DOS_GROWTH_API_KEY is missing or authentication fails

Confirm .env.local is in the project root and that the variable names are spelled exactly as shown.

Port 8000 is already in use

Stop the other process using that port before starting DOS Growth.

๐Ÿ“œ Project identity

  • App: DOS Growth
  • Company: DOS
  • Developer: Dikshu
  • License: MIT

Developed for the community by Dikshu at DOS.


โš ๏ธ Disclaimer: DOS Growth is an unofficial, community-built wrapper for the Groww Trade API. DOS Growth, DOS, and Dikshu are not affiliated with or endorsed by Groww. Trading involves financial risk. Use this software at your own discretion and always verify orders before placing them.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured