Claude.ai Connector
Connect SALLY directly to Claude.ai as an MCP Connector. This is the easiest way to use Sally from Claude -- just paste a URL and sign in.
Requires a Claude Pro, Team, or Enterprise plan with MCP Connectors enabled.
Setup (2 minutes)
Step 1: Get Your Connector URL
| Environment | Connector URL |
|---|---|
| Production | https://sally-api.appshore.in |
| Staging | https://sally-api-staging.appshore.in |
Use the base URL — Claude.ai discovers endpoints automatically via /.well-known/oauth-authorization-server.
Step 2: Add the Connector in Claude.ai
- Open claude.ai and sign in
- Click your profile icon (bottom-left) and select Customize
- Navigate to Connectors in the left sidebar
- Click the + button (top-right) to add a new connector
- Paste the connector URL from Step 1
- Click Connect
Step 3: Authorize SALLY
- Claude.ai will redirect you to the SALLY consent page
- Sign in with your SALLY account (same credentials you use in the app)
- Review the permission scopes being requested
- Click Authorize to grant access
Once authorized, you'll be redirected back to Claude.ai.
Step 4: Start Using Sally
Open a new chat in Claude and try these prompts:
"Show me all active loads"
"What's the fleet status today?"
"What invoices are overdue?"
"What's the compliance score for my fleet?"
"Generate an invoice for load #1234"
"Plan a route from Dallas to Chicago for driver John Smith"
How It Works
When you add SALLY as a connector:
- Discovery: Claude.ai fetches
/.well-known/oauth-authorization-serverto find OAuth endpoints - Registration: Claude.ai registers itself as an OAuth client via dynamic client registration
- Authorization: You sign in and approve scopes via SALLY's consent page
- Token Exchange: Claude.ai exchanges the auth code for access/refresh tokens (OAuth 2.1 + PKCE)
- Tool Access: Claude sees your available SALLY tools based on granted scopes
- Execution: When you ask a fleet question, Claude calls the appropriate SALLY tool with your token
Available Tools in Claude
After connecting, Claude will have access to tools like:
- query-loads -- Search and filter your loads
- get-fleet-status -- Dashboard summary of active loads, drivers, alerts
- get-invoice-summary -- A/R aging and invoice breakdown
- get-shield-score -- Fleet compliance score
- generate-invoice -- Create a draft invoice from a delivered load
- plan-route -- Create an optimized route with HOS compliance
The exact tools available depend on the scopes you approved during authorization.
Troubleshooting
"Connection failed" or "Could not discover server"
- Verify the URL is the base URL (e.g.,
https://sally-api.appshore.in, nothttps://sally-api.appshore.in/api/v1/mcpor any other path) - Check that the SALLY API is running and accessible
- For staging: ensure you're not behind a VPN that blocks the domain
"Authorization failed"
- Make sure you're signing in with valid SALLY credentials
- Your account must be active and belong to a tenant
- Check that your role (Dispatcher, Admin, etc.) has access to the requested scopes
"No tools available"
- You may have denied scopes during authorization. Disconnect and reconnect, approving all scopes
- Check your SALLY role -- Drivers see fewer tools than Dispatchers or Admins
Token Expired
- Claude.ai automatically refreshes tokens using the refresh token
- If you're still getting errors, disconnect and reconnect the SALLY connector
Disconnecting
- Go to Customize > Connectors in Claude.ai
- Find the SALLY connector
- Click Disconnect
This revokes the OAuth tokens. You can reconnect anytime by repeating the setup steps.