io.github.daedalus/mcp-epochs

السجل الرسمي أخرى

MCP tool that provides current Unix timestamp

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package mcp-epochs
Claude Code
claude mcp add mcp-epochs -- uvx mcp-epochs==0.1.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "mcp-epochs": {
            "command": "uvx",
            "args": [
                "mcp-epochs==0.1.0"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. mcp-epochs
  2. Install
  3. Usage
  4. MCP Configuration
  5. Development
  6. API

mcp-epochs

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

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

Install

pip install mcp-epochs

Usage

mcp-epochs

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

MCP Configuration

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

Development

git clone https://github.com/daedalus/mcp-epochs.git
cd mcp-epochs
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy 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.

الأسئلة الشائعة

ما هو io.github.daedalus/mcp-epochs؟

MCP tool that provides current Unix timestamp

كيف أثبّت io.github.daedalus/mcp-epochs؟

يعمل على جهازك. في Claude Code: claude mcp add mcp-epochs -- uvx mcp-epochs==0.1.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.daedalus/mcp-epochs إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.daedalus/mcp-epochs مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.daedalus/mcp-epochs؟

ينشره daedalus. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.