DateTime PDT
by meshe-dev
DateTime PDT - Remote MCP Server
A remote Model Context Protocol (MCP) server that returns the current date and time in Pacific Daylight Time (PDT). No authentication required.
Tool
get_current_datetime_pdt
Returns the current date and time formatted as DayOfWeek Month DD, YYYY HH:MMam/pm PDT.
Example response:
Saturday April 04, 2026 06:11pm PDTQuick Start
Docker Compose (recommended)
docker compose up -dDocker
docker build -t datetime-mcp .
docker run -d -p 8222:8000 datetime-mcpLocal
pip install -r requirements.txt
python server.pyThe server starts on http://localhost:8222 using the Streamable HTTP transport.
MCP Client Configuration
Claude Code
Add to your Claude Code MCP settings:
{
"mcpServers": {
"datetime-pdt": {
"type": "streamable-http",
"url": "http://localhost:8222/mcp"
}
}
}Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"datetime-pdt": {
"type": "streamable-http",
"url": "http://localhost:8222/mcp"
}
}
}Cursor / Windsurf / Other MCP Clients
Point your client to the Streamable HTTP endpoint:
http://localhost:8222/mcpTesting
Verify the server is running with curl:
# Initialize a session
curl -X POST http://localhost:8222/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'Project Structure
.
├── server.py # MCP server with the datetime tool
├── requirements.txt # Python dependencies
├── Dockerfile # Container image definition
├── docker-compose.yml # Docker Compose configuration
└── README.mdTech Stack
Python 3.13
MCP Python SDK (FastMCP)
Uvicorn (ASGI server)
Docker
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/meshe-dev/date-time-remote-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server