Add MCP (Model Context Protocol) integration to Wheels CLI#1735
Merged
Add MCP (Model Context Protocol) integration to Wheels CLI#1735
Conversation
Add retry mechanism for CFPM package installation in GitHub Actions workflow. The cfpm install command occasionally fails with exit code 1, particularly for the SQL Server package on Adobe ColdFusion 2023. Changes: - Add 3 retry attempts for cfpm package installation - Wait 10 seconds between retries - Attempt to restart ColdFusion service before retrying - Add better logging to track installation attempts This should resolve the transient failures seen in the CI pipeline.
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
This PR implements comprehensive MCP (Model Context Protocol) support for AI-powered development tools through new CLI commands. MCP enables AI assistants like Claude Code, Cursor, and Continue to better understand and work with Wheels projects.
New CLI Commands
wheels mcp setup- Installs and configures MCP server with automatic port detectionwheels mcp status- Shows current MCP installation and configuration statuswheels mcp test- Validates MCP setup and connectionwheels mcp update- Updates MCP server to latest versionwheels mcp remove- Cleanly removes MCP integrationKey Features
Technical Details
Files Added
cli/src/models/MCPService.cfc- Core service for MCP managementcli/src/commands/wheels/mcp/setup.cfc- Setup commandcli/src/commands/wheels/mcp/status.cfc- Status commandcli/src/commands/wheels/mcp/test.cfc- Test commandcli/src/commands/wheels/mcp/update.cfc- Update commandcli/src/commands/wheels/mcp/remove.cfc- Remove commandtemplates/base/src/app/snippets/mcp-server.js.txt- MCP server templateArchitecture Decisions
app/snippetsfollowing Wheels generator conventionsTesting
Tested with Docker test environment on port 60006 at templates/base/src:
Impact
This integration enables AI assistants to:
Breaking Changes
None - this is a new feature that doesn't affect existing functionality.