gobox-mcp
Allows managing Shopee orders, products, and reporting through the Gobox platform.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gobox-mcpList all Gobox warehouses"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
gobox-mcp
MCP server wrapping the Gobox Open API (dev-api.gobox.asia/open/api/*) for AI agents, Claude Desktop, and CLI automation.
Features
~40 tools covering orders, products, SKU quantities, warehouses, reports, shops, locations, consignments, Goship rates, webhooks
5 SKU quantity states: available, in_warehouse, keep_pick, wait_qc, wait_incoming (+ composite
sku_full_status)Dual transport: stdio (Claude Desktop local) or SSE (Docker shared for bot/team)
Auto token refresh with in-memory cache
Modular: each tool group in its own file under
tools/
Setup
1. Credentials
Contact Gobox admin for client_id + client_secret.
2. Install
cd gobox-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your credentials3. Run locally (stdio)
python gobox_mcp.py4. Run in Docker (SSE)
docker compose up -d
# Test: curl http://localhost:8000/sseConnect to Claude Desktop
Stdio mode (local)
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"gobox": {
"command": "/absolute/path/to/gobox-mcp/.venv/bin/python",
"args": ["/absolute/path/to/gobox-mcp/gobox_mcp.py"],
"env": {
"GOBOX_BASE_URL": "https://dev-api.gobox.asia",
"GOBOX_CLIENT_ID": "xxx",
"GOBOX_CLIENT_SECRET": "xxx"
}
}
}
}SSE mode (Docker)
{
"mcpServers": {
"gobox": {
"url": "http://localhost:8000/sse"
}
}
}Connect to Claude Code
claude mcp add gobox \
/absolute/path/.venv/bin/python \
/absolute/path/gobox_mcp.py \
-e GOBOX_BASE_URL=https://dev-api.gobox.asia \
-e GOBOX_CLIENT_ID=xxx \
-e GOBOX_CLIENT_SECRET=xxxEnvironment switching (dev/prod)
Set GOBOX_BASE_URL to switch:
Dev:
https://dev-api.gobox.asiaProd:
https://api.gobox.asia(verify actual prod URL)
Tool catalog
Module | Tools |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example AI queries
"List all Gobox warehouses" "Check stock for SKU ABC123" → calls
sku_full_status("ABC123")"Có bao nhiêu đơn Shopee chưa giao hôm nay?" "Báo cáo nhập kho tháng này"
Troubleshooting
OAuth fails: Verify GOBOX_GRANT_TYPE (default client_credentials). Contact admin if unsure.
FastMCP SSE DNS rebinding error: Add transport_security=TransportSecuritySettings(enable_dns_rebinding_protection=False) to mcp.run() call.
Token expired mid-call: Auto-refresh handles this. If persists, call gobox_auth.clear_cache().
Project structure
gobox-mcp/
├── gobox_mcp.py # Main entry
├── gobox_auth.py # OAuth token cache
├── gobox_client.py # HTTP helper
├── tools/
│ ├── orders_tools.py
│ ├── products_tools.py
│ ├── warehouses_tools.py
│ ├── reports_tools.py
│ ├── shops_tools.py
│ ├── locations_tools.py
│ ├── consignments_tools.py
│ ├── goship_tools.py
│ └── webhooks_tools.py
├── Dockerfile
├── docker-compose.yml
├── requirements.txt
├── .env.example
└── README.mdResources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Winter279/gobox-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server