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

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

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tanteng/mcp-demo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server