OpenLens exposes a remote MCP server so agents can onboard clients, run visibility scans, read every metric the dashboard shows, and manage projects on your behalf. One OAuth sign-in, no API keys to copy.
| Server URL | https://openlens.com/mcp |
| Transport | Streamable HTTP |
| Auth | OAuth 2.1 (browser flow) |
| stdio fallback | npx -y mcp-remote https://openlens.com/mcp |
Open claude.ai/customize/connectors and add OpenLens. It then appears in Claude.ai web, Claude Desktop, and Claude Code automatically.
From Claude Settings, Connectors, Add custom connector, enter https://openlens.com/mcp and connect.
In your terminal, run:
claude mcp add openlens --transport http https://openlens.com/mcpOpen Claude Code, run /mcp, pick openlens, and finish the browser sign-in.
Turn on Settings, Connectors, Advanced, Developer Mode, then Add custom connector with URL https://openlens.com/mcp and Auth set to OAuth.
One-click install: add OpenLens to Cursor. Or add it manually to ~/.cursor/mcp.json:
{
"mcpServers": {
"openlens": { "url": "https://openlens.com/mcp" }
}
}Add to .vscode/mcp.json:
{
"servers": {
"openlens": { "type": "http", "url": "https://openlens.com/mcp" }
}
}In your terminal, run:
codex mcp add openlens --url https://openlens.com/mcpAdd to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"openlens": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://openlens.com/mcp"]
}
}
}Add to ~/.config/zed/settings.json:
{
"context_servers": {
"openlens": {
"source": "custom",
"command": "npx",
"args": ["-y", "mcp-remote", "https://openlens.com/mcp"]
}
}
}Point it at https://openlens.com/mcp if it supports streamable HTTP. Otherwise wrap it with the stdio shim:
npx -y mcp-remote https://openlens.com/mcpFrom any client:
The agent should call list_projects and return at least one row.
rm -rf ~/.mcp-auth/ and retry.npx.