fix(codex): remove unsupported MCP transport types

Merged
LI
3mo ago
+0-5

What & why

Remove the legacy type = "sse" fields from the project-scoped Codex MCP configuration.

Current Codex configures Streamable HTTP MCP servers from their url and rejects the legacy transport field. Removing it lets contributors load the bundled Superset, Expo, Neon, Linear, and Sentry MCP entries without a configuration schema error while preserving every endpoint and enabled state.

Reference: https://learn.chatgpt.com/docs/extend/mcp?surface=cli

How I tested it

  • bun run lint:fix — passed
  • bun run lint — passed
  • Parsed .codex/config.toml with Python tomllib — passed
  • Loaded the URL-only entries with codex mcp list — passed; all five remote servers were recognized
  • bun run typecheck — blocked by a pre-existing @types/hast 3.0.4/3.0.5 type conflict in packages/ui
  • bun run test — blocked by a pre-existing timeout in packages/workspace-fs/src/watch-pathtypes-growth.test.ts; the isolated rerun failed at the same watcher condition

Checklist

  • PR title follows conventional commits (type(scope): subject)
  • bun run lint and bun run typecheck pass (lint passes; typecheck has the unrelated failure documented above)
  • "Allow edits from maintainers" is checked on fork PRs

Summary by cubic

Removes unsupported MCP transport declarations from the Codex project config so bundled MCP servers load without schema errors. Previously each server declared type = "sse"; now Codex infers Streamable HTTP from url and rejects type, preserving endpoints and enabled flags.

Reviewer notes

  • Changed only .codex/config.toml: removed type = "sse" from superset, expo-mcp (disabled), neon, linear, and sentry.
  • Validate with codex mcp list; the same five servers should appear with their prior enabled state. No migration required; omit type in new MCP entries.

Summary by CodeRabbit

  • Chores
    • Updated MCP server configuration entries while retaining existing server URLs and settings.