Skip to content

Enhance MCP workflow and documentation#2070

Merged
cb-github-robot merged 3 commits intocloud-barista:mainfrom
seokho-son:main
Aug 3, 2025
Merged

Enhance MCP workflow and documentation#2070
cb-github-robot merged 3 commits intocloud-barista:mainfrom
seokho-son:main

Conversation

@seokho-son
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Seokho Son <shsongist@gmail.com>
Add smart output summarization to reduce token usage and improve performance:

Features:
• Configurable output summarization (enabled by default)
• Shows first and last N lines of long outputs with clear truncation indicators
• Character limit protection to prevent excessive token usage
• Preserves important context while reducing size
• Detailed metadata about summarization applied

Parameters:
• summarize_output: Enable/disable summarization (default: True)
• max_output_lines: Lines to show from start/end (default: 5)
• max_output_chars: Character limit per output (default: 1000)

Benefits:
• Reduces MCP client and LLM token burden
• Maintains readability with clear truncation indicators
• Provides size reduction statistics
• Preserves command execution context
• Option to get full output when needed

Example output includes summarization metadata showing original vs reduced size,
helping users understand the optimization applied.
Signed-off-by: Seokho Son <shsongist@gmail.com>
@seokho-son seokho-son requested a review from yunkon-kim as a code owner August 3, 2025 15:51
@seokho-son
Copy link
Copy Markdown
Member Author

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label Aug 3, 2025
@cb-github-robot cb-github-robot merged commit 5f1bf69 into cloud-barista:main Aug 3, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved This PR is approved and will be merged soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants