Skip to main content

AI-powered MCP server for Chef to Ansible migration and Ansible upgrade planning

Project description

SousChef: Chef-to-Ansible Migration & Ansible Upgrade Planning

Transform Chef automation to Ansible and plan Ansible version upgrades. Works with any AI assistant via MCP (Model Context Protocol)—Claude, GPT-4, GitHub Copilot, Red Hat AI, local models, and more.

Quick Facts: MIT License | Python 3.10+ | 43 MCP Tools | 91% Test Coverage

GitHub release Python Version License: MIT Test Coverage

What It Does

Chef-to-Ansible Migration — Convert cookbooks, recipes, custom resources, data bags, and Habitat plans to Ansible playbooks, roles, and containers. Supports infrastructure, applications, and day-2 operations.

Ansible Upgrade Planning — Assess compatibility, plan version upgrades, validate collections, identify breaking changes, and generate testing strategies.

Installation & Setup

# Install from PyPI
pip install mcp-souschef

# Configure your MCP client (Claude Desktop example)
cp config/claude-desktop.json ~/Library/Application\ Support/Claude/claude_desktop_config.json

# Restart your AI assistant and start using
# Ask: "What Chef migration tools are available?"

Other MCP clients: See config/CONFIGURATION.md for VS Code Copilot, custom setups, and Docker deployment.

Key Features

  • 43 MCP tools for Chef migration and Ansible upgrades
  • Web UI with interactive migration planner and visualisation
  • CLI for automation and CI/CD integration
  • Production-ready with 91% test coverage and comprehensive validation
  • Model-agnostic — works with any AI assistant supporting MCP

Common Use Cases

Chef Migration:

  • Convert cookbooks to Ansible playbooks and roles
  • Migrate Chef Habitat apps to Docker containers
  • Transform data bags to Ansible Vault
  • Generate AWX/AAP job templates and workflows
  • Convert InSpec tests to Ansible validation tasks

Ansible Upgrades:

  • Assess Python and Ansible version compatibility
  • Plan upgrades with breaking change analysis
  • Validate collection compatibility
  • Generate testing strategies
  • Track end-of-life dates

Both Infrastructure & Applications:

  • Infrastructure provisioning and configuration
  • Application deployment automation
  • Day-2 operations (backups, scaling, updates)
  • CI/CD pipeline migration
  • Multi-cloud automation

Command-Line Examples

# Chef migration
souschef-cli recipe /path/to/recipe.rb
souschef-cli template /path/to/template.erb
souschef-cli convert package nginx --action install

# Ansible upgrades
souschef ansible assess --environment-path /path/to/ansible
souschef ansible plan --current 2.9 --target 2.17
souschef ansible validate-collections --requirements-file requirements.yml

# Web UI
souschef ui  # Launch interactive dashboard

Documentation

Start Here

Reference

Recent Updates

v5.1.4 — Modular architecture, 91% test coverage, full type safety, production-ready

v5.0.0 — Complete Ansible upgrade planning with version matrices and EOL tracking

v2.0.0 — Intermediate Representation (IR) layer for multi-tool support

Contributing

# Development setup
git clone https://github.com/kpeacocke/souschef.git && cd souschef
poetry install
poetry run pytest           # Run tests
poetry run ruff check .     # Lint
poetry run mypy souschef    # Type check

Standards: Zero warnings policy, type hints required, 90%+ test coverage, Australian English spelling.

See CONTRIBUTING.md for complete guidelines.

Support

License

MIT License — see LICENSE for details.

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

mcp_souschef-6.0.0.tar.gz (386.6 kB view details)

Uploaded Source

Built Distribution

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

mcp_souschef-6.0.0-py3-none-any.whl (428.1 kB view details)

Uploaded Python 3

File details

Details for the file mcp_souschef-6.0.0.tar.gz.

File metadata

  • Download URL: mcp_souschef-6.0.0.tar.gz
  • Upload date:
  • Size: 386.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_souschef-6.0.0.tar.gz
Algorithm Hash digest
SHA256 107f85cdd7aefd81d55c03a96022566be795aa24e7b6e58c8e034fef9bdbdb69
MD5 79f1aaff79213233e4a349658a52790f
BLAKE2b-256 f28db0028d3deb597bc1b23238ec76fecf227dd32c57a5f8796bb5d5f9dba87c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_souschef-6.0.0.tar.gz:

Publisher: release.yml on kpeacocke/souschef

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_souschef-6.0.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_souschef-6.0.0-py3-none-any.whl
  • Upload date:
  • Size: 428.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_souschef-6.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd2406097254d5e2911c36a96ad3cc4e8f67db50f34dc7734ef8987d3c7551e0
MD5 77b40873fe1be54a0c75ba94e2f675f9
BLAKE2b-256 82a66e8170513043d9baa6d138019b0b30bc1358f3ee3fe28d2733c66e1017c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_souschef-6.0.0-py3-none-any.whl:

Publisher: release.yml on kpeacocke/souschef

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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