Solr7-mcp

nealrauhauser/Solr7-mcp

3.2

If you are the rightful owner of Solr7-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Solr7-mcp is a model context protocol server designed to work with Solr 7.7.3, providing a solution for systems that require MCP servers but are limited by the Open Semantic Search's version constraints.

Solr7-mcp

Most MCP servers require 8.1 at a bare minimum. Open Semantic Search is frozen in time, running 7.7.3, so this software was needed.

This will work on a Mac with a nearby OSS system. I think you can have fastmcp without installing Anaconda, that's just how my system happens to be configured.

"solr7": {
  "command": "/opt/anaconda3/bin/fastmcp",
  "args": [
    "run",
    "/Users/yourusername/work/gits/solr7-mcp/solr7-mcp.py"
  ],
  "env": {
    "SOLR_URL": "http://yourossproxy:8983/solr"
  }
}

You can not directly access Solr on OSS, it's bound to localhost and attempting to adjust this just breaks mysterious dependencies. Use a proxy host to tunnel port 8983 into visibility.

This service works on Debian distros.

[Unit]
Description=Outbound SSH tunnel binding to all IPs on Proxmox
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=root
ExecStart=/usr/bin/ssh \
    -o ServerAliveInterval=30 \
    -o ServerAliveCountMax=3 \
    -o ExitOnForwardFailure=yes \
    -o GatewayPorts=yes \
    -N \
    -L 0.0.0.0:8983:localhost:8983 \
    oss-system

Restart=always
RestartSec=15

[Install]
WantedBy=multi-user.target

You might want this in yourossproxy's root ~/.ssh/config

Host oss-system
    HostName oss-system
    User root
    IdentityFile ~/.ssh/id_ed25519
    ServerAliveInterval 30
    ServerAliveCountMax 3
    GatewayPorts yes