fix(codex): remove unsupported MCP transport types
Merged
LI
3mo ago+0+0+0123456789-5-5-0123456789
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— passedbun run lint— passed- Parsed
.codex/config.tomlwith Pythontomllib— 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/hast3.0.4/3.0.5 type conflict inpackages/uibun run test— blocked by a pre-existing timeout inpackages/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 lintandbun run typecheckpass (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: removedtype = "sse"fromsuperset,expo-mcp(disabled),neon,linear, andsentry. - Validate with
codex mcp list; the same five servers should appear with their prior enabled state. No migration required; omittypein new MCP entries.
Summary by CodeRabbit
- Chores
- Updated MCP server configuration entries while retaining existing server URLs and settings.