Run with Community Edition
The fastest way to try the MCP server is to use Lenses Community Edition, which runs Lenses MCP Server as a remote server and comes with a pre-configured single broker Kafka cluster with demo data.
Download and run Lenses Community Edition
To set up and run, follow the instructions here.
Lenses MCP Server will be running on http://localhost:8000/ with OAUTH_ENABLED parameter set to True so OAuth will be enabled by default.
Authenticate using OAuth
Navigate to your AI tool's MCP server settings and connect to authenticate with the Lenses OAuth authorization server (visible to your AI tool's client, configured with LENSES_ADVERTISED_URL with value http://localhost:9991/). Here is an example using Cursor.

This opens a web browser at http://localhost:9991/oauth2/authorize and passes OAuth parameters. Log in with your username/password. The default credentials are admin:admin.

You will be presented with an OAuth authorization consent screen where you can set read, write and delete scopes.

Completing this flow should take you back to your AI tool, authenticated and ready to use Lenses MCP Server with the granted authorization scopes.

Last updated
Was this helpful?

