|
| 1 | +# Kite MCP Server Environment Configuration |
| 2 | +# --------------------------------------- |
| 3 | +# This file contains all environment variables used by the Kite MCP Server. |
| 4 | +# Copy this file to ".env" and update with your actual values. |
| 5 | + |
| 6 | +# Required Kite Connect API credentials |
| 7 | +# Register at https://developers.kite.trade/signup to obtain these |
| 8 | +KITE_API_KEY=your_api_key_here |
| 9 | +KITE_API_SECRET=your_api_secret_here |
| 10 | + |
| 11 | +# Server configuration (optional - defaults shown) |
| 12 | +# ------------------------------------------------ |
| 13 | +# APP_MODE: The communication mode for the server |
| 14 | +# - stdio: Standard input/output (best for Claude Desktop) |
| 15 | +# - http: HTTP mode (RESTful API) - default |
| 16 | +# - sse: Server-Sent Events over HTTP (best for web clients) |
| 17 | +# - hybrid: Combined mode with both SSE and MCP endpoints |
| 18 | +APP_MODE=http |
| 19 | + |
| 20 | +# Server network settings (only used in http, sse, and hybrid modes) |
| 21 | +APP_PORT=8080 # Port to listen on (default: 8080) |
| 22 | +APP_HOST=localhost # Host to bind to (use 0.0.0.0 for all interfaces) |
| 23 | + |
| 24 | +# Tool exclusion (optional) |
| 25 | +# ------------------------- |
| 26 | +# EXCLUDED_TOOLS: Comma-separated list of tools to exclude from registration |
| 27 | +# - Useful for creating read-only instances or removing destructive operations |
| 28 | +# - Example: place_order,modify_order,cancel_order (excludes all order operations) |
| 29 | +# - Example: place_gtt_order,modify_gtt_order,delete_gtt_order (excludes GTT operations) |
| 30 | +# - Leave empty to enable all tools |
| 31 | +# EXCLUDED_TOOLS=place_order,modify_order,cancel_order |
| 32 | + |
| 33 | +# Logging configuration (optional) |
| 34 | +# -------------------------------- |
| 35 | +# LOG_LEVEL: Controls verbosity of logs |
| 36 | +# - debug: Verbose output for development |
| 37 | +# - info: Normal operational logs (default) |
| 38 | +# - warn: Only warning and error logs |
| 39 | +# - error: Only error logs |
| 40 | +LOG_LEVEL=info |
0 commit comments