Quick Demo MCP Server logo

Quick Demo MCP Server

Haimantika/mcp-basic
0 starsUpdated 2025-12-21Community

Is this your server?

Add your score badge to your README and get your server in front of 45k+ builders a month.

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

A simple MCP server that provides a tool to get the current server time and a resource with demo information, useful for testing MCP functionality.

README.md

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

Testing

Method 1: Automated Test Script (Recommended)

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
  1. 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)

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Other servers.