Lenses Mcp For Apache Kafka

by lensesio

255 downloads
Not rated
GitHub

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

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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Lenses Mcp For Apache Kafka
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. 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 πŸ”ŽπŸŒŠ

This is theLensesMCP (Model Context Protocol) server for Apache Kafka. Lenses offers a developer experience solution for engineers building real-time applications connected to Kafka. It's built for the enterprise and backed by a powerful IAM and governance model.

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

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.