a year ago
developer-toolsThe most simple ModelContext Protocol server example, just say hello to user. Written by python
Overview
what is mcp_server_say_hello?
mcp_server_say_hello is a simple greeting service that complies with the MCP Protocol, providing standardized interfaces for greeting tools.
how to use mcp_server_say_hello?
To use the service, install it via UVX or pip, and then send a POST request to the /say_hello endpoint with a JSON payload containing the user's name.
key features of mcp_server_say_hello?
- Personalized greeting generation
- Compliance with MCP v1.2 protocol specifications
- Support for multi-environment deployment (uvx/docker/pip)
- Complete tool registration specifications
use cases of mcp_server_say_hello?
- Creating personalized greeting messages for users in applications.
- Integrating with other services that require standardized greeting responses.
- Deploying in various environments for flexibility in usage.
FAQ from mcp_server_say_hello?
- How do I install the service?
You can install it using UVX or pip commands provided in the documentation.
- What is the API endpoint for greetings?
The API endpoint is POST /say_hello, where you can send the user's name as a parameter.
- Can I deploy this service in a Docker container?
Yes! The service supports deployment in Docker as well as other environments.