About MCP Say Hello Server
MCP Say Hello Server is a Node.js MCP server for generating personalized greetings from a supplied name. Its focused example includes input validation and formatted error responses.
Key features
- 01Personalized greeting tool
- 02Name parameter validation with Zod
- 03Error handling and response formatting
- 04MCP tool registration and request handling
Use cases
- 01Adding personalized greetings to an MCP client
- 02Trying a small MCP server example
- 03Testing name validation and error responses
MCP support
Exposes a `say_hello` tool that accepts a name and returns a personalized greeting or error information. It can run as an SSE server or be configured for MCP clients such as Claude Desktop and Trae CN.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP 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-hello
and then:
{
"mcpServers": {
"say-hello": {
"command": "mcp-server-say-hello"
}
}
}
local run as sse server mode
npm install
npm run build
node dist/sse.js
AIGC prompt examples
you:我叫Bright,请向我问好
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.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.