quarkiverse/quarkus-mcp-server-examples
Model Context Protocol Servers in Quarkus
ee0680847916quarkiverse-parent19 in pom.xmlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- HIGHTool
container_runruns programs by design: an agent steered by prompt injection can use it that way. - HIGHTool
read_queryruns SQL by design: an agent steered by prompt injection can use it that way.
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.
- Run it in a container or a virtual machine
container_runcan start programs or run code they are given. Keep it away from your home folder, keys and other projects. - Connect it with a read-only database user
read_querycan run any query it is given. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
container_run,read_query, switch them off. - 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 64 tools, 5 prompts. 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.
fullResponseQuery, shortResponseQuery, write_fileNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; 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.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
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
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files3 tools · fullResponseQuery, shortResponseQuery, write_file
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 (69: 64 tools, 5 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
container_runtool Runs a Docker or Podman container with the specified image nameRuns programs
Runs a Docker or Podman container with the specified image name
read_querytool Execute a SELECT query on the jdbc databaseRuns SQL
Execute a SELECT query on the jdbc database
er_diagramprompt Visualize ER diagram
Visualize ER diagram
investigateJavaProcessprompt Investigate and analyze a Java process running on the system
Investigate and analyze a Java process running on the system
port_allocation_overviewprompt Port Allocation Overview
Port Allocation Overview
sample_dataprompt Creates sample data and perform analysis
Creates sample data and perform analysis
service_architecture_diagramprompt Service Architecture Diagram
Service Architecture Diagram
attachtool Attach to a JVM process, returns the pid of the attached process if successful
Attach to a JVM process, returns the pid of the attached process if successful
clearCanvastool Clear the canvas
Clear the canvas
closeCanvastool Close the drawing canvas
Close the drawing canvas
configuration_gettool Get the current docker/container configuration
Get the current docker/container configuration
configuration_gettool Get the current Kubernetes configuration
Get the current Kubernetes configuration
container_inspecttool Get the low-level information and configuration of a Docker or Podman container with the specified container ID or name
Get the low-level information and configuration of a Docker or Podman container with the specified container ID or name
container_logstool Get logs from container
Get logs from container
container_removetool Removes a Docker or Podman container with the specified container ID or name (rm)
Removes a Docker or Podman container with the specified container ID or name (rm)
container_stoptool Stops a Docker or Podman running container with the specified container ID or name
Stops a Docker or Podman running container with the specified container ID or name
containers_listtool Get the current list of containers
Get the current list of containers
create_directorytool Create a new directory or ensure a directory exists.
Create a new directory or ensure a directory exists.
Can create multiple nested directories in one operation.
If the directory already exists, this operation will succeed silently.
Perfect for setting up directory structures for projects or ensuring required paths exist.
Only works within allowed directories.create_tabletool Create new table in the jdbc database
Create new table in the jdbc database
database_infotool Get information about the database. Run this before anything else to know the SQL dialect, keywords etc.
Get information about the database. Run this before anything else to know the SQL dialect, keywords etc.
describe_tabletool Describe table
Describe table
directory_treetool Get a recursive tree view of files and directories as a JSON structure. Each entry includes 'name', 'type' (file/directory), and 'children' for directories. Fil
Get a recursive tree view of files and directories as a JSON structure. Each entry includes 'name', 'type' (file/directory), and 'children' for directories. Files have no children array, while directories always have a children array (which may be empty). The output is formatted with 2-space indentation for readability. Only works within allowed directories.
drawArctool Draw an arc on the canvas
Draw an arc on the canvas
drawBeziertool Draw a cubic bezier curve
Draw a cubic bezier curve
drawCircletool Draw a circle on the canvas
Draw a circle on the canvas
drawLinetool Draw a line on the canvas
Draw a line on the canvas
drawPolygontool Draw a polygon
Draw a polygon
drawRectangletool Draw a rectangle on the canvas
Draw a rectangle on the canvas
drawTexttool Draw text on the canvas
Draw text on the canvas
edit_filetool Make line-based edits to a text file. Each edit replaces exact line sequences with new content. Returns a git-style diff showing the changes made. Only works wi
Make line-based edits to a text file. Each edit replaces exact line sequences with new content. Returns a git-style diff showing the changes made. Only works within allowed directories.
executeJavaTooltool Execute a Java tool or list all available tools if no tool name is provided
Execute a Java tool or list all available tools if no tool name is provided
fullResponseQuerytool Perform a web search to retrieve information online with a full text responseFilesoutside text
Perform a web search to retrieve information online with a full text response
getCanvasImagetool Get the current canvas image as base64-encoded string
Get the current canvas image as base64-encoded string
getSystemPropertiestool Get the system properties of a JVM process
Get the system properties of a JVM process
get_file_infotool Retrieve detailed metadata about a file or directory. Returns comprehensive information including size, creation time, last modified time, permissions, and type
Retrieve detailed metadata about a file or directory. Returns comprehensive information including size, creation time, last modified time, permissions, and type. This tool is perfect for understanding file characteristics without reading the actual content. Only works within allowed directories.
image_buildtool Build a Docker or Podman image from a Dockerfile, Podmanfile, or Containerfile
Build a Docker or Podman image from a Dockerfile, Podmanfile, or Containerfile
image_pulltool Copies (pulls) a Docker or Podman container image from a registry onto the local machine storage
Copies (pulls) a Docker or Podman container image from a registry onto the local machine storage
image_pushtool Pushes a Docker or Podman container image, manifest list or image index from local machine storage to a registry
Pushes a Docker or Podman container image, manifest list or image index from local machine storage to a registry
image_removetool Removes a Docker or Podman image from the local machine storage
Removes a Docker or Podman image from the local machine storage
images_listtool Get the current list of images of containers
Get the current list of images of containers
jpstool List all running JVM processes. Result
List all running JVM processes. Result
launchCanvastool Launch a new drawing canvas
Launch a new drawing canvas
listAavailableToolstool List all available tools in java.home or jvminsight.paths
List all available tools in java.home or jvminsight.paths
list_allowed_directoriestool Returns the list of directories that this server is allowed to access. Use this to understand which directories are available before trying to access files.
Returns the list of directories that this server is allowed to access. Use this to understand which directories are available before trying to access files.
list_directorytool Get a detailed listing of all files and directories in a specified path. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixe
Get a detailed listing of all files and directories in a specified path. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes. This tool is essential for understanding directory structure and finding specific files within a directory. Only works within allowed directories.
list_tablestool List all tables in the jdbc database
List all tables in the jdbc database
move_filetool Move or rename files and directories. Can move files between directories and rename them in a single operation. If the destination exists, the operation will fa
Move or rename files and directories. Can move files between directories and rename them in a single operation. If the destination exists, the operation will fail. Works across different directories and can be used for simple renaming within the same directory. Both source and destination must be within allowed directories.
namespaces_listtool List all the Kubernetes namespaces in the current cluster
List all the Kubernetes namespaces in the current cluster
networks_listtool Get the current list of networks of containers
Get the current list of networks of containers
pods_deletetool Delete a Kubernetes Pod in the current namespace with the provided name
Delete a Kubernetes Pod in the current namespace with the provided name
pods_gettool Get a Kubernetes Pod in the current namespace with the provided name
Get a Kubernetes Pod in the current namespace with the provided name
pods_listtool List all the Kubernetes pods in the current cluster
List all the Kubernetes pods in the current cluster
pods_list_in_namespacetool List all the Kubernetes pods in the specified namespace in the current cluster
List all the Kubernetes pods in the specified namespace in the current cluster
pods_logtool Get the logs of a Kubernetes Pod in the current namespace with the provided name
Get the logs of a Kubernetes Pod in the current namespace with the provided name
pods_runtool Run a Kubernetes Pod in the current namespace with the provided container image and optional name
Run a Kubernetes Pod in the current namespace with the provided container image and optional name
read_filetool Read the complete contents of a file from the file system. Handles various text encodings and provides detailed error messages if the file cannot be read. Use t
Read the complete contents of a file from the file system. Handles various text encodings and provides detailed error messages if the file cannot be read. Use this tool when you need to examine the contents of a single file. Only works within allowed directories.
read_multiple_filestool Read the contents of multiple files simultaneously. This is more efficient than reading files one by one when you need to analyze or compare multiple files. Eac
Read the contents of multiple files simultaneously. This is more efficient than reading files one by one when you need to analyze or compare multiple files. Each file's content is returned with its path as a reference. Failed reads for individual files won't stop the entire operation. Only works within allowed directories.
resources_create_or_updatetool Create or update a Kubernetes resource in the current cluster by providing a YAML or JSON representation of the resource
Create or update a Kubernetes resource in the current cluster by providing a YAML or JSON representation of the resource
resources_deletetool Delete a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name
Delete a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name
resources_gettool Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name
Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name
resources_listtool List Kubernetes resources in the current cluster by providing their apiVersion and kind and optionally the namespace
List Kubernetes resources in the current cluster by providing their apiVersion and kind and optionally the namespace
search_filestool Recursively search for files and directories matching a pattern. Searches through all subdirectories from the starting path. The search is case-insensitive and
Recursively search for files and directories matching a pattern. Searches through all subdirectories from the starting path. The search is case-insensitive and matches partial names. Returns full paths to all matching items. Great for finding files when you don't know their exact location. Only searches within allowed directories.
setColortool Set the drawing color
Set the drawing color
setLineWidthtool Set line width for drawing
Set line width for drawing
setLinearGradienttool Create a linear gradient fill
Create a linear gradient fill
shortResponseQuerytool Perform a web search to retrieve information online with a short responseFilesoutside text
Perform a web search to retrieve information online with a short response
volumes_listtool Get the current list of volumes for containers
Get the current list of volumes for containers
write_filetool Create a new file or completely overwrite an existing file with new content.Filesoutside text
Create a new file or completely overwrite an existing file with new content.
Use with caution as it will overwrite existing files without warning.
Handles text content with proper encoding. Only works within allowed directories.write_querytool Execute a INSERT, UPDATE or DELETE query on the jdbc database
Execute a INSERT, UPDATE or DELETE query on the jdbc database
Text the model reads (69)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
configuration_get tool
Get the current docker/container configuration
containers_list tool
Get the current list of containers
images_list tool
Get the current list of images of containers
image_pull tool
Copies (pulls) a Docker or Podman container image from a registry onto the local machine storage
image_push tool
Pushes a Docker or Podman container image, manifest list or image index from local machine storage to a registry
image_remove tool
Removes a Docker or Podman image from the local machine storage
networks_list tool
Get the current list of networks of containers
volumes_list tool
Get the current list of volumes for containers
container_logs tool
Get logs from container
container_inspect tool
Get the low-level information and configuration of a Docker or Podman container with the specified container ID or name
container_remove tool
Removes a Docker or Podman container with the specified container ID or name (rm)
container_run tool
Runs a Docker or Podman container with the specified image name
container_stop tool
Stops a Docker or Podman running container with the specified container ID or name
image_build tool
Build a Docker or Podman image from a Dockerfile, Podmanfile, or Containerfile
read_file tool
Read the complete contents of a file from the file system. Handles various text encodings and provides detailed error messages if the file cannot be read. Use this tool when you need to examine the contents of a single file. Only works within allowed directories.
read_multiple_files tool
Read the contents of multiple files simultaneously. This is more efficient than reading files one by one when you need to analyze or compare multiple files. Each file's content is returned with its path as a reference. Failed reads for individual files won't stop the entire operation. Only works within allowed directories.
list_directory tool
Get a detailed listing of all files and directories in a specified path. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes. This tool is essential for understanding directory structure and finding specific files within a directory. Only works within allowed directories.
directory_tree tool
Get a recursive tree view of files and directories as a JSON structure. Each entry includes 'name', 'type' (file/directory), and 'children' for directories. Files have no children array, while directories always have a children array (which may be empty). The output is formatted with 2-space indentation for readability. Only works within allowed directories.
move_file tool
Move or rename files and directories. Can move files between directories and rename them in a single operation. If the destination exists, the operation will fail. Works across different directories and can be used for simple renaming within the same directory. Both source and destination must be within allowed directories.
search_files tool
Recursively search for files and directories matching a pattern. Searches through all subdirectories from the starting path. The search is case-insensitive and matches partial names. Returns full paths to all matching items. Great for finding files when you don't know their exact location. Only searches within allowed directories.
get_file_info tool
Retrieve detailed metadata about a file or directory. Returns comprehensive information including size, creation time, last modified time, permissions, and type. This tool is perfect for understanding file characteristics without reading the actual content. Only works within allowed directories.
list_allowed_directories tool
Returns the list of directories that this server is allowed to access. Use this to understand which directories are available before trying to access files.
write_file tool
Create a new file or completely overwrite an existing file with new content.
Use with caution as it will overwrite existing files without warning.
Handles text content with proper encoding. Only works within allowed directories.
edit_file tool
Make line-based edits to a text file. Each edit replaces exact line sequences with new content. Returns a git-style diff showing the changes made. Only works within allowed directories.
create_directory tool
Create a new directory or ensure a directory exists.
Can create multiple nested directories in one operation.
If the directory already exists, this operation will succeed silently.
Perfect for setting up directory structures for projects or ensuring required paths exist.
Only works within allowed directories.
read_query tool
Execute a SELECT query on the jdbc database
write_query tool
Execute a INSERT, UPDATE or DELETE query on the jdbc database
list_tables tool
List all tables in the jdbc database
create_table tool
Create new table in the jdbc database
describe_table tool
Describe table
database_info tool
Get information about the database. Run this before anything else to know the SQL dialect, keywords etc.
launchCanvas tool
Launch a new drawing canvas
closeCanvas tool
Close the drawing canvas
drawLine tool
Draw a line on the canvas
drawRectangle tool
Draw a rectangle on the canvas
drawCircle tool
Draw a circle on the canvas
drawArc tool
Draw an arc on the canvas
drawBezier tool
Draw a cubic bezier curve
setLinearGradient tool
Create a linear gradient fill
drawPolygon tool
Draw a polygon
drawText tool
Draw text on the canvas
setColor tool
Set the drawing color
clearCanvas tool
Clear the canvas
setLineWidth tool
Set line width for drawing
getCanvasImage tool
Get the current canvas image as base64-encoded string
jps tool
List all running JVM processes. Result
attach tool
Attach to a JVM process, returns the pid of the attached process if successful
getSystemProperties tool
Get the system properties of a JVM process
listAavailableTools tool
List all available tools in java.home or jvminsight.paths
executeJavaTool tool
Execute a Java tool or list all available tools if no tool name is provided
configuration_get tool
Get the current Kubernetes configuration
resources_list tool
List Kubernetes resources in the current cluster by providing their apiVersion and kind and optionally the namespace
resources_get tool
Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name
resources_create_or_update tool
Create or update a Kubernetes resource in the current cluster by providing a YAML or JSON representation of the resource
resources_delete tool
Delete a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name
namespaces_list tool
List all the Kubernetes namespaces in the current cluster
pods_list tool
List all the Kubernetes pods in the current cluster
pods_list_in_namespace tool
List all the Kubernetes pods in the specified namespace in the current cluster
pods_get tool
Get a Kubernetes Pod in the current namespace with the provided name
pods_delete tool
Delete a Kubernetes Pod in the current namespace with the provided name
pods_log tool
Get the logs of a Kubernetes Pod in the current namespace with the provided name
pods_run tool
Run a Kubernetes Pod in the current namespace with the provided container image and optional name
fullResponseQuery tool
Perform a web search to retrieve information online with a full text response
shortResponseQuery tool
Perform a web search to retrieve information online with a short response
service_architecture_diagram prompt
Service Architecture Diagram
port_allocation_overview prompt
Port Allocation Overview
er_diagram prompt
Visualize ER diagram
sample_data prompt
Creates sample data and perform analysis
investigateJavaProcess prompt
Investigate and analyze a Java process running on the system
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller chooses1 finding the scanner could not decide; see the findings below
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 69 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 69 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 69 tool handlers traced
- Runs caller-supplied SQL HIGH1 finding in read_query
- Tools that start processesNot seen in the traced code of 69 capabilities; 69 more call code the scanner could not follow, where it may happen
- Tools that touch files3 of 69 capabilities touch files; 66 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 69 capabilities; 69 more call code the scanner could not follow, where it may happen
Where the code is: 69 handlers in 8 files at commit ee0680847916
containers/src/main/java/io/quarkiverse/mcp/servers/containers/MCPServerContainers.javaconfiguration_get, containers_list, images_list, image_pull, image_push, image_remove, networks_list, volumes_list, container_logs, container_inspect, container_remove, container_run +4filesystem/src/main/java/io/quarkiverse/mcp/servers/filesystem/MCPServerFS.javaread_file, read_multiple_files, list_directory, directory_tree, move_file, search_files, get_file_info, list_allowed_directoriesfilesystem/src/main/java/io/quarkiverse/mcp/servers/filesystem/WritableFS.javawrite_file, edit_file, create_directoryjdbc/src/main/java/io/quarkiverse/mcp/servers/jdbc/MCPServerJDBC.javaread_query, write_query, list_tables, create_table, describe_table, database_info, er_diagram, sample_datajfx/src/main/java/io/quarkiverse/mcp/servers/jfx/MCPServerJFX.javalaunchCanvas, closeCanvas, drawLine, drawRectangle, drawCircle, drawArc, drawBezier, setLinearGradient, drawPolygon, drawText, setColor, clearCanvas +2jvminsight/src/main/java/io/quarkiverse/mcp/servers/jvminsight/MCPServerJvmInsight.javajps, attach, getSystemProperties, listAavailableTools, executeJavaTool, investigateJavaProcesskubernetes/src/main/java/io/quarkiverse/mcp/servers/kubernetes/MCPServerKubernetes.javaconfiguration_get, resources_list, resources_get, resources_create_or_update, resources_delete, namespaces_list, pods_list, pods_list_in_namespace, pods_get, pods_delete, pods_log, pods_runwolfram/src/main/java/io/quarkiverse/mcp/servers/wolfram/WolframSearchService.javafullResponseQuery, shortResponseQuery
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests9 manifests: containers/pom.xml, filesystem/pom.xml, jdbc/pom.xml, jfx/pom.xml, jvminsight/pom.xml
- Lockfiles checked against OSVNothing could be resolved to exact versions
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 69 capabilities; 69 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot 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 runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-06 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 2 catalogs (github_search, glama) |
|---|---|
| License | Apache-2.0 |
| Created | 2025-01-22 |
| Topics | mcp quarkus-app |
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.