trackmcp
Back to directory
gkushang

hello-mcp-server

View on GitHub

A simple Hello World server implementing the Model Context Protocol (MCP)

0 stars TypeScriptAI & Machine Learning 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 install

Building ๐Ÿ—๏ธ

bash
npm run build

Running the Server ๐Ÿš€

bash
npm start

Testing ๐Ÿงช

Run the test script to verify the server's functionality:

bash
npm test

This 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.json

Contributing ๐Ÿค

Contributions are welcome! Please feel free to submit a Pull Request.


_This README is managed through the MCP GitHub server_ ๐Ÿค–

Frequently asked questions

What is hello-mcp-server?

hello-mcp-server is A simple Hello World server implementing the Model Context Protocol (MCP)

How do I install hello-mcp-server?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is hello-mcp-server open source?

Yes โ€” it is hosted on GitHub at https://github.com/gkushang/hello-mcp-server.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP