Hello World MCP Server
A simple MCP (Model Context Protocol) server using STDIO transport, built with TypeScript.
Features
This server exposes:
Tools
- hello - Says hello to someone (takes a
nameparameter) - get_greeting - Returns a friendly greeting message (no parameters)
Resources
- server-info (
info://server) - Provides information about the server
Installation
npm install
Build
npm run build
Usage
Running directly
npm start
Using with Cursor
Add this to your Cursor MCP settings (.cursor/mcp.json in your project or global settings):
{
"mcpServers": {
"hello-world": {
"command": "node",
"args": ["c:/Users/Mauri/CODE/surph-test-mcp/dist/index.js"]
}
}
}
How it works
The server uses STDIO (standard input/output) transport to communicate with MCP clients. When a client connects, it can:
- List available tools using
tools/list - Call the
hellotool with a name to get a personalized greeting - Call the
get_greetingtool to get a simple greeting - Access the
server-inforesource for server information












