mock_echo
Test MCP client implementations by echoing provided messages for validation and debugging in development workflows.
Instructions
Echo back the provided message.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes |
Implementation Reference
- src/mock_mcp_server/main.py:37-39 (handler)The mock_echo tool handler function, decorated with @mcp.tool for registration. It takes a string message and returns an echoed response.def mock_echo(message: str) -> str: """Echo back the provided message.""" return f"Mock server echoes: {message}"