mcpField
H
Hello-MCP πŸš€

Hello-MCP πŸš€

Local
github.com/Cookie-HOODeveloper Tools0Updated 81w ago

About Hello-MCP πŸš€

Hello-MCP is a learning project that pairs a simple MCP client and server for exploring how the protocol works. It includes an interactive chat client and a basic file-listing tool.

Key features

  1. 01Register servers over SSE or stdio
  2. 02Interactive command-line chat
  3. 03DeepSeek API conversations
  4. 04Streamed responses
  5. 05List files at a path
  6. 06Server health checks

Use cases

  1. 01Learn MCP client-server basics
  2. 02Try server registration over SSE or stdio
  3. 03List and inspect files through an MCP tool

MCP support

The project implements both an MCP client and server. The client registers servers over SSE or stdio, and the server exposes a path-based file-listing tool and health check.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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! README image

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

README image

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
ResourceRecommendation
Smithery - Model Context Protocol Registry🌟🌟🌟
https://github.com/punkpeye/awesome-mcp-servers🌟🌟🌟
https://github.com/modelcontextprotocol/servers🌟🌟🌟
List of all MCP Servers (42) | Portkey🌟🌟
https://cursor.directory/mcp🌟🌟
Open-Source MCP servers | Glama🌟🌟
https://mcp.so/🌟🌟
https://www.pulsemcp.com/servers🌟🌟
Awesome MCP Servers🌟🌟

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.