Skip to main content
Glama
Sparker0i

Indian Broker MCP Server

by Sparker0i

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNodebug, info, warn, or errorinfo
RECORDINGS_DIRNoOutput directory for learn_broker_navigation./recordings
BROWSER_SLOW_MONoDelay in ms between Playwright actions100
BROWSER_DATA_DIRNoPersistent browser profile storage./browser-data
BROWSER_HEADLESSNoSet true to run browsers headless (login still needs headed mode)false
SESSION_TTL_HOURSNoSession expiry time in hours6
SESSION_ENCRYPTION_KEYNo32-byte hex key for AES-256-GCM session encryptionAuto-generated

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
broker_statusA

Show connection status for all brokers

broker_connectC

Connect to an Indian broker by opening a browser for login

broker_disconnectA

Disconnect from a broker and wipe session data

get_holdingsC

Fetch stock holdings from connected brokers

get_positionsC

Fetch open positions from connected brokers

get_ordersB

Fetch today's order history from connected brokers

get_mutual_fundsB

Fetch mutual fund holdings from connected brokers

get_us_stocksB

Fetch US stock holdings from connected brokers

get_goldA

Fetch gold holdings from connected brokers

get_fno_positionsC

Fetch F&O positions from connected brokers

get_portfolio_summaryB

Aggregated portfolio summary across all connected brokers

search_stockB

Search for a stock or mutual fund by name or symbol

get_quoteC

Get current price quote for a stock

learn_broker_navigationC

Open a browser to record navigation patterns, XHR requests, and DOM snapshots for a broker

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
broker_status_resourceCurrent connection status for all brokers
portfolio_summary_resourceAggregated portfolio summary across all connected brokers

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/Sparker0i/indian-stock-mcp-agent'

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