https://github.com/gkushang/hello-mcp-server
A simple Hello World server implementing the Model Context Protocol (MCP)
https://github.com/gkushang/hello-mcp-server
Last synced: 3 months ago
JSON representation
A simple Hello World server implementing the Model Context Protocol (MCP)
- Host: GitHub
- URL: https://github.com/gkushang/hello-mcp-server
- Owner: gkushang
- Created: 2025-04-05T19:01:22.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-06T20:39:52.000Z (8 months ago)
- Last Synced: 2025-04-11T21:18:56.459Z (8 months ago)
- Language: TypeScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mcp-servers - **hello-mcp-server** - A simple Hello World server implementing the Model Context Protocol (MCP) `typescript` `mcp` `server` `npm install gkushang/hello-mcp-server` (๐ Web Development)
README
# 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 ๐
```
โโโ 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_ ๐ค