Get the FREE Ultimate OpenClaw Setup Guide →

hello-world

Use this project to verify that your MCP server is properly configured and to test a simple end-to-end integration workflow.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio fogmoe-hello-world-mcp npx -y hello-world-mcp

How to use

This MCP server provides a simple hello_world tool that returns the message 'Hello World!'. To use it, add the server to your MCP client configuration and reference the hello_world tool when you want a greeting. The server is invoked via npx with the package name hello-world-mcp, so once configured you can call the tool through your MCP client as hello_world and receive the string 'Hello World!'. If you manage multiple MCP servers, you can combine tools from different servers in your workflows by referencing their respective tool names in your client.

How to install

Prerequisites:

  • Node.js and npm (for using npx)
  • Internet access to fetch the MCP package from npm

Installation steps:

  1. Install Node.js from the official website or using your system package manager.
  2. Verify npm is installed: npm -v
  3. Use your MCP client configuration to reference the server. Since this server is accessed via npx, no global installation is required. The following demonstrates using the server inline in your MCP client configuration:

Example configuration snippet (already shown in the README):

{
  "mcpServers": {
    "hello-world": {
      "command": "npx",
      "args": ["-y", "hello-world-mcp"]
    }
  }
}
  1. Ensure the client can reach npm to fetch the package when the MCP client starts.

Additional notes

Notes:

  • The server package is invoked via npx, so no persistent installation is required on the host.
  • If you encounter network restrictions, you may need to ensure npm registry access or preload the package in your environment.
  • The hello_world tool returns a fixed message: 'Hello World!'. If you extend the package, ensure the tool name remains consistent with your MCP client configuration.

Related MCP Servers

Sponsor this space

Reach thousands of developers