ShipBoss MCP server with parcel & freight endpoints
Project description
ShipBoss MCP Server
An MCP server that provides shipping and logistics capabilities through AI conversations. Connect to FedEx, UPS, and DHL to get rates, create labels, track packages, and manage freight shipments.
🔑 Important: You'll need a ShipBoss API token to use this server. Get one from your ShipBoss Admin → API Integrations.
🚀 Quick Setup (5 Minutes)
Prerequisites
- Python 3.9+ installed
- ShipBoss account with API token (get one in the admin section at ship.shipboss.io)
Step-by-Step Installation
Step 1: Get Your ShipBoss API Token 🔑 This is required for the server to communicate with ShipBoss APIs.
- Go to ShipBoss and log in
- Navigate to your Admin section → API Integrations
- Generate a new API token and copy it
- Keep this token secure - you'll need it in the next step
Step 2: Create a Virtual Environment 🐍 Using a virtual environment is required to avoid dependency conflicts with your system Python installation.
# Create a virtual environment
python -m venv shipboss_env
# Activate it
# Windows:
shipboss_env\Scripts\activate
# macOS/Linux:
source shipboss_env/bin/activate
# Install the package
pip install shipboss-mcp-server
⚠️ Important: Do NOT install directly with pip install shipboss-mcp-server without a virtual environment. This can cause conflicts with your system Python packages.
Step 3: Configure API Token 🔑 The server needs your API token to authenticate with ShipBoss. Choose one of these methods:
Option A: .env File (Simplest - Automatic) 📁
# Create environment file in your working directory (where you'll run your MCP client)
echo "SHIPBOSS_API_TOKEN=your_api_token_here" > .env
# Or use the provided template
cp example.env .env # Then edit .env with your actual token
Option B: Command-Line Arguments
Add your token directly in the MCP configuration:
{
"mcpServers": {
"shipboss-mcp": {
"command": "shipboss-mcp-server",
"args": ["--api-token", "your_api_token_here"]
}
}
}
Option C: Environment Variable
{
"mcpServers": {
"shipboss-mcp": {
"command": "shipboss-mcp-server",
"env": {
"SHIPBOSS_API_TOKEN": "your_api_token_here"
}
}
}
}
Step 4: Test Your Setup 🧪 Make sure your virtual environment is activated, then restart your MCP client and try these commands:
- "Get shipping rates from New York to Los Angeles for a 2lb package"
- "Create a FedEx Ground label from 123 Main St, New York, NY to 456 Oak Ave, Los Angeles, CA"
Quick verification: Before restarting your MCP client, test the server directly:
# Make sure your virtual environment is activated first
# Windows: shipboss_env\Scripts\activate
# macOS/Linux: source shipboss_env/bin/activate
# Test with your API token
shipboss-mcp-server --api-token your_actual_token_here
# Should start without "API token required" error
Available Tools
- ping - Health check
- get_parcel_rates - Get parcel shipping rates
- create_parcel_label - Create parcel shipping labels with direct download URLs
- track_parcel - Track parcel shipments
- create_pickup - Schedule carrier pickups
- cancel_pickup - Cancel scheduled pickups
- get_freight_rates - Get freight shipping quotes
- track_freight - Track freight shipments
Troubleshooting
Common Issues:
-
"shipboss-mcp-server command not found" ❌: Make sure your virtual environment is activated before running the command.
- Solution: Activate your virtual environment first:
# Windows: shipboss_env\Scripts\activate # macOS/Linux: source shipboss_env/bin/activate
- Solution: Activate your virtual environment first:
-
"API token required" error 🔐: Make sure you have your API token configured using one of these methods:
- Easiest: Create a
.envfile withSHIPBOSS_API_TOKEN=your_token(automatically loaded) - Add
--api-token your_tokento the args in your MCP config - Set
SHIPBOSS_API_TOKENin the env section of your MCP config - Verify your token: Make sure it's from ShipBoss API Integrations
- Easiest: Create a
-
".env file not found": The
.envfile should be in your current working directory when running theshipboss-mcp-servercommand.- Check if the file exists:
ls -la .env - Verify the token format:
cat .env(should showSHIPBOSS_API_TOKEN=your_token_here)
- Check if the file exists:
-
"Unexpected token" errors: Make sure the package is properly installed with
pip install shipboss-mcp-server. -
Command not found: Ensure the package is installed and the
shipboss-mcp-servercommand is available in your PATH. -
Permission errors: The installed package should have proper permissions. Try running with
python -m shipboss_mcp_serverif the command fails.
Debug Mode:
Run the server directly to test:
# Using the installed command:
shipboss-mcp-server --api-token your_token
# Or using python module:
python -m shipboss_mcp_server --api-token your_token
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shipboss_mcp_server-4.0.9.tar.gz.
File metadata
- Download URL: shipboss_mcp_server-4.0.9.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
710897a1e6466fe3a5548090b998cbf10253f545b62c29932149948d1103759d
|
|
| MD5 |
dd7132477a0e8dfbde7eb70db9ae2193
|
|
| BLAKE2b-256 |
150c66b02d4cc9d14df21fbd0ff43b79e4246e3ad95f4490123be61301c1ff0a
|
File details
Details for the file shipboss_mcp_server-4.0.9-py3-none-any.whl.
File metadata
- Download URL: shipboss_mcp_server-4.0.9-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc6b01016cda9254c613ac47506192a8f48b7e0417ce214dcd900849e9629059
|
|
| MD5 |
74222b10067065c0090875d5c904b68b
|
|
| BLAKE2b-256 |
c7ecbdbbf09880c98a092003b0bba254c1ef319bf7514134640daa224f5ff908
|