Shell Sieve
БесплатноНе проверенAn MCP server that executes shell commands and intelligently compresses, filters, and extracts errors from verbose output to save AI agent context windows. It s
Описание
An MCP server that executes shell commands and intelligently compresses, filters, and extracts errors from verbose output to save AI agent context windows. It strips ANSI, collapses repetitive lines, and always preserves error information.
README
shell-sieve
An MCP server and CLI wrapper that executes shell commands and intelligently compresses, filters, and extracts errors from verbose output to save AI agent context windows.
PyPI version License: MIT MCP Server

🎯 Why?
AI coding agents frequently exhaust their context windows when running verbose commands like npm install or pytest, leading to hallucinations or dropped errors. Existing tools either blindly truncate output (losing the stack trace) or dump everything; Shell Sieve intelligently strips ANSI, collapses repetitive progress lines, and guarantees error extraction.
Target audience: AI agent developers, users of Claude Code/Cursor/Cline, and CLI power users who want clean, actionable command output without the noise.
✨ Features
- ✨ ANSI stripping and smart line collapsing (e.g., progress bars)
- ✨ Error-aware truncation (always keeps the last N lines and any detected stack traces/errors)
- ✨ Native MCP Server implementation for seamless integration with Cursor, Claude Desktop, and Cline
🚀 Quick Start
# Install
pip install shell-sieve
# Run
shell-sieve --help
📦 Installation
From Source
git clone https://github.com/YOUR_USERNAME/shell-sieve.git
cd shell-sieve
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest -v
🎬 Demo
The GIF above was recorded using Charm VHS:
vhs < demo.tape
📖 Usage
# Show help
shell-sieve --help
# Common usage examples
shell-sieve --example
🏗️ Architecture
graph LR
A[Input] --> B[Core Engine]
B --> C[Output]
B --> D[Plugins]
D --> E[Extensions]
🤝 Contributing
Contributions are welcome! Please:
- Fork the repo
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
MIT © 2026 — See LICENSE for details.
If this project helped you, please ⭐ star it!
Установить Shell Sieve в Claude Desktop, Claude Code, Cursor
unyly install shell-sieveСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add shell-sieve -- uvx --from git+https://github.com/yulinlina/shell-sieve shell-sieveПошаговые гайды: как установить Shell Sieve
FAQ
Shell Sieve MCP бесплатный?
Да, Shell Sieve MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Shell Sieve?
Нет, Shell Sieve работает без API-ключей и переменных окружения.
Shell Sieve — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Shell Sieve в Claude Desktop, Claude Code или Cursor?
Открой Shell Sieve на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Shell Sieve with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
