Anyone have an example mcpServers JSON config to setup Intellij AI to Lenses MCP Server?
I use this against my Lenses Community Edition. I followed the server installation process in GitHub - lensesio/lenses-mcp: MCP server for Lenses
….and then use this in Intellij:
{
"mcpServers": {
"lenses": {
"command": "uv",
"args": [
"run",
"--project",
"/Users/me/lensesMCP/lenses-mcp/",
"--with",
"fastmcp",
"fastmcp",
"run",
"/Users/me/lensesMCP/lenses-mcp/src/lenses_mcp/server.py"
],
"env": {
"LENSES_API_KEY": "sa_key_orujjigsMWrrgXUC_DfEvKpVvHzfYq9PCEWTcPt4CkHuNuyJl"
}
}
}
}