MCP ScannerCustom audit
All servers

apache/solr-mcp

Solr MCP Server

PublisherApache Software Foundation Official
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 22Forks 17Last push 2026-10-26
Java 100.0%by source files the scanner reads
Code safetypartly tracedExposurepartly tracedPromptsnot analysedSupply chainnot checkedSecrets10.0Transparency10.0
Analysis confidence76%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposurepartly traced—

How much power the tools give an agent over the machine

Prompt Integritynot analysed—

Hidden instructions and poisoning in text for the model

Supply Chainnot checked—

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

Prompt Integrity is not analysed and has no number.

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.

  • Prompt Integrity: no tool description could be read from the code
  • Some paths pass through more than 8 functions one inside another; the scanner stops there
  • In 7 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • Supply Chain: no dependency file the scanner reads was found, so it has no number

Top risks in plain words

  • INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 15 tools, 6 prompts, 2 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Connect to the internet or other hostssend requests or open connections
get-collection-stats
1 of 23

No tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (23: 15 tools, 6 prompts, 2 resources)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

designSchemaPromptprompt Guides the assistant through inspecting an existing Solr schema, choosing appropriate field types, and applying additive schema changes via the Schema API.
Guides the assistant through inspecting an existing Solr schema, choosing appropriate field types, and applying additive schema changes via the Schema API.
exploreCollectionsPromptprompt Read-only walkthrough: list collections and characterise each by stats and health.
Read-only walkthrough: list collections and characterise each by stats and health.
indexDataPromptprompt Guides the assistant through verifying the target schema, picking the right indexing tool for the input format, and confirming the result.
Guides the assistant through verifying the target schema, picking the right indexing tool for the input format, and confirming the result.
searchCollectionPromptprompt Guides the assistant through inspecting the schema, translating a user question into a Solr query, running the search, and refining the result.
Guides the assistant through inspecting the schema, translating a user question into a Solr query, running the search, and refining the result.
setupCollectionPromptprompt Guided workflow: validate a name, pick configset / shards / replication factor, create the collection, and verify it.
Guided workflow: validate a name, pick configset / shards / replication factor, create the collection, and verify it.
viewSchemaPromptprompt Read-only walkthrough: fetch the schema and summarize fields, types, dynamic fields, copy fields, and the unique key.
Read-only walkthrough: fetch the schema and summarize fields, types, dynamic fields, copy fields, and the unique key.
solr-collection-schemaresource Schema definition for a Solr collection including fields, field types, and copy fields
Schema definition for a Solr collection including fields, field types, and copy fields
solr-collectionsresource List of all Solr collections available in the cluster
List of all Solr collections available in the cluster
add-field-typestool
No description.
add-fieldstool
No description.
check-healthtool Check health of a Solr collection
Check health of a Solr collection
create-aliastool
No description.
create-collectiontool
No description.
delete-aliastool Delete a Solr alias. The underlying collection(s) are not affected.
Delete a Solr alias. The underlying collection(s) are not affected.
get-collection-statstool Network
No description.
get-schematool Get schema for a Solr collection
Get schema for a Solr collection
index-csv-documentstool
No description.
index-json-documentstool
No description.
index-markdown-documentstool
No description.
index-xml-documentstool
No description.
list-aliasestool List all Solr aliases and the collections they point to
List all Solr aliases and the collections they point to
list-collectionstool List solr collections
List solr collections
searchtool Search specified Solr collection with query, optional filters, facets, sorting, and pagination.
Search specified Solr collection with query, optional filters, facets, sorting, and pagination.
			The q parameter accepts Lucene query syntax. There are no separate defType/qf/mm parameters:
			to use eDisMax features (multi-field search, minimum-match, boosts), embed Solr local params
			in q, e.g. {!edismax qf='name author' mm=2}george martin.
			Put filters in fq (filterQueries) instead of q so Solr can cache and reuse them.
			Note that solr has dynamic fields where name of field in schema may end with suffixes
			_s: Represents a string field, used for exact string matching.
			_i: Represents an integer field.
			_l: Represents a long field.
			_f: Represents a float field.
			_d: Represents a double field.
			_dt: Represents a date field.
			_b: Represents a boolean field.
			_t: Often used for text fields that undergo tokenization and analysis.
			One example from the books collection:
			{
			      "id":"0553579908",
			      "cat":["book"],
			      "name":["A Clash of Kings"],
			      "price":[7.99],
			      "inStock":[true],
			      "author":["George R.R. Martin"],
			      "series_t":"A Song of Ice and Fire",
			      "sequence_i":2,
			      "genre_s":"fantasy",
			      "_version_":1836275819373133824,
			      "_root_":"0553579908"
			    }

Text the model reads (23)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

list-aliases tool
List all Solr aliases and the collections they point to
create-alias tool
delete-alias tool
Delete a Solr alias. The underlying collection(s) are not affected.
list-collections tool
List solr collections
get-collection-stats tool
check-health tool
Check health of a Solr collection
create-collection tool
index-json-documents tool
index-csv-documents tool
index-xml-documents tool
index-markdown-documents tool
get-schema tool
Get schema for a Solr collection
add-fields tool
add-field-types tool
search tool

\x09\x09\x09Search specified Solr collection with query, optional filters, facets, sorting, and pagination.
\x09\x09\x09The q parameter accepts Lucene query syntax. There are no separate defType/qf/mm parameters:
\x09\x09\x09to use eDisMax features (multi-field search, minimum-match, boosts), embed Solr local params
\x09\x09\x09in q, e.g. {!edismax qf='name author' mm=2}george martin.
\x09\x09\x09Put filters in fq (filterQueries) instead of q so Solr can cache and reuse them.
\x09\x09\x09Note that solr has dynamic fields where name of field in schema may end with suffixes
\x09\x09\x09_s: Represents a string field, used for exact string matching.
\x09\x09\x09_i: Represents an integer field.
\x09\x09\x09_l: Represents a long field.
\x09\x09\x09_f: Represents a float field.
\x09\x09\x09_d: Represents a double field.
\x09\x09\x09_dt: Represents a date field.
\x09\x09\x09_b: Represents a boolean field.
\x09\x09\x09_t: Often used for text fields that undergo tokenization and analysis.
\x09\x09\x09One example from the books collection:
\x09\x09\x09{
\x09\x09\x09      "id":"0553579908",
\x09\x09\x09      "cat":["book"],
\x09\x09\x09      "name":["A Clash of Kings"],
\x09\x09\x09      "price":[7.99],
\x09\x09\x09      "inStock":[true],
\x09\x09\x09      "author":["George R.R. Martin"],
\x09\x09\x09      "series_t":"A Song of Ice and Fire",
\x09\x09\x09      "sequence_i":2,
\x09\x09\x09      "genre_s":"fantasy",
\x09\x09\x09      "_version_":1836275819373133824,
\x09\x09\x09      "_root_":"0553579908"
\x09\x09\x09    }
\x09\x09\x09
exploreCollectionsPrompt prompt
Read-only walkthrough: list collections and characterise each by stats and health.
setupCollectionPrompt prompt
Guided workflow: validate a name, pick configset / shards / replication factor, create the collection, and verify it.
indexDataPrompt prompt
Guides the assistant through verifying the target schema, picking the right indexing tool for the input format, and confirming the result.
viewSchemaPrompt prompt
Read-only walkthrough: fetch the schema and summarize fields, types, dynamic fields, copy fields, and the unique key.
designSchemaPrompt prompt
Guides the assistant through inspecting an existing Solr schema, choosing appropriate field types, and applying additive schema changes via the Schema API.
searchCollectionPrompt prompt
Guides the assistant through inspecting the schema, translating a user question into a Solr query, running the search, and refining the result.
solr-collections resource
List of all Solr collections available in the cluster
solr-collection-schema resource
Schema definition for a Solr collection including fields, field types, and copy fields

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposurepartly traced
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 23 capabilities; 22 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 23 capabilities; 22 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    1 of 23 capabilities call the network; 21 more call code the scanner could not follow, where it may happen
Where the code is: 23 handlers in 5 files at commit 104009b34db9
Prompt Integritynot analysed
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Not checked: no tool description could be read from the code
Supply Chainnot checked
  • Dependency manifests
    No manifest found
  • Lockfiles checked against OSV
    Nothing could be resolved to exact versions
  • MCP SDK version
    No MCP SDK declared in a manifest
Secrets & Credentials10.0
  • 2 checks: undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Credential harvesting
    Not checked: no tool description could be read from the code
  • Tools that read credentials
    Not seen in the traced code of 23 capabilities; 22 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (9 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server

The project's own security

Security policyyes SECURITY.md
Private reportingthe policy does not name a private channel
Past advisoriesnone in the GitHub Advisory Database
Last push2026-10-26
Signed releasesnot checked yet

Where it is published

Listed in1 catalog (github_search)
LicenseApache-2.0
Created2025-10-17
Topicsjava lucene mcp search solr

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.