Mcp Epochs

io.github.daedalus由 GitHub 帳號 daedalus 發布v0.1.0更新於 Oct 24, 2026

MCP tool that provides current Unix timestamp

已驗證STDIO僅桌面開發者工具

概覽

AI 產生的概覽

一個本機 MCP 伺服器,為助理提供目前的 Unix 時間戳,包含秒、毫秒與 ISO 8601 UTC 格式。

可以做什麼
此伺服器只提供一個工具 get_unix_time,會傳回目前時間的字典。結果包含以秒為單位的 unix_time、以毫秒為單位的 unix_time_ms,以及 ISO 8601 格式的目前 UTC 時間 iso8601。它透過 STDIO 傳輸在本機執行。
適用情境
適合助理需要準確的目前時間或時間戳,而非依賴自身對日期的判斷時使用,例如計算時長、格式化時間戳,或為輸出標註目前 UTC 時間。
執行需求
需要 Python 環境並從 PyPI 安裝 mcp-epochs 套件,以本機 STDIO 程序在桌面用戶端中執行。未宣告任何帳號、API 金鑰、環境變數或標頭。
安裝前請注意
唯讀:僅回報目前時間,不會寫入、傳送或刪除資料。傳回的是 UTC 時間,本機時區轉換需由呼叫方自行處理。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Epochs,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mcp-epochs

mcp-name: io.github.daedalus/mcp-epochs

MCP tool that provides current Unix timestamp (epochs) to LLMs.

[PyPI] [Python] [Coverage] [Ruff]

Install

bash
pip install mcp-epochs

Usage

bash
mcp-epochs

This runs the MCP server with STDIO transport. The server provides a get_unix_time tool.

MCP Configuration

json
{  "mcpServers": {    "mcp-epochs": {      "command": "mcp-epochs"    }  }}

Development

bash
git clone https://github.com/daedalus/mcp-epochs.gitcd mcp-epochspip install -e ".[test]"
# run testspytest
# formatruff format src/ tests/
# lintruff check src/ tests/
# type checkmypy src/

API

get_unix_time()

Returns the current Unix timestamp as a dictionary with the following keys:

  • unix_time (int): Current Unix timestamp in seconds since epoch.
  • unix_time_ms (int): Current Unix timestamp in milliseconds since epoch.
  • iso8601 (str): Current UTC time in ISO 8601 format (e.g., "2026-03-26T21:30:00Z").

run_server()

Starts the MCP server using STDIO transport for local desktop MCP clients.

來源:README.md,提交 9b1b534

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分