MCP Current Datetime Server
@ks217
关于 MCP Current Datetime Server
Simple MCP server to return current datetime
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-current-datetime": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Current Datetime Server?
It is an MCP (Model Context Protocol) server that provides the current datetime in ISO 8601 format via a single tool called get-current-datetime. It supports both stdio and HTTP transport layers, making it suitable for integration with MCP-compatible clients like Claude Desktop and VS Code Copilot.
How to use MCP Current Datetime Server?
Install Node.js v16 or higher, then run npm install and npm run build to build the project. Start the server with node build/index.js for default stdio mode, or add --http to run an HTTP server on port 3000 that accepts JSON‑RPC 2.0 POST requests at / or /mcp. Integration examples for Claude Desktop and VS Code Copilot are provided in the README.
Key features of MCP Current Datetime Server
- Tool
get-current-datetimereturns the current datetime as an ISO 8601 string. - Supports stdio (default) and HTTP transport modes.
- HTTP mode includes CORS enabled for all origins.
- No parameters required for the tool.
- Easy to install and run with Node.js.
Use cases of MCP Current Datetime Server
- Providing a reliable current timestamp to AI agents during conversations.
- Logging or recording events with precise ISO 8601 timestamps.
- Integrating with MCP-compatible apps such as Claude Desktop or VS Code Copilot.
- Testing MCP server implementations with a simple, stateless tool.
FAQ from MCP Current Datetime Server
What are the prerequisites to run this server?
Node.js version 16 or higher and npm are required.
How do I run the server in HTTP mode?
Use the --http flag: node build/index.js --http. The server listens on port 3000 by default.
Can I use this server with Claude Desktop?
Yes. Add a stdio configuration in your Claude Desktop settings using the full path to the built index.js file (see the integration example in the README).
Does the server require any authentication or API key?
No. The tool requires no parameters and the server has no built-in authentication.
What transport modes are available?
Two modes are available: stdio (default) and HTTP. In HTTP mode, the server accepts JSON‑RPC 2.0 POST requests on / or /mcp.
其他 分类下的更多 MCP 服务器
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
ACI: Open-Source Infra to Power Unified MCP Servers
aipotheosis-labsACI.dev is the open source tool-calling platform that hooks up 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unified MCP server. The birthplace of VibeOps.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
评论