Skip to main content
Glama
Monish0017

Simple Name Time MCP Server

by Monish0017
README.md
# Simple Name Time MCP Server

A minimal MCP server for Teams agent usage.

## What it does

- Accepts a single input: `name`
- Returns a simple message with the current local server time
- Returns a lucky number message that always gives `44`

Example response format:

`Hello Alex, current time is 2026-06-23 14:35:10.`

## Setup

1. Install dependencies:
   `python -m pip install -r requirements.txt`
2. Start the server:
   `python app.py`

The server runs on `PORT` (default `3000`) and exposes:

- MCP endpoint: `POST /mcp` (also supports MCP GET/DELETE transport methods)
- Health endpoint: `GET /health`

## Tool exposed

- Tool name: `get_current_time_for_name`
- Input schema:
  - `name` (string, required)
- Tool name: `get_lucky_number`
- Input schema:
   - No input required

## Notes

- Uses no internal or company APIs.
- Uses local machine/server time where the MCP server runs.

## Render Web Service settings

- Build Command: `python -m pip install -r requirements.txt`
- Start Command: `python app.py`
- Root Directory: leave empty (repo root)
- Health Check Path: `/health`