MCP Client Server Host Demo
A quick pokemon demo to showcase MCP server, client, and host
What is MCP Client Server Host Demo?
MCP Client Server Host Demo is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to quick pokemon demo to showcase mcp server, client, and host
A quick pokemon demo to showcase MCP server, client, and host
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A quick pokemon demo to showcase MCP server, client, and hos
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-client-server-host-demoConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Client Server Host Demo
The MCP Client Server Host Demo is a hands-on educational project that illustrates the three-layer architecture of the Model Context Protocol using a Pokémon-themed example application. It includes a standalone MCP server providing Pokémon data and attack tools, a TypeScript MCP client that connects to it programmatically, and an HTTP host server that lets LLMs invoke Pokémon tools via the OpenRouter API. Developers learning MCP use it to understand how servers expose tools, how clients discover and call them, and how a host orchestrates everything with an LLM.
Prerequisites
- Bun runtime installed (https://bun.sh)
- An OpenRouter API key for the LLM integration HTTP server
- Git for cloning the repository
- Basic familiarity with TypeScript and the MCP protocol
Clone the repository
Clone the demo project to your local machine.
git clone https://github.com/danwritecode/mcp-client-server-host-demo.git
cd mcp-client-server-host-demoInstall dependencies with Bun
Install all project dependencies using the Bun package manager.
bun installRun the MCP client and server demo
This launches the MCP client, which automatically starts the MCP server as a subprocess. Watch the console to see the client discover tools and call them.
bun mcp_client.tsSet your OpenRouter API key
To run the HTTP host server with LLM integration, export your OpenRouter API key.
export OPENROUTER_API_KEY=your_api_key_hereStart the HTTP host server
Run the HTTP server, which listens on port 3005 and allows LLMs to invoke Pokémon tools through the /attack endpoint.
bun http_server.tsTest the endpoints
With the server running, hit the available endpoints to list tools or trigger an LLM-driven Pokémon attack.
curl http://localhost:3005/tools
curl http://localhost:3005/attackMCP Client Server Host Demo Examples
Client configuration
Example of running the MCP server locally for client/host demos (no persistent MCP client config required — the client is embedded in the demo).
{
"mcpServers": {
"pokemon-demo": {
"command": "bun",
"args": ["mcp_server.ts"],
"env": {}
}
}
}Prompts to try
These commands and prompts exercise the demo's Pokémon MCP tools via the HTTP host.
- "GET http://localhost:3005/tools — list all Pokémon tools the MCP server exposes"
- "GET http://localhost:3005/attack — let the LLM pick a random Pokémon attack and execute it"
- "Modify http_server.ts to add a /battle endpoint that pits two Pokémon against each other."
- "Trace through mcp_client.ts to explain how tool discovery works in MCP."Troubleshooting MCP Client Server Host Demo
bun: command not found
Install Bun by running: curl -fsSL https://bun.sh/install | bash. Then restart your terminal and verify with 'bun --version'.
/attack endpoint returns an authentication error
Make sure OPENROUTER_API_KEY is exported in the same shell session where you run bun http_server.ts. Verify the key is valid at https://openrouter.ai/keys.
Client cannot connect to the MCP server
The client launches the server automatically as a subprocess — do not start the server separately. If the connection fails, check that the mcp_server.ts file path is correct and that no port conflicts exist.
Frequently Asked Questions about MCP Client Server Host Demo
What is MCP Client Server Host Demo?
MCP Client Server Host Demo is a Model Context Protocol (MCP) server that quick pokemon demo to showcase mcp server, client, and host It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Client Server Host Demo?
Follow the installation instructions on the MCP Client Server Host Demo GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP Client Server Host Demo?
MCP Client Server Host Demo works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Client Server Host Demo free to use?
Yes, MCP Client Server Host Demo is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MCP Client Server Host Demo Alternatives — Similar Developer Tools Servers
Looking for alternatives to MCP Client Server Host Demo? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Client Server Host 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 MCP Client Server Host Demo?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.