mcp-server-say-hello

by BrightLin

163 downloads
Not rated
GitHub

About

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

Details

Author
BrightLin
Downloads
163
Categories
Other

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcp-server-say-hello
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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}!.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp-server-say-hello": {
            "say_hello": {
                "command": "python",
                "args": [
                    "-m",
                    "mcp_server_say_hello"
                ]
            }
        }
    }
}

McpServers

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

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
- 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"]
    }
  }
}

AIGC prompt example

image

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.