Skip to main content
Glama
dannyhertz

Simple MCP Server

by dannyhertz

Simple MCP Server

A Python-based Model Context Protocol (MCP) server that demonstrates tools, resources, and prompts.

Features

  • Tools: Math calculations, time retrieval, echo messages

  • Resources: Server config, sample data access

  • Prompts: Greeting and analysis prompt templates

Related MCP server: Basic MCP Server

Local Setup

  1. Install dependencies:

pip install -r requirements.txt
  1. Run the server:

python server.py
  1. Test with MCP Inspector:

pip install mcp
mcp dev server.py

Deploying to Render

  1. Create a new Web Service on Render

  2. Connect your GitHub repository

  3. Set the following:

    • Build Command: pip install -r requirements.txt

    • Start Command: python server.py

    • Environment: Python 3

Using with Claude Desktop (Remote)

After deploying to Render, add to your Claude Desktop config:

{
  "mcpServers": {
    "simple-server": {
      "uri": "https://your-app-name.onrender.com"
    }
  }
}

Available Tools

  • calculate: Perform math operations (add, subtract, multiply, divide)

  • get_time: Get current time

  • echo: Echo back messages

Available Resources

  • config://server: Get server configuration

  • data://sample/{item_id}: Get sample data by ID (1, 2, or 3)

  • image://sample/chart: PNG image of a sine wave chart

  • csv://sample/data: Sample sales data in CSV format

Note: Resources are defined but may have issues with FastMCP v2.8.0. The image resource returns bytes and CSV returns text with proper MIME types set.

F
license - not found
-
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
    -
    quality
    D
    maintenance
    A demonstration MCP server showcasing tools (calculator, file operations, weather, timestamp), resources (server config, system info, documentation), and reusable prompt templates for code review, documentation, and debugging.
    Last updated
    Apache 2.0
  • A
    license
    -
    quality
    D
    maintenance
    A minimal template MCP server demonstrating basic tools, resources, and prompts functionality. Includes example implementations like a hello tool, history resource, and greet prompt for learning MCP development.
    Last updated
    4
    ISC
  • F
    license
    -
    quality
    B
    maintenance
    A simple MCP server demonstrating resources, tools, and prompts, including a greeting resource, an addition tool, and a calculation prompt.
    Last updated

View all related MCP servers

Related MCP Connectors

  • Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.

  • MCP server exposing the Backtest360 engine API as tools for AI agents.

  • Pocket Agent (aipocketagent.com) MCP server — read tools for personas, apps, and product info.

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

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