mcp-hello-test

mcp-hello-test

A minimal MCP server with greet, add, and whoami tools, designed to validate deployment pipelines and environment variable injection.

Category
Visit Server

README

mcp-hello-test

Minimal MCP server built to be a deploy target for OneClickMCP. It exists to exercise the deploy pipeline — clone, docker build, run, inject env, expose a port — not to do anything useful.

Why it satisfies the deploy wizard

  • Dockerfile at the repo root (the wizard blocks deploys without one)
  • .env.example at the root, so the wizard prefills the env-var form
  • listens on 0.0.0.0:$PORT, default 3000 — matches the wizard's default internal port

Transports

Both are served, so it works whichever one the console picks:

Transport Endpoint
SSE (legacy) GET /sse, then POST /messages?sessionId=...
Streamable HTTP POST /mcp (stateless)

Also: GET /health → {"status":"ok"}, and GET / returns the endpoint map.

Tools

Tool Args Returns
greet name? Hello, <name or $GREETING_NAME>!
add a, b their sum
whoami — node version, port, uptime, and whether DEMO_API_KEY was injected

whoami is the one that matters for testing: it confirms secrets actually reached the container without printing the secret itself.

Env

Var Purpose
GREETING_NAME fallback name for greet
DEMO_API_KEY dummy secret — whoami reports whether it arrived
PORT listen port, default 3000

Run locally

npm install
GREETING_NAME=you DEMO_API_KEY=sk-test node server.js
docker build -t mcp-hello-test .
docker run --rm -p 3000:3000 -e DEMO_API_KEY=sk-test mcp-hello-test

Smoke test:

curl -s localhost:3000/health

curl -s -X POST localhost:3000/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

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