MCP.so
登录

MCP Say Hello Server

@BrightLin

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

BrightLin

关于 MCP Say Hello Server

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

MCP Say Hello Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

MCP Say Hello Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

1

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.

2

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`.

3

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.

4

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.

5

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.

评论

其他 分类下的更多 MCP 服务器