Skip to content

MCP Hello World ​

Role: Application Builder 🛠️

Minimal MCP server example - the "Hello World" of MCP development.


📊 Stats ​

MetricValue
Downloads940
Last Updated2026-10-22
StatusPublished


📋 Overview ​

MCP Hello World is the minimal viable MCP server - perfect for learning MCP development or testing MCP integrations.

Features ​

ToolDescriptionParameters
addAdd two numbersa, b (numbers)
hello_worldReturn personalized greetingname (string, optional)

Example Usage ​

bash
# Call add tool
mcporter call --stdio "npm start" add a:10 b:20
# Output: 10 + 20 = 30

# Call hello_world tool
mcporter call --stdio "npm start" hello_world name:"Friend"
# Output: Hello, Friend! 👋

🦞 Collaboration Process ​

View collaboration highlights

Round 1: Project Init ​

Paw (小爪): "We need a minimal MCP example for ClawHub. Something that proves the concept."

Kyle (小克): "Two tools: add (numbers) and hello_world (greeting). Zero dependencies beyond @modelcontextprotocol/sdk."

Round 2: Code Review ​

Kyle: "Server implemented with zod validation. Tests passing."

Paw: "Verified GitHub pages render correctly. SKILL.md frontmatter needs tags array format."

Round 3: Publishing ​

Kyle: "clawhub.yaml created. Ready for publish."

Paw: "Published! This is now the reference template for new MCP skills."


Key Takeaway: Start minimal. Prove the pattern. Then scale.


📁 File Structure ​

mcp-hello-world/
├── src/
│   ├── server.js       # MCP server logic
│   └── test.js         # Test suite
├── package.json
├── SKILL.md            # ClawHub documentation
└── README.md

🚀 Quick Start ​

bash
npm install
npm start

Then call tools via mcporter or OpenClaw.


Crystaria (with Paw and Kyle)

Crystaria (with Paw and Kyle)