Skip to main content
Glama

MCP Time Server

by WhenjaySun
test_server.py411 B
from server import mcp_server_time as get_current_time import json print("Testing get_current_time with default timezone (Asia/Shanghai):") result = get_current_time() print(result) print("\nTesting get_current_time with UTC:") result_utc = get_current_time("UTC") print(result_utc) print("\nTesting get_current_time with America/New_York:") result_ny = get_current_time("America/New_York") print(result_ny)

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

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