Hello-MCP: a simple educational MCP client and server

Hello-MCP: a simple educational MCP client and server

hello-mcp•bycookie-hoo

An educational project providing a simple FastMCP-based server and an interactive client for learning how the MCP protocol works.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Implements a simple MCP server with FastMCP supporting both SSE and stdio transports.
  • •Provides a basic path utility tool that lists all files in a specified path.
  • •Includes an interactive command-line client that can register MCP servers via SSE or stdio and chat using the DeepSeek API.
  • •Supports health checks on the server.

BEST FOR

  • •Learning how the MCP protocol works through a hands-on client and server implementation.
  • •Experimenting with listing files in a directory via an MCP tool within an LLM chat.
  • •Extending the sample server with new MCP tools for local testing.

ABOUT HELLO-MCP

Hello-MCP: a simple educational MCP client and server is cataloged as an MCP server attributed to cookie-hoo. An educational project providing a simple FastMCP-based server and an interactive client for learning how the MCP protocol works. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Hello-MCP: a simple educational MCP client and server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How can I add new MCP tools to this server?

Add a new tool function in server.py, register it with the @tool decorator, define its input parameter schema, and test calling it from the client.

How can I debug the MCP server?

The README shows running the server with the mcp dev command to debug it.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 56e0b3ee2044 · 采集于 2026-11-13 11:40:06 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Hello-MCP 🚀


中文文档 🇨🇳

A simple implementation of MCP (Model Control Protocol) client and server. Helps understand what MCP protocol is and how it works.

This project will ✅:

  • Teach you the essence of MCP protocol
  • Let you build your own MCP Client and Server
  • Provide hands-on experience with MCP implementation

This project won't ❌:

  • Teach you how to configure existing MCP Hosts
  • Implement generic server functionality (requires your own exploration)

Features ✨

MCP Client

  • Supports registering MCP Server (both SSE and stdio methods)
  • Interactive command line chat interface
  • Supports DeepSeek API conversations (configure API key in config file)
  • Streamed response output

MCP Server

  • Simple server based on FastMCP (supports both SSE and stdio)
  • Provides a basic path utility (lists all files in specified path)
  • Health check support

DEMO

Use List_Dir Tool to get files and analysis!

Usage Guide 📖

Environment Setup

Recommended to use uv for project management

0. Clone the project

git clone https://github.com/Cookie-HOO/hello-mcp.git
cd hello-mcp

1. Install uv

Official uv installation docs

macOS:

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows (requires PowerShell):

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

2. Initialize project dependencies

uv venv  # Create virtual environment
uv sync  # Install dependencies
source ./.venv/bin/activate  # macOS: activate virtual environment
.\.venv\Scripts\activate     # Windows: activate virtual environment

3. Set up DeepSeek API key

Currently only supports DeepSeek API - apply at: DeepSeek API Platform

cp ./config.example.yaml ./config.yaml
# Edit to add your DeepSeek API key

4. Run the project

# Method 1: stdio (only need to explicitly start client)
python -m hello_mcp.client2stdio --server-path ./hello_mcp/server.py

# Method 2: SSE (need to explicitly start both server and client)
python -m hello_mcp.server --transport sse  # Start server in SSE mode
python -m hello_mcp.client2sse --server-url http://127.0.0.1:8000  # Register the MCP server with client

Debugging MCP Server

uv run mcp dev hello_mcp/server.py

License 📜

MIT License. See LICENSE file for details.

👋 Contributions welcome! Feel free to open issues and discussions.

MCP Usage Guide 🛠️

1. How to use MCP in daily work

  1. Find an MCP Server Host that supports your needs
  2. Configure the MCP Server

MCP Host reference list:

ClientResourcesPromptsToolsSamplingRootsNotes
5ire❌❌✅❌❌Supports tools.
Apify MCP Tester❌❌✅❌❌Supports tools
BeeAI Framework❌❌✅❌❌Supports tools in agentic workflows.
Claude Code❌✅✅❌❌Supports prompts and tools
Claude Desktop App✅✅✅❌❌Supports tools, prompts, and resources.
Cline✅❌✅❌❌Supports tools and resources.
Continue✅✅✅❌❌Supports tools, prompts, and resources.
Copilot-MCP✅❌✅❌❌Supports tools and resources.
Cursor❌❌✅❌❌Supports tools.

2. How to find MCP tools

MCP Concept Q&A ❓

Q: What problems does MCP solve?

A: MCP (Model Control Protocol) addresses:

  1. Standardizing AI model interaction protocols
  2. Providing unified tool calling specifications
  3. Simplifying complex AI system integration
  4. Enabling modular and reusable model capabilities

Q: History of MCP

A: MCP development timeline:

  1. 2023: Concept introduced by Anthropic (Claude's parent company)
  2. 2024: Multiple open-source implementations emerged
  3. 2025: Became a standard protocol for AI system integration
  4. Present: Widely used in various AI agent systems

Q: Current state of MCP

A: Main application scenarios:

  1. AI assistant systems
  2. Automated workflows
  3. Multi-model collaboration platforms
  4. Enterprise AI solutions Popular implementations include FastMCP, PyMCP etc.

Q: Differences between MCP and Function Call

A: Similarities:

  1. Both execute specific functions
  2. Both require input/output definitions Differences:
  3. MCP is a standardized protocol, Function Call is a language feature
  4. MCP supports cross-language/platform calls
  5. MCP includes complete tool discovery/registration

Q: Relationship between MCP and Agents

A: Key points:

  1. Agents are entities that use MCP
  2. MCP is the protocol for Agent-Agent or Agent-Tool interaction
  3. One Agent can register multiple MCP tools

Project Q&A 💡

Q: How to solve DeepSeek API key configuration issues?

A: Ensure:

  1. api_key field in config.yaml is correctly filled
  2. No extra spaces or quotes in the key
  3. Try regenerating API key if authentication fails

Q: Port already in use when starting server?

A: Solutions:

  1. Check processes using port with lsof -i :8000
  2. Terminate process or change server port
  3. Update client registration URL

Q: How to extend with new MCP tools?

A: Steps:

  1. Add new tool function in server.py
  2. Register with @tool decorator
  3. Define input parameter schema
  4. Test calling from client

Q: uv sync command fails?

A: Possible solutions:

  1. Check network connection
  2. Delete .venv and recreate for dependency conflicts
  3. Use sudo or fix directory permissions

Q: How to contribute code?

A: Welcome PRs on GitHub:

  1. Fork the project
  2. Create feature branch
  3. Commit with clear messages
  4. Open Pull Request

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Hello-MCP: a simple educational MCP client and server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/hello-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools