Lenses Mcp For Apache Kafka
About
Manage, explore, transform and join data across multiple clusters using different flavours of Apache Kafka via Lenses.io (including the free Community Edition)
Details
- Author
- lensesio
- Downloads
- 255
- Categories
- Developer Tools, Database, Other
Jump to
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Lenses Mcp For Apache KafkaCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
{
"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"
}
}
}
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"lenses mcp for apache kafka": {
"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"
}
}
}
}
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"
}
}
ππ Lenses MCP Server for Apache Kafka ππ
With Lenses, you can find, explore, transform, integrate and replicate data across a multi-Kafka and vendor estate. Now, all this power is accessible through your AI tools and AI Agents via MCP, bringing real-time context into your agentic engineering workflows.
The quickest way to try the MCP server is with the freeLenses Community Edition, which runs Lenses MCP Server as a remote MCP server and comes with a pre-configured single broker Kafka cluster with demo data, ideal for local development or evaluation (steps here).
- 1. Install uv and Python
- 2. Configure Environment Variables
- 3. OAuth 2.1 Authentication (Recommended)
- 4. Lenses API Key (Fallback)
- 5. Running the Server Locally
- 6. Running with Docker
- 7. Optional Context7 MCP Server
- Appendix: OAuth Flow Details
We useuvfor dependency management and project setup. If you don't haveuvinstalled, follow the[official installation guide.
This project has been built usingPython 3.12and to make sure Python is correctly installed, run the following command to check the version.
Copy the example environment file and configure it based on your authentication method:
Required variablesdepend on your authentication choice:
- For OAuth(recommended):LENSES_URLandMCP_ADVERTISED_URL
- For API Key(fallback):LENSES_URLandLENSES_API_KEY
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





