时间操作的 MCP 服务器准备 MCP 服务器应用1. 安装依赖包2. 构建项目MCP 检查器检查器 - 模型上下文协议获取当前时间 (getCurrentDateTime)获取持续时间 (getDurationDateTime)VS Code 配置在项目中管理.vscode/mcp.json个人全局管理~/Library/Application Support/Code/User/settings.json示例提示英文日文上一篇mcp下一篇docs-mcp-serverNextdocs-mcp-serverAuthor:waytomcpURL:https://www.waytomcp.com/article/t-shiratori/time-tools-mcp-serverCopyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!