A simple Hello World server implementing the Model Context Protocol (MCP)
0 stars
TypeScript
Updated Apr 6, 2025
Documentation
Hello MCP Server 👋
Note: This README was created and is maintained through the MCP GitHub server.
A simple implementation of a Model Context Protocol (MCP) server that demonstrates basic functionality including resources, prompts, and tools.
Features 🌟
- Resource handling with templates
- Prompt management
- Tool implementation
- TypeScript support
- Built-in testing
Installation 🛠️
bash
npm installBuilding 🏗️
bash
npm run buildRunning the Server 🚀
bash
npm startTesting 🧪
Run the test script to verify the server's functionality:
bash
npm testThis will test:
- Resource handling
- Template processing
- Prompt generation
- Tool execution
Project Structure 📁
code
├── src/
│ ├── index.ts # Main server file
│ ├── handlers.ts # Request handlers
│ ├── resources.ts # Resource definitions
│ ├── prompts.ts # Prompt implementations
│ ├── tools.ts # Tool definitions
│ └── test.ts # Test script
├── package.json
└── tsconfig.jsonContributing 🤝
Contributions are welcome! Please feel free to submit a Pull Request.
---
_This README is managed through the MCP GitHub server_ 🤖
Similar MCP
Based on tags & features
Trending MCP
Most active this week