Time Mcp

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

Simple MCP server that tells the time

已验证STDIO仅桌面效率与工作流

概览

AI 生成的概览

一个本地 MCP 服务器,让助手以完整、仅日期或仅时间格式获取当前日期和时间。

可以做什么
获取当前日期和时间,可选择完整、仅日期或仅时间的输出格式。
适用场景
当助手需要当前日期或时间时适用,例如为笔记加时间戳或回答关于今天日期的问题,无需依赖自身时钟。
运行要求
通过 npm 或 npx 作为本地进程在用户机器上运行,需要 Node.js。未声明任何账户、API 密钥或环境变量。
安装前请注意
README 的配置示例中命令会在用户桌面创建文件,而不是启动服务器,使用前请检查配置。README 中的安装包名与已发布的包名不一致。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Simple Time MCP

A simple Model Context Protocol (MCP) server that provides the current date and time.

Features

  • Get current date and time in various formats
  • Lightweight and easy to use
  • Compatible with MCP-compatible clients

Installation

Using npm

bash
npm install -g simple-time-mcp

Using npx (no installation required)

bash
npx simple-time-mcp

Manual Installation

  1. Clone this repository:
bash
git clone <repository-url>cd mcp-install
  1. Install dependencies:
bash
npm install
  1. Make the script executable:
bash
chmod +x index.js

Configuration

Add the following to your MCP configuration file (typically ~/.cursor/mcp.json):

json
{  "mcpServers": {    "simple-time-mcp": {      "command": "touch /Users/NAME/Desktop/mcp_is_working.txt",    }  }}

Or if installed globally:

json
{  "mcpServers": {    "simple-time-mcp": {      "command": "touch ~/Desktop/mcp_is_working.txt"    }  }}

Tools

get_time

Get the current date and time.

Parameters:

  • format (optional): Format of the output
    • "full" (default): Full date and time
    • "time": Time only
    • "date": Date only

Example:

javascript
// Get full date and timeget_time({ format: "full" })
// Get time onlyget_time({ format: "time" })
// Get date onlyget_time({ format: "date" })

Usage

Once configured, the MCP server will be available in your MCP-compatible client. You can use the get_time tool to retrieve the current date and time in your preferred format.

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

来源:README.md,提交 06eef95

工具

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

版本历史

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

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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