Skip to content

Bug: Mixed Auth fails when publishing app (406 / 400 on /mcp) #183

@camargo1409

Description

@camargo1409

Summary

When trying to publish an app on the OpenAI Platform using the Apps SDK with Mixed Auth, the publishing flow fails during the tool scanning step.
The platform sends a POST /mcp request which returns an error (406 in TypeScript, 400 in Python), preventing the publishing process from completing.

The issue only occurs with Mixed Auth. Using OAuth or No Auth works as expected.

Steps to Reproduce

Image
  • Attempt to publish the app on the OpenAI Platform
  • During the publishing flow, the platform attempts to scan tools
  • The platform sends a POST request to /mcp
  • The request fails and publishing cannot continue

Actual Behavior

TypeScript

  • POST /mcp returns 406 Not Acceptable

Python

  • POST /mcp returns 400 Bad Request
  • Warning/error message:
    Invalid Content-type: text/octet-stream

Expected Behavior

When using Mixed Auth, the platform should successfully call /mcp, scan the tools, and allow the publishing process to proceed, same as with OAuth or No Auth.

Additional Context

This error blocks the tool scanning step, making it impossible to publish apps that require Mixed Auth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions