Hello MCP Server
by gkushang
A simple implementation of a Model Context Protocol (MCP) server. It demonstrates basic functionality including resources, prompts, and tools.
View on GitHub
Last updated: N/A
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 ๐ค