wu-sheng opened a new pull request, #29: URL: https://github.com/apache/skywalking-mcp/pull/29
## Summary - Add `set_skywalking_url` MCP tool enabling AI agents to configure SkyWalking OAP connection (URL + basic auth) at runtime on a per-session basis - Add `--sw-username` / `--sw-password` CLI flags for basic auth support - Refactor MQE tools to read connection settings from request context instead of global viper state - Remove mandatory `--sw-url` requirement for stdio mode — URL can now be set dynamically via the session tool ## Test plan - [ ] Verify `swmcp stdio` starts without `--sw-url` (no longer required) - [ ] Verify `set_skywalking_url` tool sets session URL and subsequent tool calls use it - [ ] Verify `--sw-username`/`--sw-password` flags propagate basic auth to OAP requests - [ ] Verify MQE tools (execute_mqe_expression, list_mqe_metrics, get_mqe_metric_type) use context-based URL/auth - [ ] Verify SSE and streamable-http transports also get session support - [ ] CI passes (license + lint + docker build) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
