MCP server exposing the ATimeLogger REST API (activities, reports, types)
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add atimelogger --env ATL_TOKEN='<ATL_TOKEN>' -- npx -y atimelogger-mcp~/.codex/config.toml
[mcp_servers.atimelogger]
command = "npx"
args = ["-y", "atimelogger-mcp"]
env = { ATL_TOKEN = "<ATL_TOKEN>" }
# codex mcp add atimelogger --env ATL_TOKEN='<ATL_TOKEN>' -- npx -y atimelogger-mcp~/.cursor/mcp.json
{
"mcpServers": {
"atimelogger": {
"command": "npx",
"args": [
"-y",
"atimelogger-mcp"
],
"env": {
"ATL_TOKEN": "<ATL_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"atimelogger": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"atimelogger-mcp"
],
"env": {
"ATL_TOKEN": "<ATL_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"atimelogger": {
"command": "npx",
"args": [
"-y",
"atimelogger-mcp"
],
"env": {
"ATL_TOKEN": "<ATL_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"atimelogger": {
"command": "npx",
"args": [
"-y",
"atimelogger-mcp"
],
"env": {
"ATL_TOKEN": "<ATL_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"atimelogger": {
"command": "npx",
"args": [
"-y",
"atimelogger-mcp"
],
"env": {
"ATL_TOKEN": "<ATL_TOKEN>"
}
}
}
}需要的环境变量
ATL_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。