Skip to main content

MCP server for CargoEffe — AI-powered cargo loading plan design

Project description

CargoEffe MCP Server

Connect AI assistants (Claude Desktop, Claude Code, Cursor) to CargoEffe for automated cargo loading plan design.

Installation

# Option A: pip install
pip install cargoeffe-mcp

# Option B: uvx (no pre-install needed)
uvx cargoeffe-mcp

# Option C: from source
git clone https://github.com/dollob/cargoeffe-mcp.git
cd cargoeffe-mcp && pip install -e .

Setup

  1. Get your MCP token from CargoEffe Settings → MCP Tokens
  2. Configure your AI client:

Claude Code

{
  "mcpServers": {
    "cargoeffe": {
      "command": "uvx",
      "args": ["cargoeffe-mcp"],
      "env": {
        "CARGOEFFE_MCP_TOKEN": "cfm_YOUR_TOKEN_HERE"
      }
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "cargoeffe": {
      "command": "python",
      "args": ["-m", "cargoeffe_mcp.server"],
      "env": {
        "CARGOEFFE_MCP_TOKEN": "cfm_YOUR_TOKEN_HERE"
      }
    }
  }
}

Debug Mode

Set CARGOEFFE_MCP_DEBUG=true for verbose logging:

{
  "env": {
    "CARGOEFFE_MCP_TOKEN": "cfm_...",
    "CARGOEFFE_MCP_DEBUG": "true"
  }
}

Debug logs appear on stderr (visible in Claude Code's MCP debug panel).

Available Tools

Tool Description
get_context Read CargoEffe system context (coordinates, rules) — free
get_axle_templates List axle templates with weight limits — free
plan_create Create a new load plan
plan_load Load plan by ID
plan_list List your plans
plan_save Save plan to backend
container_list List available containers
container_set Set container for a plan
cargo_add Add cargo items (bulk)
cargo_list List cargo items
cargo_update Update cargo properties
cargo_remove Delete cargo + placements
group_create Create loading group
group_list List loading groups
group_update Rename/reorder groups
save_placements Save AI-calculated placements
weight_check Get weight distribution analysis
pallet_pack_list List available pallet packs
pallet_pack_create Build a pallet pack from boxes
pallet_pack_place Place a pallet pack into a plan

Security

This package is a thin protocol bridge — it contains NO business logic, database queries, or API secrets. All sensitive operations happen on the CargoEffe backend.

License

MIT

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

cargoeffe_mcp-0.2.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

cargoeffe_mcp-0.2.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file cargoeffe_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: cargoeffe_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for cargoeffe_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c97d6a7113706793e0ad3390e307a50787c57556652e8b749c7be574e2bd4005
MD5 44358179643276a47b5408d56d1a43af
BLAKE2b-256 6e06122633ac5914d150fcfa2abbb6962b9f9546f012bb47c3962926ae5afdfe

See more details on using hashes here.

File details

Details for the file cargoeffe_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cargoeffe_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for cargoeffe_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d34232f8a3e1d4a0c2a3c95c11611884d489b93933e5799dc7db6a7d6efbdeaf
MD5 972ed225fe0a93a098573550acffd90b
BLAKE2b-256 f221e6589b89d388936d1f5ca29fe04b000d05cf5812ee0020118fa3e56eafef

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