Indian Broker MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | debug, info, warn, or error | info |
| RECORDINGS_DIR | No | Output directory for learn_broker_navigation | ./recordings |
| BROWSER_SLOW_MO | No | Delay in ms between Playwright actions | 100 |
| BROWSER_DATA_DIR | No | Persistent browser profile storage | ./browser-data |
| BROWSER_HEADLESS | No | Set true to run browsers headless (login still needs headed mode) | false |
| SESSION_TTL_HOURS | No | Session expiry time in hours | 6 |
| SESSION_ENCRYPTION_KEY | No | 32-byte hex key for AES-256-GCM session encryption | Auto-generated |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| broker_status_resource | Current connection status for all brokers |
| portfolio_summary_resource | Aggregated portfolio summary across all connected brokers |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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