Skip to main content
Glama
luquitared

MCP Server Boilerplate

by luquitared

hello-world

Sends a personalized greeting to the user by accepting a name as input. Part of the MCP Server Boilerplate for integrating custom tools with AI assistants like Claude or Cursor.

Instructions

Say hello to the user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the user

Implementation Reference

  • src/index.ts:14-31 (registration)
    Registers the "hello-world" tool, including its description, input schema, and handler function.
    "hello-world", "Say hello to the user", { name: z.string().describe("The name of the user"), }, async ({ name }) => { const response = `Hello ${name}`; return { content: [ { type: "text", text: response, }, ], }; } );
  • The handler function that constructs and returns a greeting message as text content.
    async ({ name }) => { const response = `Hello ${name}`; return { content: [ { type: "text", text: response, }, ], }; }
  • Zod schema defining the input parameter 'name' as a string.
    { name: z.string().describe("The name of the user"), },

Other Tools

Related 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/luquitared/yt-mcp'

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