# WatchYourLAN MCP Server configuration # Base URL of the WatchYourLAN instance (no trailing slash) WYL_BASE_URL=http://localhost:8840 # Request timeout in seconds WYL_TIMEOUT=10 # --------------------------------------------------------------------------- # MCP transport configuration # --------------------------------------------------------------------------- # Transport mode: stdio (default) or sse # - stdio : MCP client spawns this server as a subprocess (Claude Desktop, SDK) # - sse : server listens on HTTP, MCP clients connect to http://HOST:PORT/sse MCP_TRANSPORT=stdio # SSE mode only — host and port the HTTP server binds to MCP_HOST=0.0.0.0 MCP_PORT=8080 # --------------------------------------------------------------------------- # Agent configuration (OpenRouter) — only needed when running agent.py # --------------------------------------------------------------------------- # API key from https://openrouter.ai/keys OPENROUTER_API_KEY=sk-or-... # Model to use — any model available on OpenRouter, e.g.: # google/gemini-2.0-flash-001 # anthropic/claude-sonnet-4-5 # openai/gpt-4o-mini OPENROUTER_MODEL=google/gemini-2.0-flash-001 # Optional: shown in OpenRouter dashboard / rankings OPENROUTER_SITE_URL= OPENROUTER_SITE_NAME=watchyourlan-agent