Skip to content

Give Codex native OAuth MCP entries for no-login services - #1353

Open
andy-xu-db wants to merge 1 commit into
andy-xu-db/codex-app-mcp-cimdfrom
andy-xu-db/codex-native-oauth-all-mcp-services
Open

andy-xu-db wants to merge 1 commit into
andy-xu-db/codex-app-mcp-cimdfrom
andy-xu-db/codex-native-oauth-all-mcp-services

Conversation

@andy-xu-db

Copy link
Copy Markdown
Collaborator

Summary

The Codex desktop app labels every stdio MCP server "Auth unsupported". ug keeps no-login AI Gateway services (system.ai.web_search, dbsql, Genie) on the stdio ug mcp-proxy, so they keep that label even after the connection-backed services switch to native OAuth.

For Codex, this PR gives every AI Gateway mcp-service the native URL + OAuth entry, so the Databricks sign-in is done by Codex itself. Claude and Cursor still skip no-login services (AIGTWY-4856, #836). Non-mcp-services URLs, PAT, and workspaces without the Codex client still use the proxy.

Stacked on #1338. Do not merge yet. It depends on:

Testing

  • New unit test: Codex gets the native entry for a no-login mcp-service, and still gets the proxy for a non-mcp-services URL. The existing Claude no-login tests are unchanged and still pass.
  • uv run pytest tests/test_mcp.py tests/test_agent_codex.py tests/test_mcp_oauth.py tests/test_databricks.py passes (895 tests), and just lint passes.
  • No live sign-in yet. That's blocked on the dependencies above.

This pull request and its description were written by Isaac.

Co-authored-by: Isaac <no-reply@databricks.com>
@andy-xu-db
andy-xu-db marked this pull request as ready for review October 29, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant