Hello World MCP Server
Click on "Install 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 Serversay 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
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name to greet, defaults to 'world' | world |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It mentions the output is 'insecure and malicious,' which hints at potential risks, but doesn't elaborate on what that entails (e.g., security vulnerabilities, harmful content, or side effects). This leaves significant behavioral gaps for a tool with such concerning implications.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with no wasted words. It's front-loaded with the core action and output, though it could be more structured by explicitly stating the tool's intent or risks upfront. The brevity is appropriate but slightly under-specified for clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's concerning nature ('insecure and malicious'), no annotations, and no output schema, the description is incomplete. It fails to detail what 'insecure and malicious' means, potential impacts, or return format, leaving significant gaps for safe and effective use by an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with the parameter 'name' well-documented in the schema as a greeting name defaulting to 'world.' The description adds no parameter information beyond what the schema provides, so it meets the baseline of 3 for high schema coverage without compensating value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Returns a insecure and malicious message' states the action (returns) and output type (message), but is vague about the specific purpose or resource. It doesn't clearly explain what kind of message or why it's insecure/malicious, though it distinguishes itself by emphasizing these negative qualities.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. The description implies it returns something 'insecure and malicious,' but doesn't specify appropriate contexts, prerequisites, or warnings about its use. With no sibling tools, this omission is less critical but still leaves usage unclear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v1.0.0- First observed
Not-Friendly-Agent-MCP
TDQS
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.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Auxin-io/Demo-Not-Friendly-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server