Skip to content

Add Perfecto MCP version info and GitHub update-check tools#37

Merged
diego-ferrand merged 1 commit into
developmentfrom
UPDATE_NOTIFICATION
Jul 17, 2026
Merged

Add Perfecto MCP version info and GitHub update-check tools#37
diego-ferrand merged 1 commit into
developmentfrom
UPDATE_NOTIFICATION

Conversation

@diego-ferrand

@diego-ferrand diego-ferrand commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces a new tools_manager module to support version and update checks for the Perfecto MCP, integrates it into the main server, and adds comprehensive tests. The most important changes are:

New Tools Manager Functionality:

  • Added tools/tools_manager.py implementing the ToolsManager class and a new MCP tool, providing version and check_updates actions to report the current MCP version, runtime, and platform info, and to check for updates via the GitHub releases API. This includes robust error handling for network failures and user guidance for manual/automatic updates.

Integration with Server:

  • Registered the new tools_manager in the server by importing and invoking its register function in server.py, ensuring the new tool is available in the MCP toolset. [1] [2]

Configuration Updates:

  • Updated all GitHub-related URLs in config/perfecto.py to point to the new PerfectoCode organization, added the GITHUB_API_LATEST_RELEASE constant for update checks, and updated the support message accordingly.

Testing:

  • Added a new test suite tests/test_tools_manager.py with extensive tests for version reporting, platform normalization, asset matching, update checking (including when up-to-date, when an update is available, and various error conditions).

@diego-ferrand
diego-ferrand merged commit cc814cd into development Jul 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants