
braffolk/mcp-summarization-functions
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
braffolk/mcp-summarization-functions は [https://github.com/braffolk/mcp-summarization-functions.] からインポートされた MCP サーバーの候補です
概要
braffolk/mcp-summarization-functions は [https://github.com/braffolk/mcp-summarization-functions.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
モデルコンテキストプロトコルのインテリジェントなテキストの要約
特徴 • AIエージェントの統合 • インストール • 使用方法
お問い合わせ
概要
クリーンで拡張可能なアーキテクチャにより、インテリジェントな要約機能を提供する強力なMCPサーバー。 現代のTypeScriptで構築され、AIワークフローとのシームレスな統合のために設計されています。
インストール
##Smitheryでインストールする
スミソリを介して自動的にクロードデスクトップ用のスマライゼーション機能をインストールするには:
##AIエージェントの統合
このMCPサーバは、主に、Roo ClineやClineなどのAIエージェントのパフォーマンスと信頼性を高めるために開発されました。 AIエージェントの運用において重要な課題を解決:コンテキストウィンドウ管理。
コンテキストウィンドウの最適化
AIエージェントは、コンテキストウィンドウが大きな出力で急速に満たされる状況に頻繁に遭遇します。
- コマンド実行結果
- ファイルコンテンツの読み込み
- ディレクトリリスト
- API 応答
- エラーメッセージとスタックトレース
このサーバーは、次の方法で効率的なコンテキスト使用を維持するのに役立ちます。
- コンテンツの代わりに簡潔で関連性の高い要約を提供する
- 必要なとき参照のための完全な内容を貯えること
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Overview
A powerful MCP server that provides intelligent summarization capabilities through a clean, extensible architecture. Built with modern TypeScript and designed for seamless integration with AI workflows.
Installation
Installing via Smithery
To install Summarization Functions for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-summarization-functions --client claude
npm i mcp-summarization-functions
AI Agent Integration
This MCP server was primarily developed to enhance the performance and reliability of AI agents like Roo Cline and Cline. It addresses a critical challenge in AI agent operations: context window management.
Context Window Optimization
AI agents frequently encounter situations where their context window gets rapidly filled with large outputs from:
- Command execution results
- File content readings
- Directory listings
- API responses
- Error messages and stack traces
This server helps maintain efficient context usage by:
- Providing concise, relevant summaries instead of full content
- Storing full content for reference when needed
- Offering focused analysis based on specific needs (security, API surface, etc.)
- Supporting multiple output formats for optimal context utilization
Benefits for AI Agents
- Reduced Failure Rates: By preventing context window overflow
- Improved Response Quality: Through focused, relevant summaries
- Enhanced Efficiency: By maintaining important context while reducing noise
- Better Resource Management: Through intelligent content caching and retrieval
- Flexible Integration: Supporting multiple AI providers and configuration options
Recommended AI Agent Prompt
When integrating with AI agents, include the following in your agent’s instructions:
# CONTEXT MANAGEMENT
You have access to summarization functions through the MCP server. These functions are NOT optional - you MUST use them for ALL potentially large outputs to prevent context overflow:
MANDATORY SUMMARIZATION:
- You MUST ALWAYS use summarization functions for:
- ANY first time file reading operations (unless you are CERTAIN its small and you are going to edit it)
- ALL command execution outputs
- EVERY directory analysis
- ANY API responses or error logs
- ANY output that could be large
インストール
npx -y @smithery/cli install mcp-summarization-functions --client claude設定
{
"mcpServers": {
"MUST_USE_summarization": {
"command": "node",
"args": ["path/to/summarization-functions/build/index.js"],
"env": {
"PROVIDER": "ANTHROPIC",
"API_KEY": "your-api-key",
"MODEL_ID": "claude-3-5-sonnet-20241022",
"MCP_WORKING_DIR": "default_working_directory"
}
}
}
}