Hello World MCP Server

by macsymwang

Not rated
GitHub

About

A simple Hello World MCP server built with FastMCP, serving as a basic example.

Details

Author
macsymwang
Categories
Developer Tools, Knowledge Base

Setup

Install Hello World MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/macsymwang/hello-mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

A simple Hello World MCP server built with FastMCP, serving as a basic example.

A simple "Hello World" MCP (Model Context Protocol) server built with FastMCP. This server demonstrates basic MCP functionality with several example tools.

You can run this MCP server directly from GitHub usinguvx:

uvx --from git+https://github.com/macsymwang/hello-mcp-server.git hello-mcp-server

Add this to your MCP client configuration:

{ "mcpServers": { "hello-world": { "command": "uvx", "args": ["--from", "git+https://github.com/macsymwang/hello-mcp-server.git", "hello-mcp-server"] } } }

- say_hello: Greet someone with a personalized message
- get_server_info: Get information about the MCP server
- echo_message: Echo back any message you send
- count_words: Analyze text and count words/characters

You can run this MCP server directly from GitHub usinguvx:

uvx --from git+https://github.com/macsymwang/hello-mcp-server.git hello-mcp-server

- Clone or download this repository
- Install the package:

For development, install in editable mode:

This MCP server is designed to work with thestdio transport protocol, which is the standard way MCP servers communicate with clients. The server reads JSON-RPC messages from stdin and writes responses to stdout.

Add this configuration to your Claude Desktop config file (usually located at~/.config/claude/claude_desktop_config.jsonon Linux/Mac or%APPDATA%\Claude\claude_desktop_config.jsonon Windows):

{ "mcpServers": { "hello-world": { "command": "uvx", "args": ["--from", "git+https://github.com/macsymwang/hello-mcp-server.git", "hello-mcp-server"] } } }

Add this to your Cursor MCP configuration:

{ "mcpServers": { "hello-world": { "command": "uvx", "args": ["--from", "git+https://github.com/macsymwang/hello-mcp-server.git", "hello-mcp-server"], "transport": { "type": "stdio" } } } }

For other MCP clients, use this configuration:

{ "mcpServers": { "hello-world": { "command": "uvx", "args": ["--from", "git+https://github.com/macsymwang/hello-mcp-server.git", "hello-mcp-server"], "env": {}, "transport": { "type": "stdio" } } } }

The server can also be started manually for testing:

When run manually, the server will wait for JSON-RPC messages on stdin. You can test it by sending MCP protocol messages, but it's typically used through MCP clients.

Greets someone with a personalized message.

- name(optional): Name of the person to greet (default: "World")

Returns information about the MCP server.

- message(required): The message to echo back

Analyzes text and provides word/character statistics.

This MCP server uses thestdio transport protocol, which means:

- Input: The server reads JSON-RPC messages from standard input (stdin)
- Output: The server writes JSON-RPC responses to standard output (stdout)
- Logging: Error messages and logs are written to standard error (stderr)

This is the standard protocol for MCP servers and ensures compatibility with all MCP clients.

The server automatically configures itself for stdio transport when started. No additional configuration is needed for the transport layer.

For advanced FastMCP configuration options, refer to the FastMCP documentation.

hello-mcp-server/ ├── hello_mcp_server/ │ ├── __init__.py │ └── server.py ├── pyproject.toml └── README.md

- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request

This project is open source. Please check the license file for details.

For issues and questions, please open an issue on the project repository.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent

MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

Local stdio MCP server that lets AI coding agents read and maintain structured architecture, rules, and decisions directly from your repository.

The MCP server for Bitrix24 provides AI assistants with structured access to the Bitrix24 API. It delivers up-to-date method descriptions, parameters, and valid values, allowing assistants to work with precise data instead of guesswork. This reduces code errors and accelerates Bitrix24 integration development.

Official Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.

Remote, no-auth MCP server providing AI-powered codebase context and answers

Extentos is a multi-vendor development platform for adding smart-glasses capabilities to existing iOS and Android apps. The simplest analogy is Stripe for smart glasses

An MCP server tailored for React Native–first development using Gluestack UI

Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.