Skip to main content
Glama
Haimantika

Quick Demo MCP Server

by Haimantika

Quick Demo MCP Server

A simple Model Context Protocol (MCP) server demonstrating tools and resources.

Features

  • Tool: get_server_time - Returns the current server time

  • Resource: demo://info - Provides information about the server

Related MCP server: Echo MCP Server

Testing

Run the test script to verify all functionality:

node test.js

This will test:

  • Server initialization

  • Tool listing

  • Resource listing

  • Tool execution

  • Resource reading

Method 2: Use in Cursor

  1. Make sure your ~/.cursor/mcp.json includes:

{
  "mcpServers": {
    "quick-demo": {
      "command": "node",
      "args": ["/Users/hmitra/Desktop/mcp/index.js"]
    }
  }
}
  1. Restart Cursor

  2. The MCP server tools and resources will be available in your Cursor chat

Method 3: Manual Testing

Use the shell script for manual testing:

./test-mcp.sh | node index.js | jq

Files

  • index.js - Main MCP server implementation

  • test.js - Automated test script

  • test-mcp.sh - Manual test helper script

  • package.json - Node.js dependencies

Requirements

  • Node.js v18 or higher

  • @modelcontextprotocol/sdk package (already installed)

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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/Haimantika/mcp-basic'

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