mcpField
M
MCP Server Docker Image for Choreo

MCP Server Docker Image for Choreo

Local
github.com/pcnfernandoCloud & Infra0Updated 70w ago

About MCP Server Docker Image for Choreo

MCP Server Docker Image for Choreo is a Node.js container for running an MCP server on Choreo. It uses supergateway and environment variables to configure the server type, endpoints, and data directory.

Key features

  1. 01Node.js-based container
  2. 02Runs MCP servers through supergateway
  3. 03Configurable server type
  4. 04Configurable endpoints and data folder

Use cases

  1. 01Deploying an MCP server on Choreo
  2. 02Running the container locally
  3. 03Setting server and endpoint configuration through environment variables

MCP support

The container runs an MCP server through supergateway and exposes it over Server-Sent Events and a messaging path for MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"hosting": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"\\"
]
}
}
}
Run commanddocker run -i --rm '\'

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
oci\

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP Server Docker Image for Choreo

This Dockerfile creates a lightweight, secure, and production-ready Node.js-based server container that runs the Model Context Protocol (MCP) server using supergateway. The container is designed to be deployed as a service on Choreo.

Running the Container Locally

You can run the container using the following command:

docker run -p 8000:8000 \
  -e PORT=8000 \
  -e BASE_URL=http://localhost:8000 \
  -e SSE_PATH=/sse \
  -e MESSAGE_PATH=/message \
  -e DATA_FOLDER=/app/data \
  -e SERVER_TYPE=@modelcontextprotocol/server-github \
  mcp-server

Environment Variables

The container supports the following environment variables:

VariableDefault ValueDescription
PORT8000The port on which the server listens.
BASE_URLhttp://localhost:8000The base URL for the server.
SSE_PATH/ssePath for Server-Sent Events.
MESSAGE_PATH/messagePath for messaging.
DATA_FOLDER./dataDirectory for storing server data.
SERVER_TYPE@modelcontextprotocol/server-githubDefines the type of MCP server to run.

Exposed Ports

  • 8000: The main port where the MCP server runs.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.