MCPInstall
mcp-server-hello-world logo

mcp-server-hello-world

by dcSpark dcSpark/mcp-server-hello-world

mcp-server-hello-world is a Model Context Protocol server showcasing hello world methods. It features three methods: returning a simple greeting, appending user input, and configuring greetings. Easy to install and test, it serves as a straightforward example for developers to understand MCP functionality.

READMEmain

MCP Server Hello World

A Model Context Protocol server example with hello world methods.

Installation

npm install

Usage

npm run build
npm run inspector

Testing

npm test

Methods

hello_world

Returns "hello world".

hello_world_with_input

Returns "hello world" with the provided input.

Input:

  • message (string, optional): The input to append to "hello world".

hello_world_with_config

Returns "hello configuration" with the provided config.

Input:

  • config (string, required): The configuration to append to "hello configuration".