Skip to main content
Glama
currentspace

Bootstrap MCP Server

by currentspace

echo

Test MCP server functionality by returning provided messages, enabling developers to verify communication and validate tool integration in the Bootstrap MCP Server.

Instructions

Echo back the provided message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesMessage to echo

Implementation Reference

  • The handler function that implements the 'echo' tool logic. It extracts the 'message' from the input arguments and returns it as a text content response.
    private handleEcho(args: any) { const message = args.message as string return { content: [ { type: 'text', text: message, }, ], } }
  • The schema definition for the 'echo' tool, including name, description, and input schema specifying a required 'message' string.
    { name: 'echo', description: 'Echo back the provided message', inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'Message to echo', }, }, required: ['message'], }, },
  • src/server.ts:84-85 (registration)
    The switch case in the tool execution handler that registers and dispatches the 'echo' tool call to its handler function.
    case 'echo': return this.handleEcho(args)
Install Server

Other 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