Skip to main content

MCP server for CloudSense package upgrade assessment, analysis, and impact verification.

Project description

CloudSense Upgrade Compass

MCP server for CloudSense package upgrade assessment, analysis, and impact verification.

What it does

Given a Salesforce org with CloudSense packages installed, this MCP server:

  1. Discovers installed packages and their versions
  2. Pulls customer metadata (Apex, LWC, Aura, objects, flows, etc.)
  3. Clones CloudSense package repos for from-version and to-version
  4. Runs package diff analysis (breaking changes, new features, bug fixes)
  5. Analyzes customer codebase impact (which customer files reference changed APIs)
  6. Verifies API compatibility (signature-level SAFE/BREAKING verdicts)
  7. Maps test coverage gaps (which impacted files lack test coverage)
  8. Generates a comprehensive upgrade report with phasing, effort, and risk

Prerequisites

  • Python 3.10+
  • Salesforce CLI (sf) installed
  • GitHub CLI (gh) installed or SSH keys configured

Installation

# Via uvx (recommended)
uvx cloudsense-upgrade-compass

# Or install locally for development
uv pip install -e ".[dev]"

Configuration

Cursor IDE

Go to Settings > MCP Servers and add:

{
  "mcpServers": {
    "cloudsense-upgrade-compass": {
      "command": "uvx",
      "args": ["cloudsense-upgrade-compass"]
    }
  }
}

Claude CLI (terminal)

claude mcp add cloudsense-upgrade-compass -- uvx cloudsense-upgrade-compass

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "cloudsense-upgrade-compass": {
      "command": "uvx",
      "args": ["cloudsense-upgrade-compass"]
    }
  }
}

Available Tools

Tool Description
init_assessment Initialize upgrade assessment project. Creates SFDX project, validates prerequisites (sf CLI, GitHub access), checks org authorization, detects production vs sandbox.
get_installed_packages Discover all installed packages in the org. Identifies CloudSense packages, flags cloud service dependencies (CSPOFA, cscfga, csslm), writes installed-packages.json.

Development

# Clone and install
git clone <repo-url>
cd cloudsense-upgrade-compass
uv venv
source .venv/bin/activate
uv pip install -e ".[dev]"

# Run tests
pytest

# Run server locally
python -m cloudsense_upgrade_compass.server

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudsense_upgrade_compass-0.3.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloudsense_upgrade_compass-0.3.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file cloudsense_upgrade_compass-0.3.0.tar.gz.

File metadata

File hashes

Hashes for cloudsense_upgrade_compass-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e298d719dcfcd50fcc56ff05e88e2476adf5cbf371924f68920f0ba00fdf281e
MD5 113bcb263001553434a8882dc45dcb02
BLAKE2b-256 a79eb079fb404b4f694250b18195d4bb09378aa940e26566a427653da7150d86

See more details on using hashes here.

File details

Details for the file cloudsense_upgrade_compass-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudsense_upgrade_compass-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 794dc27c30cae86e4b94095abb5949669cb2f9a4771fc2c5534d5fc43b0bae7f
MD5 21aa76ab09ba8122c1547c60201f20ea
BLAKE2b-256 7314ef92a2abd17fa67ff5527f2e297a47f3ac7c70cc77eb8810c2851bb94769

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page