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://api.dollob.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://api.dollob.com",
        "CARGOEFFE_MCP_TOKEN": "cfm_YOUR_TOKEN_HERE"
      }
    }
  }
}

Debug Mode

Set CARGOEFFE_MCP_DEBUG=true for verbose logging:

{
  "env": {
    "CARGOEFFE_API_URL": "https://api.dollob.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.2.tar.gz (9.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.1.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cargoeffe_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 9.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.1.2.tar.gz
Algorithm Hash digest
SHA256 c44ae1d471ea2a5044b32bf80190923149ca384257d471f7a28ce3d88505d8be
MD5 603450a207848d9e8a4d3ca535442fea
BLAKE2b-256 c9b1de15bc35587b2468b063a9da1468b69f8262c48b03fdb04eb41e8917be29

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cargoeffe_mcp-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4204dc8495adade37c909b4c47a2244c0f3d537fce51ffbd4f4897b5892b55f1
MD5 2add1610b4debb7ab12edf389863df7a
BLAKE2b-256 e56746e5a6f623f75aac897adde3a112da662e7e76df358739cdfc8619486ec1

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