Back to Home
lensesio icon

lenses-mcp

Verified Safe

by 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

Run Command
docker run -e LENSES_API_KEY=<YOUR_API_KEY> -e LENSES_URL=http://localhost:9991 lensesio/mcp

Environment 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

Stats

Interest Score33
Security Score8
Cost ClassMedium
Avg Tokens750
Stars18
Forks1
Last Update2026-01-02

Tags

DataOpsKafkaReal-timeSQLLenses