mock_echo
Test MCP client implementations by echoing provided messages to verify communication and response handling 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:36-39 (handler)The mock_echo tool handler function, decorated with @mcp.tool for registration. It takes a string input 'message' and returns it prefixed with 'Mock server echoes:'.@mcp.tool def mock_echo(message: str) -> str: """Echo back the provided message.""" return f"Mock server echoes: {message}"