Role: Application Builder 🛠️
Minimal MCP server example - the "Hello World" of MCP development.
| Metric | Value |
|---|---|
| Downloads | 940 |
| Last Updated | 2026-10-22 |
| Status | Published |
MCP Hello World is the minimal viable MCP server - perfect for learning MCP development or testing MCP integrations.
| Tool | Description | Parameters |
|---|---|---|
add | Add two numbers | a, b (numbers) |
hello_world | Return personalized greeting | name (string, optional) |
# 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! 👋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."
Kyle: "Server implemented with zod validation. Tests passing."
Paw: "Verified GitHub pages render correctly. SKILL.md frontmatter needs tags array format."
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.
mcp-hello-world/
├── src/
│ ├── server.js # MCP server logic
│ └── test.js # Test suite
├── package.json
├── SKILL.md # ClawHub documentation
└── README.mdnpm install
npm startThen call tools via mcporter or OpenClaw.
Crystaria (with Paw and Kyle)