Skip to main content

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

Project description

CloudSense Customer Compass

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

Prerequisites

  • Python 3.10+
  • Salesforce CLI (sf) — install
  • GitHub CLI (gh) or SSH keys for GitHub access (needed for repo cloning steps)

Installation

# Via uvx (recommended — no install needed, always runs latest)
uvx cloudsense-customer-compass

# Or install globally via pip
pip install cloudsense-customer-compass

MCP Configuration

Cursor IDE

Go to Settings → MCP Servers and add:

{
  "mcpServers": {
    "CloudSense Customer Compass": {
      "command": "uvx",
      "args": ["cloudsense-customer-compass"]
    }
  }
}

Claude Desktop

Add to your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "CloudSense Customer Compass": {
      "command": "uvx",
      "args": ["cloudsense-customer-compass"]
    }
  }
}

Claude CLI

claude mcp add "CloudSense Customer Compass" -- uvx cloudsense-customer-compass

Available Tools

Tool Description
connect_lma Authorize the CloudSense LMA Salesforce org. First tool to call for any customer inquiry.
find_customer Search for a customer by name using SOSL fuzzy search with SOQL LIKE fallback. Returns matches for confirmation, then saves the selected customer to state.
get_customer_licenses Retrieve all production and sandbox licenses for a customer. Returns license summary, org summary, and recommended sandbox. Writes to customer/licenses.json.

More tools are being added incrementally. See the Workflow section below for the planned pipeline.

Workflow

connect_lma              → Authorize the CloudSense LMA org
find_customer            → Search for a customer by name
get_customer_licenses    → License and org summary
get_installed_packages   → Per-package baseline (coming soon)
list_metadata            → Discover metadata members (coming soon)
retrieve_metadata        → Pull metadata in chunks (coming soon)
get_repo_mapping         → Map packages to GitHub repos (coming soon)
clone_package_repos      → Clone repos for version diff (coming soon)

Workspace Output Structure

Tools write their output to a structured workspace directory:

workspace/
├── assessment.json              # active customer pointer + connection info
├── customers/                   # per-customer data (never overwritten on switch)
│   ├── nbn-co/
│   │   ├── licenses.json
│   │   └── metadata/
│   ├── telstra/
│   │   └── licenses.json
│   └── ...
├── packages/                    # per-package artifacts
│   ├── <namespace>/
│   │   ├── package-info.json
│   │   ├── version-map.json
│   │   ├── repo-from/
│   │   └── repo-to/
│   └── _skipped/
├── reference-docs/
└── cloudsense-meta/

Safety

  • Read-only against customer Salesforce orgs — never deploys, inserts, updates, or deletes
  • Whitelist-enforced — only approved sf CLI subcommands can execute
  • LMA queries scoped to Account and sfLma__* objects only
  • Customer org queries limited to CloudSense configuration objects
  • All sf CLI commands are logged for auditability

Development

python3 -m pip install -e ".[dev]"

# Run server locally
python3 -m cloudsense_customer_compass.server

# Run tests
pytest

# Build & publish
python3 -m build
uv publish dist/*

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_customer_compass-0.3.2.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

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

cloudsense_customer_compass-0.3.2-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file cloudsense_customer_compass-0.3.2.tar.gz.

File metadata

File hashes

Hashes for cloudsense_customer_compass-0.3.2.tar.gz
Algorithm Hash digest
SHA256 9828c34d481e9d6f323c2c1edd682e2118b39c1362b6f7d5d18c8e52b7a7f6af
MD5 fa4929946fec8381e12538431b047eca
BLAKE2b-256 073d74144df67ae81d1f8dd9937d0db3764ccf38a7097a814fdb5d3b68c5c082

See more details on using hashes here.

File details

Details for the file cloudsense_customer_compass-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudsense_customer_compass-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b19a15bc2766b7cd1be9b5675d4784aa8e0e3d749ec2d4a0d957715c1efbf725
MD5 6eca06e59657b7be4f1389228e08ca6e
BLAKE2b-256 a04357901d7787bd2ebd50c4dc361c9ff3965d522d4e13f93ea79d3bc8dd383c

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