Improve LLM/IDE integration with clearer tool selection guidance#32
Merged
oscarvalenzuelab merged 2 commits intomainfrom Nov 19, 2025
Merged
Improve LLM/IDE integration with clearer tool selection guidance#32oscarvalenzuelab merged 2 commits intomainfrom
oscarvalenzuelab merged 2 commits intomainfrom
Conversation
Enhanced MCP server instructions to improve recognition and tool selection in LLM-powered IDEs (Cursor, Windsurf, etc): - Added explicit trigger keywords for compliance-related queries - Added decision tree for tool selection at top of instructions - Condensed main instructions from ~384 to ~175 lines for better processing - Removed verbose examples (kept references to detailed docstrings) - Improved clarity on when to use each tool This addresses issues where LLMs attempt to install external tools instead of recognizing built-in mcp-semclone capabilities for compliance tasks. Changes: - Trigger keywords: "compliance", "SBOM", "license scanning", etc. - Decision tree: Clear IF-THEN logic for tool selection - Condensed sections: License interpretation, binary scanning, workflows - Maintained critical information: Anti-patterns, key workflows, constraints
- Updated version in pyproject.toml - Updated __version__ in mcp_semclone/__init__.py - Added CHANGELOG entry for v1.6.2 with LLM/IDE integration improvements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enhances MCP server instructions to improve recognition and usability in LLM-powered development environments (Cursor, Windsurf, etc.).
Problem
When users asked LLM-powered IDEs to "do compliance for this project", the LLM would often:
Root causes:
Solution
1. Added Trigger Keywords (Lines 40-48)
Explicit keywords that help LLMs recognize when to use this server:
2. Added Decision Tree (Lines 50-76)
Clear IF-THEN logic for tool selection:
3. Condensed Instructions (384 → 175 lines)
Reduced instruction block by ~55% while maintaining critical information:
Changes
Testing
To verify improvements, test with LLM-powered IDEs:
Expected: LLM immediately recognizes these as mcp-semclone tasks instead of attempting external tool installation.
Impact