Real-time date and time access for AI assistants via Model Context Protocol (MCP)
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add currentdt -- npx -y @strix-ai/currentdt-mcp~/.codex/config.toml
[mcp_servers.currentdt]
command = "npx"
args = ["-y", "@strix-ai/currentdt-mcp"]
# codex mcp add currentdt -- npx -y @strix-ai/currentdt-mcp~/.cursor/mcp.json
{
"mcpServers": {
"currentdt": {
"command": "npx",
"args": [
"-y",
"@strix-ai/currentdt-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"currentdt": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@strix-ai/currentdt-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"currentdt": {
"command": "npx",
"args": [
"-y",
"@strix-ai/currentdt-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"currentdt": {
"command": "npx",
"args": [
"-y",
"@strix-ai/currentdt-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"currentdt": {
"command": "npx",
"args": [
"-y",
"@strix-ai/currentdt-mcp"
]
}
}
}