MCP troubleshooting
Most Ocoya MCP issues come from client configuration, incomplete OAuth approval, missing brand access, or passing IDs from the wrong brand.Quick checks
OAuth and authorization
Ocoya MCP does not accept Ocoya API keys. MCP clients should use OAuth and send a bearer token issued by Ocoya after the user approves access. For diagnostics, an unauthenticated request should return401 with a WWW-Authenticate header that points to Ocoya OAuth metadata:
Brand access
Brand-scoped tools require abrandId returned by ocoya_list_brands. If a brand is missing:
- Reconnect Ocoya MCP.
- Select the missing brand during the OAuth approval flow.
- Ask the client to call
ocoya_list_brandsagain.
Posting and scheduling
Before creating or scheduling posts, ask the client to resolve fresh IDs:brandId and socialProfileIds in post tools. For scheduling, pass ISO datetimes:
Client-specific notes
Safe recovery
If the connection looks stale or the wrong account is connected:- Revoke or remove the Ocoya MCP connection in the client.
- Add the MCP server again.
- Complete OAuth with the intended Ocoya account.
- Select the brands the client should access.
- Verify with
ocoya_list_brandsbefore write actions.