一个简单的AI记录和查找工作日志的MCP工具
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add agent-lynricsy --env AGENT_LOG_DIR='<AGENT_LOG_DIR>' -- npx -y mcp-agentlogs@latest~/.codex/config.toml
[mcp_servers.agent-lynricsy]
command = "npx"
args = ["-y", "mcp-agentlogs@latest"]
env = { AGENT_LOG_DIR = "<AGENT_LOG_DIR>" }
# codex mcp add agent-lynricsy --env AGENT_LOG_DIR='<AGENT_LOG_DIR>' -- npx -y mcp-agentlogs@latest~/.cursor/mcp.json
{
"mcpServers": {
"agent-lynricsy": {
"command": "npx",
"args": [
"-y",
"mcp-agentlogs@latest"
],
"env": {
"AGENT_LOG_DIR": "<AGENT_LOG_DIR>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"agent-lynricsy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-agentlogs@latest"
],
"env": {
"AGENT_LOG_DIR": "<AGENT_LOG_DIR>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agent-lynricsy": {
"command": "npx",
"args": [
"-y",
"mcp-agentlogs@latest"
],
"env": {
"AGENT_LOG_DIR": "<AGENT_LOG_DIR>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agent-lynricsy": {
"command": "npx",
"args": [
"-y",
"mcp-agentlogs@latest"
],
"env": {
"AGENT_LOG_DIR": "<AGENT_LOG_DIR>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"agent-lynricsy": {
"command": "npx",
"args": [
"-y",
"mcp-agentlogs@latest"
],
"env": {
"AGENT_LOG_DIR": "<AGENT_LOG_DIR>"
}
}
}
}Environment variables
AGENT_LOG_DIR
Replace the placeholders with your own credentials and keep them out of version control.