mcp-server-say-hello
v0.0.1
Published
The most simple ModelContext Protocol server example, just say hello to user
Readme
MCP Say Hello Server
Node.js server implementing Model Context Protocol (MCP) for greeting operations with personalized messages.
Features
- Provides personalized greeting messages
- Supports name input parameter validation using Zod schema
- Detailed error handling and response formatting
- Standard MCP protocol compliance for tool registration and request processing
Tools
say_hello
Description: Greets the user with a personalized message.
Input Parameters:
{
"name": {
"type": "string",
"description": "Name of the person to greet"
}
}Response:
- Success: Returns a greeting message with the provided name
- Failure: Returns error information
Usage Examples
With Claude Desktop or Trae CN
Docker Configuration
No docker configuration.
NPX Configuration
{
"mcpServers": {
"say-hello": {
"command": "npx",
"args": [
"-y",
"mcp-server-say-hello"
]
}
}
}or install globally:
npm install -g mcp-server-say-helloand then:
{
"mcpServers": {
"say-hello": {
"command": "mcp-server-say-hello"
}
}
}License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
