MCP时间服务器是一个强大的时间服务API,基于Express框架构建,旨在提供多种格式的当前时间信息。它支持ISO、Unix时间戳和人类可读格式,并且兼容MCP协议接口。该服务器还支持CORS跨域请求,确保在不同的客户端环境中都能顺利访问。此外,MCP时间服务器提供了Docker容器化部署方案,方便用户快速启动和管理服务。用户可以通过简单的API端点获取所需的时间格式,或通过MCP协议进行更复杂的时间数据交互。
Features
- 提供ISO、Unix时间戳、人类可读等多种时间格式
- 支持MCP协议接口
- 支持CORS跨域请求
- 提供Docker容器化部署方案
Usage with Different Platforms
docker_compose
bash
docker-compose up -d
dockerfile
bash
docker build -t mcp-time-server .
docker run -d -p 3000:3000 --name mcp-time-server mcp-time-server
local_development
bash
npm install
npm run dev
npm start
Related MCP Servers
View all os_automation servers →DesktopCommanderMCP
by wonderwhy-er
Desktop Commander MCP is a tool that allows users to search, update, manage files, and run terminal commands using AI, without incurring API token costs.
Daytona
by daytonaio
Daytona MCP Server allows AI agents to manage and interact with Daytona sandboxes, execute commands, perform file operations, and generate preview links for web applications.
mcp-server-and-gw
by boilingdata
The MCP Gateway, Server, and Client provide a bridge from stdio to HTTP SSE endpoints, facilitating communication between local and remote servers.
Cua Agent
by trycua
cua-mcp-server is a Model Context Protocol (MCP) server for the Computer-Use Agent (CUA), enabling integration with Claude Desktop and other MCP clients.
apple-mcp
by supermemoryai
This is a collection of Apple-native tools for the Model Context Protocol (MCP) that integrates with various Apple applications to automate tasks and manage communications.
mcp-datetime
by ZeparHyfar
A datetime formatting service implemented as an MCP server for the Claude Desktop Application.
fastapi_mcp
by tadata-org
FastAPI-MCP is a tool that allows you to expose your FastAPI endpoints as Model Context Protocol (MCP) tools with built-in authentication.