Skip to main content
Glama
Hello MCP Server

Hello MCP Server

by mfang0126

Hello MCP Server

Simple MCP (Model Context Protocol) server with AWS Lambda deployment.

πŸš€ Quick Start

Local Development

npm install
npm run dev

Connect to Claude Desktop by adding to config:

{
  "mcpServers": {
    "hello-mcp": {
      "command": "npx",
      "args": ["tsx", "/Users/mingfang/Code/hello-mcp/index.ts"]
    }
  }
}

Deploy to AWS Lambda

# Build and deploy
npm run deploy

# Or step by step
npm run build:lambda
sam deploy --guided

First time setup:

  • Stack Name: hello-mcp-stack

  • Region: ap-southeast-2

  • Bearer Token: mcp-secret-token-12345

  • Confirm all: Y

Related MCP server: Hello World MCP Server

πŸ”‘ Authentication

Bearer token: mcp-secret-token-12345

Change it:

sam deploy --parameter-overrides BearerToken="your-new-token"

πŸ§ͺ Test Deployment

# Health check
curl https://gjt4ggcz76.execute-api.ap-southeast-2.amazonaws.com/health

# List available tools
curl -H "Authorization: Bearer mcp-secret-token-12345" \
  https://gjt4ggcz76.execute-api.ap-southeast-2.amazonaws.com/mcp

# Call sayHello tool
curl -X POST \
  -H "Authorization: Bearer mcp-secret-token-12345" \
  -H "Content-Type: application/json" \
  -d '{"tool": "sayHello", "params": {"name": "World"}}' \
  https://gjt4ggcz76.execute-api.ap-southeast-2.amazonaws.com/mcp

πŸ”Œ Connect Claude to Lambda

Edit: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "hello-mcp-lambda": {
      "url": "https://gjt4ggcz76.execute-api.ap-southeast-2.amazonaws.com/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer mcp-secret-token-12345"
      }
    }
  }
}

Important: Use "transport": "http" for Lambda.

πŸ› οΈ Tools

  • sayHello - Greet someone by name

πŸ“‹ Deployment Record

Stack Name: hello-mcp-stack Region: ap-southeast-2 Deployed: 2025-10-17 Status: βœ… Tested and working

Outputs:

  • API URL: https://gjt4ggcz76.execute-api.ap-southeast-2.amazonaws.com/

  • Lambda ARN: arn:aws:lambda:ap-southeast-2:670326884047:function:hello-mcp-server

  • Authentication: Bearer token with 'http' transport

Test Results:

# βœ… Health check working
# βœ… Tool listing: ["sayHello"]
# βœ… sayHello execution: "Hello, AWS Lambda! πŸ‘‹"

πŸ“ Project Structure

hello-mcp/
β”œβ”€β”€ index.ts          # Local development (stdio)
β”œβ”€β”€ lambda.ts         # AWS Lambda handler
β”œβ”€β”€ template.yaml     # AWS SAM template
β”œβ”€β”€ samconfig.toml    # SAM configuration
β”œβ”€β”€ package.json      # Dependencies
└── tsconfig.json     # TypeScript config

πŸ’° Cost

Lambda free tier: 1M requests/month Expected cost: $0-5/month

πŸ“š Learn More

Available Tools

1 tool
sayHelloA

Say hello to someone

Inputs: name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no risk of confusion between tools.

    Naming Consistency5/5

    With a single tool named 'sayHello', naming is trivially consistent.

    Tool Count5/5

    One tool is exactly right for a server whose sole purpose is greeting.

    Completeness5/5

    The server fully covers its intended purpose: saying hello.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      A simple demonstration MCP server that provides basic greeting functionality and server information. Enables users to generate hello messages and retrieve server details through tools and resources.
      -
    • -
      license
      C
      quality
      Not graded
      maintenance
      A simple boilerplate MCP server that provides a basic greeting tool for demonstration purposes. Serves as a starting template for developers to quickly create and deploy custom MCP servers.
      1
      10 npm
      -
    • F
      license
      C
      quality
      D
      maintenance
      A simple MCP server that provides a basic greeting tool for saying hello with customizable names. Serves as a boilerplate template for developers to quickly create and deploy new MCP servers.
      1
      -