Skip to main content
Glama

Zerodha Trading Bot - MCP Server

by ssonthal

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging
MCP_SERVER_HOSTNoHost for the MCP serverlocalhost
MCP_SERVER_PORTNoPort for the MCP server3001
ZERODHA_API_KEYYesYour Zerodha API key
DEFAULT_QUANTITYNoDefault quantity for trading orders1
ZERODHA_BASE_URLNoZerodha API base URLhttps://api.kite.trade
DEFAULT_ORDER_TYPENoDefault order type for tradingMIS
ZERODHA_API_SECRETYesYour Zerodha API secret
DEFAULT_PRODUCT_TYPENoDefault product type for tradingINTRADAY
ZERODHA_ACCESS_TOKENYesYour Zerodha access token (obtained after authentication)
ZERODHA_REDIRECT_URINoRedirect URI for OAuth authenticationhttp://localhost:3000/callback

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/ssonthal/ZerodhaTradingBot-MCPServer'

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