Helidon MCP Server for Docker MCP
Built a Docker supported Helidon MCP Server for Docker MCP Hub.
Overview
Docker MCP Hub - Helidon MCP Server is a containerized solution that centralizes and orchestrates Model Context Protocol (MCP) servers built with Helidon. I have updated the Helidon MCP server to be able to run in a Docker container and pushed it to the Docker MCP Hub. This project provides a unified platform for managing multiple AI-powered microservices, enabling developers to deploy, scale, and monitor MCP servers with ease.
π§© Helidon MCP Server (Dockerized)
A minimal Helidon SE 4.3 implementation of the Model Context Protocol (MCP), packaged as a Docker container for use with the Docker MCP Hub and MCP Toolkit.
This container demonstrates how Java microservices can expose MCP-compatible tools and resources using Helidonβs declarative MCP APIs.
π Overview
- Fully compliant Helidon MCP Server running over
streamable-http - Ready for local use or MCP Hub submission
- Exposes example MCP tools and resources
- Lightweight, stateless, and configurable via environment variables
- Ideal reference for developers learning to build MCP servers in Java
π³ Quick Start
Build
docker build -t helidon-mcp-server:latest .
Run
docker run --rm -p 8080:8080 \
-e MCP_PATH=/mcp/helidon \
helidon-mcp-server:latest
Test
curl -i http://localhost:8080/mcp/helidon
The server will respond to MCP clients such as:
- Docker Desktop β MCP Toolkit
- Helidon MCP Client
βοΈ Configuration
| Variable | Type | Description |
|---|---|---|
MCP_PATH |
env | MCP route path (default /mcp/helidon) |
SERVER_PORT |
env | HTTP port (default 8080) |
Example configuration section for server.yaml:
config:
description: Configuration for Helidon MCP Server
env:
- name: MCP_PATH
example: /mcp/helidon
- name: SERVER_PORT
example: 8080
π§ͺ Test in Docker MCP Toolkit
task build -- --tools helidon-mcp-server
task catalog -- helidon-mcp-server
docker mcp catalog import catalogs/helidon-mcp-server/catalog.yaml
Then open Docker Desktop β MCP Toolkit, enable Helidon MCP Server, and test interactively.
To reset:
docker mcp catalog reset
π§ Directory Layout
servers/helidon-mcp-server/
βββ Dockerfile
βββ server.yaml
βββ tools.json
βββ README.md
π License
Apache-2.0 β recommended for Helidon-based and Docker MCP Registry projects.
π Credits
Originally developed by the Helidon Project (Oracle Labs).
Dockerization and MCP Hub submission prepared by community contributors following
Docker MCP Registry Guidelines.