# Ship.com > Ship.com buys USPS and UPS shipping labels, schedules pickups and tracks packages for online sellers. AI agents can use it through MCP. ## MCP server - Endpoint: https://app.ship.com/mcp - Transport: streamable HTTP (JSON-RPC 2.0 over POST) - Auth: OAuth 2.1. Metadata: https://app.ship.com/.well-known/oauth-protected-resource and https://app.ship.com/.well-known/oauth-authorization-server - Any MCP client can sign in with OAuth (dynamic client registration supported). Register at https://app.ship.com/oauth/register. - Or a connection key from Settings in the Ship.com app, sent as Authorization: Bearer - Docs: https://www.ship.com/api/mcp ## Agent quick start (no account yet) 1. Create an account: POST https://app.ship.com/agent/signup with a JSON body: ```json { "email": "owner@example.com", "accept_terms": true, "business_name": "Example Shop", "agent_name": "My shipping agent", "address1": "123 Main St", "city": "Austin", "state": "TX", "zip": "78701" } ``` The reply (201) looks like: ```json { "account_id": 123456, "email": "owner@example.com", "access_token": "mcp_at_...", "refresh_token": "mcp_rt_...", "expires_in": 86400, "client_id": "agent-signup", "token_endpoint": "https://app.ship.com/oauth/token", "mcp_url": "https://app.ship.com/mcp", "payment_url": "https://app.ship.com/agent/pay/123456?t=...", "pricing": "No subscription. You pay the price shown for each label. The preview lists the full cost before anything is bought. Your card is charged per label.", "next_steps": [ "Confirm the email: the person clicks the link in the email from Ship.com, or you POST the 6-digit code from it to /agent/confirm with the access_token as a Bearer token. Nothing can be charged before that.", "Add a card at payment_url. Open it in a browser, or send it to your human.", "Labels need a ship-from address. If you didn't send one, POST it to /agent/address with the access_token as a Bearer token, or add it on the payment_url page.", "Connect to mcp_url with the access_token as a Bearer token.", "Make an order with create_order, then get_rates.", "Call buy_label without confirm to preview the cost, then with confirm:true to buy.", "Refresh the token at token_endpoint with grant_type=refresh_token, client_id=agent-signup and the refresh_token.", "The full Ship.com web app needs a plan. At https://app.ship.com/login use Forgot password to set a password, then choose a plan." ], "email_confirmation": { "required": true, "sent_to": "o***@example.com", "sent": true, "confirm_endpoint": "https://app.ship.com/agent/confirm", "resend_endpoint": "https://app.ship.com/agent/confirm/resend", "note": "We emailed a confirmation link and a 6-digit code to this address. Nothing can be charged until it is confirmed: the person clicks the link, or you POST {\"code\": \"123456\"} to https://app.ship.com/agent/confirm with the access_token as a Bearer token. To send it again, POST https://app.ship.com/agent/confirm/resend." } } ``` 2. Confirm the email before anything can be charged. Ship.com emails the address a link and a 6-digit code: the person clicks the link, or you POST {"code": "123456"} to https://app.ship.com/agent/confirm with the access_token as a Bearer token (resend: POST https://app.ship.com/agent/confirm/resend). 3. Add a card at payment_url. You can open it in a browser, or send it to your human. No ship-from address sent at sign-up? POST https://app.ship.com/agent/address with the access_token as a Bearer token and {"address1", "address2", "city", "state", "zip"}, or add it on the payment_url page. Labels need one. 4. Call https://app.ship.com/mcp with the access_token as a Bearer token: create_order, get_rates, buy_label (no confirm) to preview the cost, then buy_label with confirm:true. 5. Refresh the token at token_endpoint (grant_type=refresh_token, client_id=agent-signup). Terms: https://www.ship.com/terms-and-conditions. Sending accept_terms: true accepts them. ## Pricing for agent accounts - No subscription. - You pay the price shown for each label. The preview lists the full cost before anything is bought. - Your card is charged per label. - The full Ship.com web app needs a plan.