Skip to main content
Glama

mcp-jdbc

by quarkiverse
README.md2.22 kB
# Model Context Protocol Server for Podman, OCI and Docker Containers This Model Context Protocol(MCP) server enables Large Language Models (LLMs) to interact with your Podman/OCI/Docker containers. The server is implemented using Quarkus MCP and the Docker JavaClient. Connects to your default configured docker socket and thus should work with any OCI/Container compatible engine, such as Docker, Podman, etc. ![](images/containers-demo.png) ## General Usage 1. Install [jbang](https://www.jbang.dev/download/) 2. Configure your MCP Client to run the server (see [Claude Desktop Config](#claude-desktop-config) below) Below are examples of command lines to use for configuring the server. ```shell jbang containers@quarkiverse/quarkus-mcp-servers ``` Now ask away about your containers. ## Components Below are the MCP components provided by this server. ### Tools * **configuration_get** - Get the current docker/container configuration * **containers_list** - Get the current list of containers * **images_list** - Get the current list of images of containers * **networks_list** - Get the current list of networks of containers * **volumes_list** - Get the current list of volumes for containers * **container_logs** - Get logs from container (requires container name and number of lines) ### Prompts * **service_architecture_diagram** - Generate a service architecture diagram showing how containers interconnect to form complete applications * **port_allocation_overview** - Create a visualization of all port mappings across containers, highlighting exposed ports and potential conflicts ### How was this made? The MCP server uses Quarkus, the Supersonic Subatomic Java Framework and its Model Context Protocol support. If you want to learn more about Quarkus MCP Server support, please see this [blog post](https://quarkus.io/blog/mcp-server/) and the Quarkus MCP Server [extension documentation](https://docs.quarkiverse.io/quarkus-mcp-server/dev/). To launch the server and handle the magic setup of JDBC urls it uses [jbang](https://jbang.dev/) to setup Java and run the .jar as transparent as possible. Very similar to how `uvx`, `pipx`, `npmx` and others works; just for Java.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/quarkiverse/jdbc'

If you have feedback or need assistance with the MCP directory API, please join our Discord server