MCP.so
ログイン
サーバー

mcp-server-say-hello

@BrightLin

The most simple ModelContext Protocol server example, just say hello to user. Written by python

概要

What is mcp-server-say-hello?

A greeting service that provides a standardized say_hello tool interface, compliant with the MCP v1.2 protocol. It is for developers who need to integrate personalized greeting generation into MCP-compatible applications.

How to use mcp-server-say-hello?

Install via uvx (uvx mcp-server-say-hello) or pip (pip install mcp-server-say-hello), then configure in VS Code (under mcp.servers) or in Claude Desktop/Trae CN Desktop (under mcpServers). The tool say_hello accepts a name parameter and returns Hello {name}!.

Key features of mcp-server-say-hello?

  • Personalized greeting generation
  • Compliant with MCP v1.2 protocol specifications
  • Multi-environment deployment (uvx, docker, pip)
  • REST API endpoint: POST /say_hello
  • Standardized input and output schema

Use cases of mcp-server-say-hello?

  • Add a welcoming message to an MCP-driven assistant
  • Greet users by name in a chatbot or voice agent
  • Demonstrate a minimal MCP tool integration in tutorials
  • Serve as a starter template for MCP tool development
  • Provide consistent greeting logic across different MCP hosts

FAQ from mcp-server-say-hello

What tool does mcp-server-say-hello expose?

It exposes a single tool named say_hello that accepts a name parameter and returns a text greeting.

How do I configure it in VS Code?

Add the say_hello server under mcp.servers with command uvx and args ["mcp-server-say-hello"], or use the local Python module path if installed via pip.

What deployment options are supported?

The server can be run via uvx, Docker, or pip installation (python -m mcp_server_say_hello).

Is there a direct REST API?

Yes, there is a POST /say_hello endpoint that accepts {"name": "username"} and returns {"message": "Hello username!"}.

Which MCP version is supported?

The server is specifically compliant with MCP v1.2 protocol specifications.

「その他」の他のコンテンツ