Feedback

Mcp Server Demo — by zhuohanl

@zhuohanl Claim

Basic information

Runtime
python
Category
License
Not specified
Transports
stdio
Author
zhuohanl
Submitted by
Community
Quality
20

About Mcp Server Demo

Demos of MCP servers and client for a quick start

Mcp Server Demo is a MCP server in the Other category listed in the AddMCP.net directory, published by zhuohanl. Supported transport: stdio. Runtime: python. Source code is hosted on github.com. Related topics: client, demo, mcp-server.

Mcp Server Demo — by zhuohanl config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Mcp Server Demo — by zhuohanl tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Mcp Server Demo?

Mcp Server Demo is a starter repository for building and testing MCP (Model Context Protocol) servers and clients. It includes three example servers (demo, document assistant, and US weather) and a corresponding client, intended for developers learning the protocol.

How to use Mcp Server Demo?

Run any MCP server with uv run python server/<filename>.py (e.g., uv run python server/demo.py). A client can be started with uv run python client/doc_assistant_client.py. For manual end‑to‑end testing, start a server with uv --directory <path> run <filename>.py and then type JSON‑RPC messages into the stdout console.

Key features of Mcp Server Demo

  • Three ready‑to‑run example MCP servers
  • One MCP client example (document assistant)
  • Manual JSON‑RPC message sequence for learning
  • Demonstrates initialize, tools/list, and tools/call lifecycle
  • Includes a calculate_sum tool with input schema
  • Uses protocol version 2025-03-26

Use cases of Mcp Server Demo

  • Learn the MCP client–server handshake and message flow
  • Experiment with tool definitions and tool calls in a controlled environment
  • Prototype a custom MCP server by copying and modifying an example
  • Test tool interaction manually before building an automated client

Frequently asked questions

1 What tools does the demo server provide?

The demo server exposes a single tool called calculate_sum which adds two numbers (a and b) and returns a text result.

2 How do I run the servers?

Use uv run python server/demo.py, uv run python server/doc_assistant.py, or uv run python server/us_weather.py from the repository root.

3 What protocol version is used?

The server and client exchange messages using MCP protocol version 2025-03-26.

4 Can I test the server without the client?

Yes. Start the server with uv --directory <path> run <filename>.py and type JSON‑RPC messages directly into the console to see responses.

—

—

—

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬