Hello MCP Server πŸ‘‹

by gkushang

149 downloads
Not rated
GitHub

About

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

Details

Author
gkushang
Downloads
149
Categories
Other

- 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_ πŸ€–

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.