hello_world
Generate a basic greeting using a simple tool from the Basic MCP Server, designed for foundational MCP development and integration with VS Code and GitHub Copilot.
Instructions
Devuelve un saludo básico.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:16-25 (registration)Registration of the 'hello_world' tool using server.tool, including inline schema and handler.server.tool( "hello_world", "Devuelve un saludo básico.", {}, async () => ({ content: [ { type: "text", text: "¡Hola desde el MCP básico!" }, ], }) );
- src/index.ts:20-24 (handler)Inline handler function for 'hello_world' tool that returns a text content response with a greeting.async () => ({ content: [ { type: "text", text: "¡Hola desde el MCP básico!" }, ], })
- src/index.ts:19-19 (schema)Empty schema (input validation) for the 'hello_world' tool.{},