- Lenses MCP for Apache Kafka
Lenses MCP for Apache Kafka
what is Lenses MCP?
Lenses MCP is a tool designed to manage, explore, transform, and join data in Kafka topics across multiple clusters using various flavors of Apache Kafka via Lenses.io, including a free Community Edition.
how to use Lenses MCP?
To use Lenses MCP, set up the server by running the command: LENSES_API_KEY={LENSES_API_KEY} uv run --project <ABSOLUTE_PATH_TO_THIS_REPO> --with fastmcp fastmcp run <ABSOLUTE_PATH_TO_THIS_REPO>/src/lenses_mcp/server.py with your Lenses API key and the absolute path to the repository.
key features of Lenses MCP?
- Manage and explore Kafka topics across multiple clusters.
- Transform and join data seamlessly.
- Support for various flavors of Apache Kafka.
- Community Edition available for free.
use cases of Lenses MCP?
- Real-time data processing and analytics.
- Data integration from multiple Kafka clusters.
- Streamlining data operations for developers.
FAQ from Lenses MCP?
- What is the purpose of Lenses MCP?
Lenses MCP helps in managing and processing data in Kafka topics efficiently across different clusters.
- Is there a free version of Lenses MCP?
Yes! Lenses MCP offers a Community Edition that is free to use.
- How do I set up Lenses MCP?
You can set it up by following the server command provided in the documentation.
Server Config
{
"mcpServers": {
"Lenses.io": {
"command": "uv",
"args": [
"run",
"--project",
"<ABSOLUTE_PATH_TO_THIS_REPO>",
"--with",
"fastmcp",
"fastmcp",
"run",
"<ABSOLUTE_PATH_TO_THIS_REPO>/src/lenses_mcp/server.py"
],
"env": {
"LENSES_API_KEY": "<YOUR_LENSES_API_KEY>"
},
"transport": "stdio"
}
}
}