trackmcp
Back to directory
BrightLin

mcp-server-say-hello-py

View on GitHub

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

0 stars PythonAI & Machine Learning Updated Apr 29, 2025

Documentation

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

1. `say_hello`

    json
    {
           "name": "username"
         }
      json
      {
             "type": "text",
             "text": "Hello {username}!"
           }

      API Reference

      endpoint: POST /say_hello

      request parameters:

      json
      {
        "name": "username"
      }

      success response:

      json
      {
        "message": "Hello {username}!"
      }

      Integrated configuration

      VS Code configuration

      json
      {
        "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 .`):

      json
      {
        "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

      json
      {
        "mcpServers": {
          "say_hello": {
            "command": "python",
            "args": ["-m", "mcp_server_say_hello"]
          }
        }
      }

      or uvx

      json
      {
        "mcpServers": {
          "say_hello": {
            "command": "uvx",
            "args": ["mcp-server-say-hello"]
          }
        }
      }

      AIGC prompt example

      image

      Frequently asked questions

      What is mcp-server-say-hello-py?

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

      How do I install mcp-server-say-hello-py?

      Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

      Is mcp-server-say-hello-py open source?

      Yes — it is hosted on GitHub at https://github.com/BrightLin/mcp-server-say-hello-py.

      Related MCP tools

      Run your own MCP server? See who uses it and what to fix.

      Measure it with TrackMCP