wu-sheng commented on code in PR #856: URL: https://github.com/apache/skywalking-banyandb/pull/856#discussion_r2545952735
########## mcp-server/README.md: ########## @@ -0,0 +1,57 @@ +# BanyanDB MCP Server + +MCP server for BanyanDB that translates natural language queries to BydbQL. + +## Quick Start + +1. **Start BanyanDB**: `docker-compose up -d` (see [docker-compose.yml](./docker-compose.yml)) +2. **Build**: `npm install && npm run build` +3. **Run**: `npx @modelcontextprotocol/inspector --config inspector-config.json` + +Opens `http://localhost:6274` for interactive testing. + +## Configuration + +### Environment Variables + +- `BANYANDB_ADDRESS`: BanyanDB address (default: `localhost:17900`). Auto-converts gRPC port (17900) to HTTP port (17913). +- `TARS_API_KEY`: (Optional) For LLM-powered query generation. Falls back to pattern-based if not set. Review Comment: We only need LLM API key, e.g. Claude or OpenAI. TARS isn't necessary. -- 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]
