mcp-server-say-hello-py
0
MCP Server Say Hello is a service designed to provide personalized greetings compliant with the MCP v1.2 protocol specifications. It supports deployment across multiple environments and offers a standardized interface for greeting tools.
mcp-server-say-hello
MCP Protocol-compliant greeting service providing standardized greeting tool interfaces.
Features
- Personalized greeting generation
- Compliant with MCP v1.2 protocol specifications
- Multi-environment deployment support (uvx/docker/pip)
- Complete tool registration specifications
Tool Registration
Tool List
say_hello
-
Description: Greeting tool for users
-
Input Parameters:
{ "name": "username" }
-
Success Response:
{ "type": "text", "text": "Hello {username}!" }
-
API Reference
endpoint: POST /say_hello
request parameters:
{
"name": "username"
}
success response:
{
"message": "Hello {username}!"
}
Integrated configuration
VS Code configuration
{
"mcp": {
"servers": {
"say_hello": {
"command": "uvx",
"args": ["mcp-server-say-hello"]
}
}
}
}
or locally (if you installed the package using pip install
or pip install -e .
):
{
"mcp": {
"servers": {
"say_hello": {
"command": "/path/to/python",
"args": ["-m", "mcp_server_say_hello"]
}
}
}
}
Note: command use the python bin path or "python" if you have it in your PATH
Claude Desktop or Trae CN Desktop configuration
use python
{
"mcpServers": {
"say_hello": {
"command": "python",
"args": ["-m", "mcp_server_say_hello"]
}
}
}
or uvx
{
"mcpServers": {
"say_hello": {
"command": "uvx",
"args": ["mcp-server-say-hello"]
}
}
}