MCP.so
ログイン

MCP Time Service

@GregBaugues

基本情報

カテゴリ

生産性

トランスポート

stdio

作者

GregBaugues

MCP Time Service について

MCP Server for the Current Date and Time

MCP Time Service の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-time-gregbaugues": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

MCP Time Service のツール

3

Returns the current time in the specified timezone

Returns the current date in the specified timezone

Returns the current date and time in the specified timezone

概要

What is MCP Time Service?

The MCP Time Service is a FastMCP server that provides current time, date, and datetime information across various timezones. It is designed for AI agents or applications needing time data via the Model Context Protocol.

How to use MCP Time Service?

Install dependencies with pip install -r requirements.txt, then run python server.py. The server starts on http://127.0.0.1:8000. It can be invoked via the three exposed tools: current_time, current_date, and current_datetime, each accepting an optional timezone parameter.

Key features of MCP Time Service

  • Three dedicated tools: current_time, current_date, current_datetime
  • Supports an optional timezone parameter (default: America/New_York)
  • Built with FastMCP for easy integration
  • Ready for deployment on Render via included render.yaml
  • Simple local development setup with pip

Use cases of MCP Time Service

  • An AI assistant querying the current time in a user’s timezone
  • Scheduling applications that need date/time data in different regions
  • Automated workflows that require accurate datetime information
  • Prototyping chat agents with time-aware capabilities

よくある質問

1

What timezones can I use with the tools?

The timezone parameter accepts any valid timezone string. The default is `America/New_York`.

2

How do I run the server locally?

First install dependencies: `pip install -r requirements.txt`. Then run: `python server.py`.

3

What transport or authentication does the server use?

The README does not specify transport or authentication. FastMCP typically uses HTTP; no auth details are provided.

4

Can I deploy this service in production?

Yes, the repository includes a `render.yaml` configuration for easy deployment on Render.

5

What are the runtime dependencies?

Python and the packages listed in `requirements.txt` (not enumerated in the README) are required.

コメント

「生産性」の他のコンテンツ