hello-world-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hello-world-mcp greet Alice"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hello World MCP Server
A simple Model Context Protocol (MCP) server that provides a hello world tool. This server serves as a boilerplate template to help developers quickly create and deploy new MCP servers. It demonstrates basic MCP server functionality with a greeting tool and can be easily modified to add custom tools and resources.
Features
Hello World Tool: Simple greeting tool that says "Hello, {name}" with default "world"
Input Validation: Uses Zod schemas for robust parameter validation
Simple and Clean: Minimal MCP server implementation for demonstration purposes
Related MCP server: Hello World MCP Server
Using as a Boilerplate
This project serves as a starting template for building your own MCP servers. To create a custom MCP server:
Clone or fork this repository
Modify
index.jsto add your own tools usingserver.registerTool()Update
package.jsonwith your server name and descriptionCustomize the README and configuration files as needed
The basic structure includes proper error handling, input validation with Zod, and MCP protocol compliance.
Hello World Tool
The server provides a simple hello world tool that greets users with a customizable name.
Tool Usage
The helloWorld tool accepts an optional name parameter and returns a greeting message.
Parameters:
name: Name to greet (optional, defaults to "world")
Example Response:
Hello, world!Installation
Global Installation (Recommended)
Install globally via npm:
npm install -g hello-world-mcpThe
hello-world-mcpcommand will be available system-wide
Local Installation
Clone or download this repository
Install dependencies:
npm installStart the server:
npm start
Usage
Starting the Server
npm startMCP Configuration
For Global Installation
Add this to your MCP client configuration:
{
"mcpServers": {
"hello-world-mcp": {
"command": "hello-world-mcp",
"args": [],
"env": {},
"description": "Hello World MCP server with greeting tool"
}
}
}For Local Installation
Add this to your MCP client configuration:
{
"mcpServers": {
"hello-world-mcp": {
"command": "node",
"args": ["index.js"],
"cwd": "/path/to/hello-world-mcp",
"env": {},
"description": "Hello World MCP server with greeting tool"
}
}
}Usage Examples
Hello World Tool
{
"name": "helloWorld",
"arguments": {
"name": "Alice"
}
}Response:
{
"content": [
{
"type": "text",
"text": "Hello, Alice!"
}
]
}Default Greeting
{
"name": "helloWorld",
"arguments": {}
}Response:
{
"content": [
{
"type": "text",
"text": "Hello, world!"
}
]
}Available Tools
Hello World Tool
helloWorld
A simple greeting tool that says "Hello, {name}" with default "world".
Parameters:
name: Name to greet (optional, defaults to "world")
Hello World Examples
Basic Greeting
{
"name": "helloWorld",
"arguments": {
"name": "Alice"
}
}Response:
{
"content": [
{
"type": "text",
"text": "Hello, Alice!"
}
]
}Default Greeting
{
"name": "helloWorld",
"arguments": {}
}Response:
{
"content": [
{
"type": "text",
"text": "Hello, world!"
}
]
}Response Format
The hello world tool returns a simple text response:
{
"content": [
{
"type": "text",
"text": "Hello, world!"
}
]
}Dependencies
@modelcontextprotocol/sdk: MCP SDK for server implementationzod: Schema validation library
License
ISC
Available Tools
1 toolhelloWorldHello World ToolA
A simple hello world tool that greets the user
Inputs: name.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap. The tool's purpose is clear and unique, so an agent can unambiguously select it.
The single tool uses a clear camelCase naming style. Consistency is trivially maintained with only one tool, and the name accurately reflects its functionality.
The server is explicitly named 'hello-world-mcp' and its sole purpose is to greet the user. One tool is exactly the right scope, perfectly matching the server's narrow functionality.
The server's purpose is to provide a greeting, which the 'helloWorld' tool fully accomplishes. There are no missing operations for the defined domain, so the surface is complete.
Maintenance
Related MCP Connectors
MCP server for progressive tool usage at any scale (see https://klavis.ai)
POC MCP server. Tool say_hello returns 'Welcome' (agent -> MCP -> API path).
Related MCP Servers
- AlicenseCqualityDmaintenanceThis server provides a minimal template for creating AI assistant tools using the ModelContextProtocol, featuring a simple 'hello world' tool example and development setups for building custom MCP tools.114-
- FlicenseNot gradedqualityNot gradedmaintenanceA simple demonstration MCP server that provides basic greeting functionality and server information. Enables users to generate hello messages and retrieve server details through tools and resources.-
- -licenseCqualityNot gradedmaintenanceA simple boilerplate MCP server that provides a basic greeting tool for demonstration purposes. Serves as a starting template for developers to quickly create and deploy custom MCP servers.110 npm-
- FlicenseCqualityDmaintenanceA simple MCP server that provides a basic greeting tool for saying hello with customizable names. Serves as a boilerplate template for developers to quickly create and deploy new MCP servers.1-