Troubleshooting

Fixes for the most common problems connecting to the Whippy MCP server.

Sign-in fails with "not an approved MCP client callback URL"

{"error": "invalid_redirect_uri", "error_description": "The redirect_uri `…` is not an approved MCP client callback URL."}

Your client asked Whippy to send the sign-in result to a callback that isn't on the allow-list. Whippy accepts Claude, ChatGPT, Cursor, Devin, Gemini, Grok, Microsoft Copilot Studio, VS Code, Windsurf, and the approved local callbacks (see How sign-in works).

  • Claude Code: add the server with --callback-port 8787. See Connect Claude Code.
  • Gemini CLI: set "redirectUri": "http://localhost:7777/oauth/callback" (or OAUTH_CALLBACK_PORT=7777). See Connect Gemini.
  • Other local clients: configure the OAuth callback as exactly http://localhost:8787/callback if the client allows it.
  • Clients that can't change their callback aren't supported yet. Contact [email protected] with the client's name and the callback URL from the error.

Microsoft Copilot Studio asks for a client secret

Prefer OAuth 2.0 → Dynamic discovery. That path registers a public PKCE client and does not use a secret. If the wizard asks for a client ID and secret, create one under Client credentials and choose Microsoft Copilot Studio. See Connect Microsoft Copilot Studio.

Microsoft 365 Copilot custom plugin DCR still requires a client secret per Microsoft's docs and isn't compatible. For GitHub Copilot in VS Code, use Connect VS Code.

A connector asks for a client ID and secret

Create the credential in Whippy under Settings → Connected apps → Client credentials, then paste it into the connector. See Client credentials.

  • Gemini Enterprise: choose that preset, turn Enable PKCE Support on, and leave HTTP Basic authentication on. The redirect is https://vertexaisearch.cloud.google.com/oauth-redirect.
  • Copilot Studio Manual: choose Microsoft Copilot Studio, paste the callback Copilot shows, and leave PKCE off unless Copilot sends a code challenge. Dynamic discovery does not need a credential.
  • Another connector: choose Another OAuth client and paste its https callback exactly. Turn PKCE on when it sends a code challenge.
  • Enter the scope names your connector needs, separated by spaces. See OAuth scopes. Do not add offline_access.
  • If the client secret was lost, delete the credential and create another. Whippy shows the secret only once.

The client says it needs an API key or header

Don't add an Authorization or X-WHIPPY-KEY header. Remove any header you added, then reconnect so the client starts the OAuth sign-in. API keys are rejected on /mcp with 401.

401 Unauthorized after it was working

The token was revoked or has expired and couldn't be refreshed. This happens after you disconnect the app in Connected apps, when your user is disabled, or if the client lost its refresh token. Reconnect or re-authenticate the server in your client.

"You do not belong to the selected workspace"

You picked a workspace you are not a member of, or your access was removed. Sign in again and pick a workspace you belong to.

"Token does not have the required scope for this action"

The token is missing the scope this tool needs. Usually the client requested no scopes. Disconnect the app in Connected apps and sign in again. If it keeps happening, see OAuth scopes.

403 or "permission" errors on a tool

Your Whippy role doesn't allow that action. The assistant has exactly your permissions. Ask a workspace admin to update your role, or have someone with access do it.

429 Too Many Requests

You went over 10 requests per second for your user in this workspace. Wait a second and retry. See Rate limits.

The assistant can't see some tools, or warns about too many tools

Your client caps how many tools it loads. See Tool limits.

Copilot Studio reports LimitTools

Copilot Studio loads at most 70 tools, while https://api.whippy.co/mcp advertises 256. Remove that server from the agent and add https://api.whippy.co/mcp/agent with OAuth 2.0 → Dynamic discovery instead. The compact endpoint advertises 32 tools and can discover and run the rest of the Whippy catalog on demand.

Open the Whippy tool and set Authentication to End user credentials. Maker-provided credentials call Whippy with the agent author's connection for every user. With end user credentials, each person signs in to the Whippy workspace they need. A connection marked Connected confirms that Copilot Studio stored a connection.

The assistant works in the wrong workspace

Each connection is tied to the workspace you picked at sign-in. Disconnect the app and sign in again, choosing the right workspace. To use two workspaces, add the server twice under different names.

Still stuck

Email [email protected] with your client name and version, the time of the failure, and the exact error text.


Did this page help you?