Hello MCP Server logo

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 ๐Ÿค–