hello-mcp

hello-mcp

A simple MCP server that provides a greeting tool using FastMCP, with support for both local and containerized deployment.

Category
Visit Server

README

Hello MCP Server

A simple Model Context Protocol (MCP) server that provides a greeting tool.

Features

  • Simple MCP server using FastMCP
  • Dockerized with Podman support
  • Uses uv as the Python package manager

Prerequisites

  • Python 3.12+
  • uv - Python package manager
  • Podman (optional, for containerized deployment)

Local Development

Install Dependencies

uv sync

Run the Server

uv run mcp_server.py

The server will start and wait for MCP protocol messages via stdio.

Docker/Podman Deployment

Build the Image

podman build -t hello-mcp .

Run the Container

Interactive mode (recommended for MCP servers):

podman run -it --name hello-mcp hello-mcp

Using Docker Compose:

podman-compose up

Note: MCP servers communicate via stdio, so they must run in interactive mode (-it). Running in detached mode (-d) will cause the container to exit immediately.

Connecting to Claude Desktop

To use this MCP server with Claude Desktop, you need to add it to your Claude Desktop configuration.

Step 1: Locate Claude Desktop Config File

The configuration file location depends on your operating system:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Step 2: Add Server Configuration

Open (or create) the claude_desktop_config.json file and add the following configuration:

Option A: Local Development (using uv)

{
  "mcpServers": {
    "hello-mcp": {
      "command": "uv",
      "args": ["run", "mcp_server.py"],
      "cwd": "/absolute/path/to/hello-mcp"
    }
  }
}

Replace /absolute/path/to/hello-mcp with the absolute path to this project directory.

Option B: Using Podman Container

{
  "mcpServers": {
    "hello-mcp": {
      "command": "podman",
      "args": [
        "run",
        "-i",
        "--rm",
        "hello-mcp"
      ]
    }
  }
}

Note: Make sure the container image is built before using this configuration.

Step 3: Restart Claude Desktop

After updating the configuration file, restart Claude Desktop to apply the changes.

Step 4: Verify Connection

Once connected, you can ask Claude to use the hello tool. For example:

  • "Use the hello tool from the hello-mcp server"
  • "Call the hello function"

Example Configuration File

See claude-desktop-config.json.example for a complete example configuration.

Project Structure

hello-mcp/
├── mcp_server.py          # Main MCP server implementation
├── pyproject.toml         # Project dependencies and metadata
├── Dockerfile             # Container image definition
├── docker-compose.yml     # Docker Compose configuration
├── .dockerignore          # Files to exclude from Docker build
└── README.md             # This file

Tools

hello

Returns a greeting message.

Example:

@server.tool()
def hello():
    """Returns a greeting"""
    return "Hello from MCP 👋"

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured