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.3.0.tar.gz (12.2 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.3.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cargoeffe_mcp-0.3.0.tar.gz
  • Upload date:
  • Size: 12.2 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.3.0.tar.gz
Algorithm Hash digest
SHA256 c1f392842072883fe290bab2fbe195c1a0de94538ca0ec4f13b49509bfc3eefe
MD5 7d6f4fc6b50d1462d0be518dc3f9c0a1
BLAKE2b-256 a660cd81a6f582d10a17d3e804d100d4c0c29840ce6542c12f172f8d6262cf1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cargoeffe_mcp-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 13.4 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54dcab2527b462d55a83a43e5e5cdca4d998782e12128337d557869fcf965d28
MD5 3ad4de0a310f56c25307ccdbddb2937c
BLAKE2b-256 627423cb2ce850f76b9ea3b9fe0c64136d1581ee58a7a1a62d446abaf1aeb9cd

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