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.
「その他」の他のコンテンツ
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Awesome Mlops
visengerA curated list of references for MLOps
コメント