Time MCP Server

io.github.domdomegg由 GitHub 账号 domdomegg 发布v1.1.1更新于 Oct 24, 2026

Get the current UTC time in RFC 3339 format.

已验证STDIO仅桌面开发者工具

概览

AI 生成的概览

一个极简的本地 MCP 服务器,为助手提供一个工具,用于获取 RFC 3339 格式的当前 UTC 日期和时间。

可以做什么
以 RFC 3339 时间戳形式获取当前 UTC 日期和时间,让助手能回答当前时间相关问题或生成格式正确的时间戳。
适用场景
适合需要助手报告当前 UTC 时间或生成 RFC 3339 时间戳、而不依赖自身时钟或猜测的场景。它是单一用途的小工具,只有在这类需求下才值得安装。
运行要求
作为本地进程运行,从 PyPI 包 time-mcp-pypi 安装。需要 Python 3.8 或更高版本,以及兼容 MCP 的客户端(如 Claude Desktop),并在配置中启动 time-mcp-pypi 命令。未声明账号、API 密钥或环境变量。
安装前请注意
该服务器只读取系统时钟,不提供写入、发送或删除操作。它仅返回 UTC 时间,不处理本地时区。README 还记录了推送标签并发布到 PyPI 的发布流程,那属于维护者工具,助手不会使用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Time MCP Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Time MCP Server

A minimal Model Context Protocol (MCP) server built with Python.

The server provides one simple tool:

  • get_current_utc_time - Gets the current UTC date and time in RFC 3339 format

Quick start

Prerequisites:

  • Python 3.8 or later
  • Claude Desktop or another MCP-compatible client

Install and run with:

bash
pip install time-mcp-pypi  # or from a local clone: pip install -e .time-mcp-pypi

Configuration

To use this server with Claude Desktop, add the following to your MCP configuration file:

Windows

Add to %APPDATA%\Claude\claude_desktop_config.json:

json
{  "mcpServers": {    "time-server": {      "command": "time-mcp-pypi"    }  }}

macOS

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "time-server": {      "command": "time-mcp-pypi"    }  }}

Usage

Once configured, you can use the time tool in Claude Desktop:

  • "What's the current UTC time?"
  • "Give me an RFC 3339 timestamp"

Publishing New Versions

To publish a new version of the package:

  1. Update the version in pyproject.toml, and commit as Release x.y.z

  2. Tag the release with a version number prefixed with 'v':

    bash
    git tag v1.0.1
  3. Push the tag to trigger the publishing pipeline:

    bash
    git push --tags

Then the CI/CD pipeline will automatically publish the package.

CI/CD

The project includes GitHub Actions workflows for:

  • Build & Test - Builds and tests the Python package
  • Publish - Automatically publishes to PyPI and creates GitHub releases on version tags

来源:README.md,提交 88f3c70

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分