echo
Returns the exact message you input, enabling message verification and testing in the minimal-mcp-server environment.
Instructions
入力されたメッセージをそのまま返す簡単なツール
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | エコーするメッセージ |
Implementation Reference
- src/index.ts:12-19 (registration)Registration of the "echo" tool.
server.registerTool( "echo", { description: "入力されたメッセージをそのまま返す簡単なツール", inputSchema: { message: z.string().describe("エコーするメッセージ"), }, }, - src/index.ts:20-29 (handler)Handler implementation for the "echo" tool.
async ({ message }) => { return { content: [ { type: "text", text: `Echo: ${message}`, }, ], }; },