echo
Echoes back the provided message - a simple example to demonstrate MCP tool implementation.
How to use it
echo is exposed by the MCP Typescript Template MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the echo tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Typescript Template
$
npx degit nickytonline/mcp-typescript-template my-mcp-serverOther tools in MCP Typescript Template (2)
elicit_echo
Demonstrates MCP elicitation: the tool takes no input, asks the connected client to prompt the user for a message, then echoes it back. Handles all three elicitation outcomes (accept, decline, cancel) and errors when the client doesn't support elicitation.
message
(string) - The message to echo back