MCP troubleshooting
Most Ocoya MCP issues come from client configuration, incomplete OAuth approval, missing workspace access, or passing IDs from the wrong workspace.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:
Workspace access
Workspace-scoped tools require aworkspaceId returned by ocoya_list_workspaces. If a workspace is missing:
- Reconnect Ocoya MCP.
- Select the missing workspace during the OAuth approval flow.
- Ask the client to call
ocoya_list_workspacesagain.
Posting and scheduling
Before creating or scheduling posts, ask the client to resolve fresh IDs:workspaceId 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 workspaces the client should access.
- Verify with
ocoya_list_workspacesbefore write actions.