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 分