MCP.so
Sign In

MCP Say Hello Server

@BrightLin

About MCP Say Hello Server

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

Basic information

Category

Other

License

MIT

Runtime

node

Transports

stdio

Publisher

BrightLin

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Say Hello Server?

A Node.js server implementing the Model Context Protocol (MCP) for greeting operations with personalized messages. It integrates with MCP-compatible clients like Claude Desktop or Trae CN and provides a single tool to greet users by name.

How to use MCP Say Hello Server?

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.

Key features of MCP Say Hello Server

  • 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

Use cases of MCP Say Hello Server

  • Greet a user by name in an MCP‑powered assistant (e.g., Claude Desktop)
  • Demonstrate a minimal MCP server with a single tool for learning or testing
  • Integrate a simple greeting function into AI workflows or chat interfaces

FAQ from MCP Say Hello Server

What does the say_hello tool do?

It accepts a name string and returns a personalized greeting message (e.g., “Hello, Bright!”). On failure, it returns error information.

How do I install and run MCP Say Hello Server?

Use npx -y mcp-server-say-hello in your MCP client config, or install globally with npm install -g mcp-server-say-hello. For local SSE mode, run npm install && npm run build && node dist/sse.js.

Does the server run on STDIO or SSE by default?

The default configuration uses STDIO transport (via the mcp-server-say-hello command). SSE mode is available when running node dist/sse.js locally.

Are there any dependencies or runtime requirements?

The server runs on Node.js; no additional runtime or Docker configuration is required. It uses Zod for input validation as shown in the source.

Is this server licensed for modification and distribution?

Yes, it is licensed under the MIT License, allowing free use, modification, and distribution subject to the license terms.

Comments

More Other MCP servers