Skip to main content
Glama
Prasad48432

trade-mcp

by Prasad48432

trade-mcp

An MCP server that lets a language model place real equity orders on a live Groww brokerage account.

MCP (Model Context Protocol) is a standard that lets an AI client discover and call tools on an external server — here, that means letting Claude buy and sell stock.

This spends real money. It ships in DRY RUN mode and stays there until you deliberately turn it off.


Install

bun install
cp .env.example .env      # then fill in your credentials
bun run smoke             # verify the handshake without touching the brokerage

Script

Purpose

bun run start

Run the server on stdio

bun run dev

Same, with reload on change

bun run build

Bundle to dist/index.js

bun run typecheck

tsc --noEmit

bun run smoke

Drive the server with hand-written JSON-RPC


Related MCP server: groww-mcp

Tools

Tool

Input

Effect

buy_stock

tradingSymbol (e.g. SBIN), quantity (positive integer)

Places a MARKET BUY on NSE / CASH / CNC, DAY validity

sell_stock

same

Places a MARKET SELL, same defaults

Only symbol and quantity are model-supplied. Exchange, segment, product, validity, and order type are server-side constants — the model cannot switch to intraday leverage, hop exchanges, or change the order type.

Both tools are annotated destructiveHint: true and openWorldHint: true so MCP clients prompt a human before invoking.

Adding a tool means writing one ToolDefinition and appending it to the array in src/tools/index.tsserver.ts iterates the registry and needs no edit. get_holdings, get_quote, and cancel_order are the obvious next ones; they map to groww.holdings.list, groww.liveData.getQuote, and groww.orders.cancel.


Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A command-based MCP server that enables programmatic stock trading on Zerodha through natural language interfaces like Claude, allowing users to buy and sell stocks via API calls.
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables users to manage equity holdings, execute trades, and track market data on Groww using natural language. It supports mutual fund investments and SIP management, including a mock mode for risk-free testing.
    23
    14
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    An MCP server for the Groww trading platform. This enables LLM applications to interact with your Groww trading account.
    4
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server implementation for Alpaca's Trading API that enables LLMs to interact with Alpaca's trading infrastructure using natural language, supporting stock, options, and crypto trading, portfolio management, watchlists, and market data.
    4
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Prasad48432/groww-mcp-trade'

If you have feedback or need assistance with the MCP directory API, please join our Discord server