v0.0.2
📦 Installation
Prérequis
Installer Bun (requis)
curl -fsSL https://bun.sh/install | bash
Installer les composants
1. CLI Rust
cargo install mcp-log-agent
2. Serveur MCP
bun install -g mcp-logs
🚀 Utilisation
Étape 1 : Démarrer le serveur
mcp-logs
Étape 2 : Capturer les logs
Syntaxe générale
mcp-log-agent run --project
Exemples
mcp-log-agent run --project frontend bun dev
mcp-log-agent run --project backend npm start
mcp-log-agent run --project api cargo run
mcp-log-agent run --project ml python train.py
Étape 3 : Analyser dans OpenCode/Claude
Configuration OpenCode (~/.config/opencode/opencode.json) :
{
mcp: {
mcp-logs: {
type: local,
enabled: true,
command: ["mcp-logs"]
}
}
}