Skip to main content
Glama
currentspace

Bootstrap MCP Server

by currentspace

hello_world

Greet users by name using a simple Model Context Protocol tool on the Bootstrap MCP Server, designed for testing and basic interaction.

Instructions

A simple hello world tool

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName to greet

Implementation Reference

  • Implements the logic for the 'hello_world' tool by returning a greeting message with the provided name.
    private handleHelloWorld(args: any) { const name = args.name as string return { content: [ { type: 'text', text: `Hello, ${name}! Welcome to the Bootstrap MCP Server.`, }, ], } }
  • Defines the input schema and metadata for the 'hello_world' tool, including name, description, and required 'name' parameter.
    { name: 'hello_world', description: 'A simple hello world tool', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Name to greet', }, }, required: ['name'], }, },
  • src/server.ts:82-83 (registration)
    Registers the 'hello_world' tool handler in the switch statement for tool execution dispatch.
    case 'hello_world': return this.handleHelloWorld(args)

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/currentspace/bootstrap_mcp'

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