Skip to content
VS Code

opensolr mcp for VS Code

com.opensolr/opensolr-mcp

Managed Apache Solr for agents: hybrid BM25+kNN search, server-side embeddings, RAG answers

client:VS Code transport:stdio runtime:pypi

Install opensolr mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "opensolr-email",
      "description": "OPENSOLR_EMAIL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "opensolr-api-key",
      "description": "OPENSOLR_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "opensolr-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "opensolr-mcp"
      ],
      "env": {
        "OPENSOLR_EMAIL": "${input:opensolr-email}",
        "OPENSOLR_API_KEY": "${input:opensolr-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

opensolr mcp in other clients