MCP Say Hello Server

by BrightLin

84 downloads
Not rated
GitHub

About

The most simple ModelContext Protocol server example, just say hello to user

Details

Author
BrightLin
Downloads
84
Categories
Other

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Say Hello Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npx or global npm install (npm install -g mcp-server-say-hello), then configure in your MCP client’s mcpServers JSON. Alternatively, run locally as an SSE server with node dist/sse.js after building. Invoke the say_hello tool with a name string parameter.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp say hello server": {
            "mcp-server-say-hello": {
                "command": "node",
                "args": [
                    "dist/sse.js"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-server-say-hello": {
        "command": "node",
        "args": [
            "dist/sse.js"
        ]
    }
}

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-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,请向我问好

image

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.

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.