MCP Client/Server using HTTP SSE with Docker containers

by dgallitelli

376 downloads
Not rated
GitHub

About

A simple implementation of MCP Client/Server architecture with HTTP SSE transport layer, dockerized.

Details

Author
dgallitelli
Downloads
376
Categories
Cloud Service

- Uses HTTP SSE transport for MCP communication
- Provides both server and client components
- Deployed via Docker containers

Build the Docker images with docker build -t mcp-server:latest . and docker build -t mcp-client:latest .. Run the server with docker run -P --network host mcp-server:latest. Run the client to list tools or answer queries by passing a string argument, e.g., docker run -P --network host mcp-client:latest "What is 99+201?".

MCP Client/Server using HTTP SSE with Docker containers

Building client and server

docker build -t mcp-server:latest .
docker build -t mcp-client:latest .

Running the server

docker run -P --network host mcp-server:latest

Running the client

List tools:

docker run -P --network host mcp-client:latest

Get answer to a query:

docker run -P --network host mcp-client:latest "What is 99+201?"
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.