Skip to content

Demo Hello MCP Server API Reference

A simple demonstration MCP server that provides greeting tools using FastMCP

This reference provides detailed information about all available tools and their parameters.

Available Tools

say_hello

Description: Generate a personalized greeting message

Parameters:

  • name (string) (optional): Name of the person to greet (optional)

Example Usage:

mcp_platform call demo say_hello
from mcp_platform.client import MCPClient

client = MCPClient()
result = client.call_tool("demo", "say_hello", {})
curl -X POST http://localhost:8000/v1/call \
  -H "Content-Type: application/json" \
  -d '{"template_id": "demo", "tool_name": "say_hello", "arguments": {}}'

get_server_info

Description: Get information about the demo server

Parameters: No parameters required

Example Usage:

mcp_platform call demo get_server_info
from mcp_platform.client import MCPClient

client = MCPClient()
result = client.call_tool("demo", "get_server_info", {})
curl -X POST http://localhost:8000/v1/call \
  -H "Content-Type: application/json" \
  -d '{"template_id": "demo", "tool_name": "get_server_info", "arguments": {}}'

echo_message

Description: Echo back a message with server identification

Parameters:

  • message (string) (required): Message to echo back

Example Usage:

mcp_platform call demo echo_message
from mcp_platform.client import MCPClient

client = MCPClient()
result = client.call_tool("demo", "echo_message", {})
curl -X POST http://localhost:8000/v1/call \
  -H "Content-Type: application/json" \
  -d '{"template_id": "demo", "tool_name": "echo_message", "arguments": {}}'

Integration Examples

For more integration examples and usage patterns, see the Usage Guide.

Support

For questions and issues related to the Demo Hello MCP Server, please refer to: - Usage Guide for comprehensive examples - Template Overview for setup and configuration - MCP Platform Documentation for general platform usage