lenses-mcp
Verified Safeby lensesio
Overview
This MCP server provides a programmatic interface for LLMs to interact with Lenses, a DataOps tool for Apache Kafka, allowing management of Kafka topics, consumer groups, connectors, and execution of Lenses SQL queries.
Installation
docker run -e LENSES_API_KEY=<YOUR_API_KEY> -e LENSES_URL=http://localhost:9991 lensesio/mcpEnvironment Variables
- LENSES_API_KEY
- LENSES_URL
Security Notes
The server uses environment variables for sensitive information like `LENSES_API_KEY`, which is a good practice. It utilizes standard Python libraries (`httpx`, `websockets`) for network communication. There are no apparent uses of `eval`, `exec`, or direct shell command execution without proper sanitization within the provided source code. Error handling in API clients catches common HTTP and network issues. The security largely relies on the Lenses platform's API security and the secure management of the `LENSES_API_KEY` and `LENSES_URL` environment variables. Broad `Exception` catching in the WebSocket client could mask specific issues.
Similar Servers
fastmcp
FastMCP is an ergonomic interface for the Model Context Protocol (MCP), providing a comprehensive framework for building and interacting with AI agents, tools, resources, and prompts across various transports and authentication methods.
Polymcp
A comprehensive TypeScript framework for building and orchestrating Model Context Protocol (MCP) servers and AI agents, enabling LLMs to intelligently discover, select, and execute external tools.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
kafka-mcp-server
Enables LLM models and AI applications to interact with Apache Kafka for producing/consuming messages, managing topics, monitoring consumer groups, and assessing cluster health via the Model Context Protocol (MCP).