dotsagent.io
语言:简体中文
效率 · MCP Steering Group

配置 Time

返回当前时间,并使用 IANA 时区名称转换不同时区的时间。无需密钥或配置。

发布者
MCP Steering Group 官方
本地运行
uvx mcp-server-time
传输方式
stdio
身份验证
无。
可访问内容
只读。
许可证
MIT (existing) / Apache-2.0 (new contributions)
源码
github.com/modelcontextprotocol/servers/tree/main/src/time
状态
活跃

安装

此服务器会在你的本机上作为客户端的子进程运行。你需要安装其命令所用的运行时,例如 npx 需要 Node.js、uvx 需要 uv,或者使用 Docker;还需要设置 Environment 下列出的变量。

Claude Code

shell
claude mcp add --scope project time -- uvx mcp-server-time

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}

Codex

~/.codex/config.toml
[mcp_servers.time]
command = "uvx"
args = ["mcp-server-time"]

其他客户端的配置 →

效率 中的其他服务器

来源

  1. github.com/modelcontextprotocol/servers

为 AI agent 开发者提供的独立参考资料。与此处提及的任何厂商均无关联。

© 2026 DotsAgent · 事实核查日期:2026年10月1日