Skip to main content
Glama
FullPokerFace

simple-mcp-server

Simple MCP Server

A Model Context Protocol (MCP) server implementation with SQLite database logging and web dashboard.

Features

  • Math Tools: Add, subtract, multiply numbers

  • API Tools: Fetch data from external APIs (JSONPlaceholder)

  • Database Tools: View usage statistics and history

  • Web Dashboard: Monitor tool usage at localhost:8000

  • SQLite Logging: Automatic logging of all tool usage with execution times

Related MCP server: DB & Calculator MCP Server

Deployment

  1. Push to GitHub

  2. Connect to Vercel

  3. Deploy automatically

Local Development

# Install dependencies
npm install

# Run all services (MCP server, Inspector, Web dashboard)
npm run dev

# Run individual services
npm run inspector  # MCP Inspector
npm run web       # Web dashboard only
npm start         # MCP server only

Usage

Claude Desktop Configuration

Local Usage:

{
  "mcpServers": {
    "simple-mcp-server": {
      "command": "node",
      "args": ["/absolute/path/to/index.js"]
    }
  }
}

Vercel Usage:

{
  "mcpServers": {
    "simple-mcp-server": {
      "command": "curl",
      "args": [
        "-X", "POST",
        "-H", "Content-Type: application/json",
        "-d", "@-",
        "https://your-app.vercel.app/api/mcp"
      ]
    }
  }
}

Available Tools

  • add - Add two numbers

  • subtract - Subtract two numbers

  • multiply - Multiply two numbers

  • get_posts - Fetch posts from JSONPlaceholder API

  • get_tool_usage_stats - View usage statistics

  • get_tool_usage_history - View recent usage history

Web Dashboard

Access at https://your-app.vercel.app/ to view:

  • Usage statistics

  • Recent tool usage history

  • Real-time monitoring

Project Structure

├── api/                  # Vercel API routes
│   ├── mcp.js           # MCP server endpoint
│   └── web/             # Web dashboard APIs
├── mcp/                 # MCP implementation
│   ├── tools/           # Tool implementations
│   ├── database/        # Database logic
│   └── resources/       # MCP resources
├── public/              # Web dashboard
└── index.js            # Local MCP server

Development

  • Node.js: 18.x or higher

  • Database: SQLite (auto-created)

  • Framework: MCP TypeScript SDK

Scripts

  • npm run dev - All services with auto-restart

  • npm run vercel-dev - Vercel development server

  • npm run deploy - Deploy to Vercel

  • npm run inspector - MCP Inspector only

  • npm run web - Web dashboard only

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.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    A lightweight, modular API service that provides useful tools like weather, date/time, calculator, search, email, and task management through a RESTful interface, designed for integration with AI agents and automated workflows.
    Last updated
    5
    1
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server providing tools for SQLite database operations (query, add, update, delete users) and mathematical calculations including basic arithmetic, expression evaluation, and statistical analysis.
    Last updated
    1
  • A
    license
    -
    quality
    D
    maintenance
    A basic implementation of a Model Context Protocol server that demonstrates core functionality with simple math tools (add, subtract) and greeting resources for AI assistants like Claude.
    Last updated
    GPL 3.0
  • F
    license
    -
    quality
    D
    maintenance
    A basic MCP server example that provides simple arithmetic tools (addition and subtraction) and personalized greeting resources. Serves as a foundation for learning MCP server implementation and development.
    Last updated

View all related MCP servers

Related MCP Connectors

  • A paid remote MCP for AI SDK benchmark dashboard, built to return verdicts, receipts, usage logs, an

  • A paid remote MCP for AI SDK eval dashboard, built to return verdicts, receipts, usage logs, and aud

  • 500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

View all MCP Connectors

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/FullPokerFace/simple-mcp-server'

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