Hello MCP Server π
About
A simple Hello World server implementing the Model Context Protocol (MCP)
Details
- Author
- gkushang
- Downloads
- 149
- Categories
- Other
Jump to
- Resource handling with templates
- Prompt management
- Tool implementation
- TypeScript support
- Built-in testing
Install dependencies with npm install, build with npm run build, then start the server with npm start. Run npm test to verify resource handling, template processing, prompt generation, and tool execution.
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 π οΈ
npm install
Building ποΈ
npm run build
Running the Server π
npm start
Testing π§ͺ
Run the test script to verify the server's functionality:
npm test
This will test:
- Resource handling
- Template processing
- Prompt generation
- Tool execution
Project Structure π
βββ 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.json
Contributing π€
Contributions are welcome! Please feel free to submit a Pull Request.
---
_This README is managed through the MCP GitHub server_ π€
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



