Client Demo
Streamable HTTP based MCP server and Client demo with auto registry, Dockerfile setup and env.
What is Client Demo?
Client Demo is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to streamable http based mcp server and client demo with auto registry, dockerfile setup and env.
Streamable HTTP based MCP server and Client demo with auto registry, Dockerfile setup and env.
This server falls under the APIs and Developer Tools categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Streamable HTTP based MCP server and Client demo with auto r
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx client-demoConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Client Demo
The MCP Server Client Demo is a reference implementation that demonstrates how to build a production-ready, stateless MCP server with streamable HTTP transport using Python and the uv package manager, including an auto tool registry powered by a @mcp_tool decorator, Docker containerization via a Dockerfile.server, and a separate MCP client using the OpenAI SDK. It is designed for developers who want a concrete starting point for building their own MCP server that scales horizontally — rather than exposing domain-specific business tools, it shows the architecture patterns for tool registration, HTTP transport, and environment configuration. Teams adopt it as a scaffolding template when building new MCP servers for internal platform tooling.
Prerequisites
- Python 3.10 or later
- uv package manager (curl -LsSf https://astral.sh/uv/install.sh | sh)
- Docker (optional, for containerized deployment)
- An MCP-compatible client such as Claude Desktop or Claude Code
Clone the repository
Clone the demo repository to get the server, client, and Dockerfile source code.
git clone https://github.com/S1LV3RJ1NX/mcp-server-client-demo.git
cd mcp-server-client-demoInstall dependencies with uv
Run uv sync to install all Python dependencies defined in pyproject.toml and generate or update uv.lock.
curl -LsSf https://astral.sh/uv/install.sh | sh
uv syncCopy and configure environment variables
Copy the .env.sample template to .env and edit it to set any required values for your deployment.
cp .env.sample .env
# Edit .env to set your configuration valuesRun the MCP server locally
Start the server using uv run. The server uses streamable HTTP transport and auto-registers tools decorated with @mcp_tool.
uv run python -m serverOr build and run with Docker
For containerized deployment, build the server image using the provided Dockerfile.server and run it with your environment variables.
docker build -f Dockerfile.server -t mcp-server-demo .
docker run --env-file .env -p 8000:8000 mcp-server-demoConnect your MCP client
Point Claude Desktop or another MCP client at the running HTTP server. For local development the server will be at http://localhost:8000.
{
"mcpServers": {
"client-demo": {
"command": "uv",
"args": ["run", "python", "-m", "server"],
"cwd": "/path/to/mcp-server-client-demo"
}
}
}Client Demo Examples
Client configuration
Claude Desktop configuration to run the demo server locally using uv, pointing to the cloned repository directory.
{
"mcpServers": {
"client-demo": {
"command": "uv",
"args": ["run", "python", "-m", "server"],
"cwd": "/path/to/mcp-server-client-demo"
}
}
}Prompts to try
Example prompts to test the demo server's auto-registered tools and explore the architecture.
- "List all the tools available on this MCP server"
- "What tools are registered via the @mcp_tool decorator on this server?"
- "Call the demo tool and show me the response format"
- "Test the server's health endpoint and tell me if it's running correctly"Troubleshooting Client Demo
uv sync fails or dependencies cannot be resolved
Ensure uv is installed and up to date (uv self update). Check that your Python version meets the minimum requirement in pyproject.toml. If the lockfile is stale, delete uv.lock and run 'uv sync' again.
Docker build fails with permission or file not found errors
Make sure you are in the repository root when running the docker build command and that Dockerfile.server exists there. Check that the .env file exists if the Dockerfile copies it during build.
Claude Desktop cannot connect to the server over HTTP
The demo uses streamable HTTP transport, which requires an MCP client that supports HTTP mode. Standard stdio-based config may not work. Consult the client/ subdirectory's README for the correct connection format for HTTP-based MCP clients.
Frequently Asked Questions about Client Demo
What is Client Demo?
Client Demo is a Model Context Protocol (MCP) server that streamable http based mcp server and client demo with auto registry, dockerfile setup and env. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Client Demo?
Follow the installation instructions on the Client Demo GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Client Demo?
Client Demo works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Client Demo free to use?
Yes, Client Demo is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Client Demo Alternatives — Similar APIs Servers
Looking for alternatives to Client Demo? Here are other popular apis servers you can use with Claude, Cursor, and VS Code.
Kong
★ 43.4k🦍 The API and AI Gateway
API Mega List
★ 5.4kThis GitHub repo is a powerhouse collection of APIs you can start using immediately to build everything from simple automations to full-scale applications. One of the most valuable API lists on GitHub—period. 💪
Fetch
★ 5.4kFetch web content and convert to markdown for AI consumption
Fusio
★ 2.1kSelf-Hosted API Management for Builders
Korean Law
★ 1.8k국가법령정보MCP v4.0 | 법제처 41개 API → 17개 MCP 도구. 법령·판례·조례 검색 + LLM 환각 방지 인용검증 + 조문 영향 그래프(impact_map) + 시점 비교 자동 diff(time_travel) + 시민 5단계 실행 가이드(action_plan) | 41 Korean legal APIs → 17 MCP tools
RuleGo
★ 1.5k⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.
Browse More APIs MCP Servers
Explore all apis servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Client Demo in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Client Demo?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.