Shop MCP OAuth returns access_denied before showing the consent screen

Hello,

I’m integrating Shop MCP into my application so customers can authorize access to their Shop account.

When I start the authorization flow, Shop redirects to my callback with access_denied before displaying a consent screen. The callback includes:

  • error: access_denied
  • error_description: Access denied
  • iss: https://accounts.shop.app
  • No authorization code was returned

The request uses scope openid personal_agent, resource https://mcp.shop.com, and PKCE with S256. My redirect URI is an HTTPS callback registered for the app’s OAuth client. The client ID is from the App in the dev dashboard.

Could you advise what would cause this client’s authorization to be denied before consent, and whether this client needs additional eligibility or configuration for Shop MCP?

I can provide the full client ID and redacted diagnostics privately if needed. Thank you advance for your help

Hey @Sasank,

Apps created in Dev Dashboard don’t automatically receive personal_agent access. Shopify first needs to enable it for your organization before you can add the scope to your app and release the updated configuration.

The OAuth parameters you listed match the Shop sign-in guide. Missing access to that scope can cause access_denied before consent, though we’d need to check your client to confirm.

Please contact Shopify Support while signed in and select the Partner organization that owns the app. Include this thread, your app/client ID, and the redacted diagnostics you offered, including the timestamp of a failed request. That lets us verify the organization and review the client’s configuration and access request.

If you already have a Support ticket, you can use that one