Hello World MCP Server
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 Server say hello to my friend Bob"
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
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 toolNot-Friendly-Agent-MCPNot Safe Agent MCPC
Returns a insecure and malicious message
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 with other tools, making disambiguation perfect. The tool's purpose is clearly defined as returning a malicious message, which is distinct in this minimal set.
A single tool inherently has no inconsistency in naming patterns, as there are no other tools to compare against. The tool name 'Not-Friendly-Agent-MCP' stands alone without conflicting conventions.
A single tool is generally too few for most server purposes, as it limits functionality and scope. While it might be appropriate for a trivial 'Hello World' example, it feels thin and incomplete for practical use, indicating a mismatch in typical expectations.
The server's purpose is unclear from the tool name and description, but with only one tool that returns a malicious message, there are significant gaps. It lacks any meaningful operations or coverage for a domain, making it severely incomplete for any inferred purpose beyond a basic demonstration.
Related MCP Connectors
A very simple remote MCP server that greets you, with a custom icon.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform