AgentStack
MCP verified MIT Self-run

Logpilot

mcp-jellydn-logpilot · by jellydn

AI-Native tmux Log Copilot for Support Incident Tracking

No reviews yet
0 installs
8 views
0.0% view→install

Install

$ agentstack add mcp-jellydn-logpilot

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Logpilot? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Welcome to LogPilot 🚀

[](https://github.com/jellydn/logpilot/releases) [](LICENSE) [](https://rust-lang.org) [](https://github.com/jellydn/logpilot/actions)

> AI-Native tmux Log Copilot for Support Incident Tracking

LogPilot captures live tmux pane output, performs real-time log analysis (anomaly detection, deduplication, clustering), and exposes structured incident context via MCP (Model Context Protocol) to Claude Code/Codex for AI-assisted incident response.

🏠 Homepage

Demo

Pre-requirements

💻 Stack

📝 Project Summary

  • [src/analyzer](src/analyzer): Anomaly detection and pattern analysis.
  • [src/buffer](src/buffer): Log storage with ring buffer and SQLite persistence.
  • [src/capture](src/capture): tmux integration for streaming log capture.
  • [src/cli](src/cli): CLI commands (watch, summarize, ask, status, mcp-server).
  • [src/mcp](src/mcp): MCP protocol implementation for AI context bridge.
  • [src/models](src/models): Data structures (LogEntry, Session, Pattern, Alert, etc.).
  • [src/pipeline](src/pipeline): Log processing (parse, dedup, cluster).
  • [src/observability.rs](src/observability.rs): Structured logging and metrics.
  • [tests/](tests/): Integration and unit tests.
  • [completions/](completions/): Shell completions for bash, zsh, fish.

Install

cargo install logpilot

Or install directly from GitHub:

cargo install --git https://github.com/jellydn/logpilot --locked

Or build from source:

git clone https://github.com/jellydn/logpilot
cd logpilot
cargo build --release

Usage

1. Watch a tmux session

# Watch an existing tmux session
logpilot watch my-session

# Watch with custom buffer duration
logpilot watch my-session --buffer 10

# Watch specific pane
logpilot watch my-session --pane my-session:1.0

2. Get a summary

# Summary of last 10 minutes
logpilot summarize --last 10m

# JSON output for scripting
logpilot summarize --last 5m --format json

3. Ask AI-assisted questions

# Format query for Claude/Codex
logpilot ask "Why are checkout requests failing?"

# Include raw logs in context
logpilot ask "What changed in the last hour?" --include-logs

4. Check status

logpilot status

Configuration

Create ~/.config/logpilot/config.toml (see [config.example.toml](config.example.toml)):

[buffer]
duration_minutes = 30
max_memory_mb = 100
persist_severity = ["ERROR", "FATAL"]

[alerts]
recurring_error_threshold = 5
error_rate_threshold_per_minute = 10

[mcp]
enabled = true
transport = "stdio"

MCP Server Mode

LogPilot exposes an MCP server for Claude Code integration:

logpilot mcp-server --verbose

Add to your Claude Code configuration (~/.claude/config.json):

{
  "mcp_servers": [
    {
      "name": "logpilot",
      "command": "logpilot",
      "args": ["mcp-server"],
      "env": {}
    }
  ]
}

Run tests

cargo test

Run with logging

RUST_LOG=info cargo run -- watch my-session

Shell Completions

# Bash
source completions/logpilot.bash

# Zsh
source completions/logpilot.zsh

# Fish
source completions/logpilot.fish

Pre-commit

This project uses pre-commit to enforce code quality. To install hooks:

pre-commit install

📄 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

Author

Star History 🌟

[](https://star-history.com/#jellydn/logpilot)

Show your support

Give a ⭐️ if this project helped you!

Contributors ✨

Thanks goes to these wonderful people:

This project follows the all-contributors specification. Contributions of any kind welcome!

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.