Connect via AI

Any AI agent can connect to the API itself: it just needs the specification address or MCP server and your key. Below are what each form provides and ready instructions for ChatGPT, Claude, and code editors.

What Each Form Provides

AddressWhat is thisWhere to connect
/llms.txt Brief documentation index for models (in the address prefix language); full text in `\/llms-full.txt`. Any agent: provide the address in the request.
/openapi.json Full OpenAPI 3 specification in JSON, each operation has an `operationId`. Client generators, Postman, agents loading the specification.
/openapi-lite.json Compressed specification: only key operations and short descriptions. ChatGPT Custom GPT (Actions) and other tools with size limits.
/ai/tools.json Function definitions in OpenAI function calling format. Your code with OpenAI and compatible models.
/ai/tools.anthropic.json Tool definitions in Claude tools format. Your code with Claude API.
POST /mcp MCP server (Streamable HTTP, JSON-RPC 2.0): the agent sees tools itself and calls them with your key. Claude, Claude Code, Cursor, VS Code and other MCP clients.

Universal prompt

Copy the text and paste it into your AI agent. Do *not* insert the key directly into the chat: store it in the environment variable SHIPPICKUP_API_KEY.

Prompt
Connect the ShipPickup delivery service API.
Specification: https://api.shippickup.com/openapi.json (short version: https://api.shippickup.com/openapi-lite.json, model description: https://api.shippickup.com/llms.txt).
MCP server: https://api.shippickup.com/mcp (Authorization header: Bearer).
The API key is stored in the environment variable SHIPPICKUP_API_KEY: read it from there and never output it in responses or logs.
Rules: 1) start with the test key sk_test_, test key does not purchase; 2) before buying a label or pickup, show me the carrier, service, and exact price and wait for my explicit consent; 3) use Idempotency-Key for purchases, repeated requests must not buy a second label; 4) money is in whole USD cents; 5) on error, show code and message from the response.

ChatGPT

  1. In ChatGPT, open “My GPTs”, create a GPT, then go to “Settings” → “Actions” → “Create Action”.
  2. Click “Import by URL” and paste https://api.shippickup.com/openapi-lite.json.
  3. In “Authentication” select “API Key”, type “Bearer”, and paste the key with limited permissions (profiles below).
  4. In the GPT instructions, add rules from the universal prompt: test key first and price confirmation before purchase.

Claude

  1. In Claude, open "Settings" → "Connectors" → "Add Custom Connector" (depending on your plan and version).
  2. Адрес сервера: https://api.shippickup.com/mcp. Если клиент спрашивает заголовки, добавьте Authorization: Bearer <ключ API>.
  3. For Claude Code, run the command below: it will save the key from your environment variable.
Claude Code
claude mcp add --transport http shippickup https://api.shippickup.com/mcp --header "Authorization: Bearer $SHIPPICKUP_API_KEY"

Cursor, VS Code, other editors

Add the server to the MCP editor settings (file mcp.json or MCP section in settings). The key is taken from the environment variable; do not write it to the file.

mcp.json
{
    "mcpServers": {
        "shippickup": {
            "url": "https://api.shippickup.com/mcp",
            "headers": {
                "Authorization": "Bearer ${env:SHIPPICKUP_API_KEY}"
            }
        }
    }
}

What you can ask

Secure settings

What the agent can do with the account

Tools replicate REST API methods exactly: same key permissions, same checks, same restrictions, and nothing beyond what the client sees in the API.

ToolKey PermissionRequires confirmationSpends money (live key)
get_balance balance:read No No
get_shipping_rates rates:read No No
create_shipment labels:create Yes Yes
list_shipments labels:read No No
get_shipment labels:read No No
cancel_shipment labels:cancel Yes No
get_tracking tracking:read No No
get_pickup_slots labels:read No No
schedule_pickup labels:create Yes Yes
cancel_pickup labels:cancel Yes No

If the key lacks the required permission, the tool returns insufficient_scope. Test keys cannot purchase (test_key_cannot_buy). New API methods appear in the list automatically after release.

Ready-made permission profiles for AI agent

ProfileKey PermissionPurpose
Read-onlybalance:read, rates:read, labels:read, tracking:readRates, orders, tracking, and balance. The agent cannot buy or cancel anything.
Shipping Operatorbalance:read, rates:read, labels:read, tracking:read, labels:createRead and purchase labels. You handle cancellations.
Full without teambalance:read, rates:read, labels:read, tracking:read, labels:create, labels:cancelEverything above plus order and pickup cancellations. Agent has no team or key management.