Skip to main content
Glama
tanteng

MCP Demo

by tanteng

MCP Demo

A simple MCP (Model Context Protocol) server with a web-based configuration interface.

Features

  • MCP server with 5 tools: greet, echo, get_config, update_config, list_items

  • Web-based config UI at http://localhost:3001

  • Persistent configuration storage

Related MCP server: Hello World MCP Server

Quick Start

# Install dependencies
npm install

# Start the web config server
npm run start:config

# In another terminal, start the MCP server (for testing)
npm run start

Configuration

Open http://localhost:3001 in your browser to configure:

  • Enable MCP Server: Toggle MCP functionality

  • Greeting Message: Customize the greet message (use {name} placeholder)

  • Max Results: Limit list_items output

MCP Tools

Tool

Description

greet

Get a personalized greeting

echo

Echo back input text

get_config

View current configuration

update_config

Update configuration via MCP

list_items

List demo items

Usage with OpenClaw

Add to your config:

{
  "mcpServers": {
    "mcp-demo": {
      "command": "node",
      "args": ["/path/to/mcp-demo/src/index.js"]
    }
  }
}

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
    3
    11 npm
    66
    Apache 2.0
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    A simple demonstration server for the Model Context Protocol that provides tools for creating and managing greetings with support for multiple transport methods (stdio, HTTP, SSE).
    -
  • -
    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
    6 npm
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A minimal demonstration server showcasing MCP protocol capabilities including tools, resources, and prompts with basic examples like hello world functionality.
    1 npm
    MIT