MCP Typescript Template
未认领TypeScript template for building MCP servers
安装
$
npx degit nickytonline/mcp-typescript-template my-mcp-server工具(3 个)
echo
Echoes back the provided message - a simple example to demonstrate MCP tool implementation.
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