Prerequisites
- A Loop Returns account in good standing
- A user account with the permissions you want the assistant to be able to use (the MCP server enforces the same role-based permissions as the Loop Admin)
- An MCP-compatible client installed locally
The Loop MCP endpoint
/.well-known/oauth-protected-resource.
Connect a client
- Claude Desktop
- Claude organization connector
- Cursor
- VS Code Copilot
Claude Desktop’s local developer config connects to local command-based MCP servers. Use
mcp-remote to bridge Claude Desktop to Loop’s hosted MCP endpoint.- Open Settings → Developer → Edit Config in Claude Desktop.
- Add Loop to your
mcpServersblock:
- Restart Claude Desktop. The Loop server appears in the Connectors list.
- Click Connect next to loop-returns. A browser window opens to Loop’s OAuth flow — sign in with your Loop credentials and approve access.
Multi-shop accounts
If your email is associated with more than one Loop shop, the OAuth flow shows a shop selector after you sign in. Pick the shop you want to grant the assistant access to. You can disconnect and reconnect to switch shops. If your MCP client supports multiple server entries, create one Loop server per shop and name each entry after the shop, for exampleloop-returns-store-a and loop-returns-store-b. Each entry runs the same endpoint but keeps its own OAuth connection, making it easier to choose the right shop before asking the assistant to act.
Verify the connection
Once connected, ask the assistant:“What Loop shop am I connected to?”The assistant should call the
get_shop_info tool and respond with your shop’s name and ID. For users who belong to more than one Loop shop, this confirms the assistant is scoped to the shop selected during OAuth before you ask it to inspect or change returns. If you see an error about authentication or permissions, see the Authentication guide.
Try a few prompts
Rate limits
| Limit | Scope |
|---|---|
| 600 tool calls per hour | Per authenticated user |
| 100 OAuth authorizations per hour | Per IP |
| 100 token requests per hour | Per IP |
Disconnect
To revoke access, disconnect the Loop server in your MCP client and revoke the session in Loop Admin → Settings → Developers (coming soon — for now, contact support to revoke a session immediately).Next steps
Authentication
Understand the OAuth flow and how shops are scoped to tokens.
Overview
See the full list of tools and resources the MCP server exposes.