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_API_URL": "https://cargoeffe.com",
        "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_API_URL": "https://cargoeffe.com",
        "CARGOEFFE_MCP_TOKEN": "cfm_YOUR_TOKEN_HERE"
      }
    }
  }
}

Debug Mode

Set CARGOEFFE_MCP_DEBUG=true for verbose logging:

{
  "env": {
    "CARGOEFFE_API_URL": "https://cargoeffe.com",
    "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

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.1.0.tar.gz (9.7 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.1.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cargoeffe_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 9.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 9eaa50714f11155f20100acdd3f6300e660effc7dc576bf37d5ddde874d85fc1
MD5 33262e8c9c43ac11e73ba3397b95e76c
BLAKE2b-256 53f335ca05a6444b0cdcf33f7a658504b03870fc03df17ff5a6830a55cee5a2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cargoeffe_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1658dd6f206dd1144397f0df6c3968d58c7de130dc6809c3193e3408a708a2cf
MD5 f165c1cfbcacc277242e4e6b656d3f43
BLAKE2b-256 67eebca3281d822c7fcf361447830f2cc4917730a7089cc4dd5e3b91e93dac18

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