Skip to main content
Glama

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
NameRequiredDescriptionDefault
messageYes

Implementation Reference

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DiscreteTom/mock-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server