Skip to content

feat(mcp): add OpenAI ChatGPT connector profile and rename to MCP connector - #1763

Merged
realcodesiman merged 8 commits into
mainfrom
feat/mcp-openai-connector
Nov 25, 2026
Merged

realcodesiman merged 8 commits into
mainfrom
feat/mcp-openai-connector

Conversation

@realcodesiman

Copy link
Copy Markdown
Contributor

Summary

  • Add a dedicated OpenAI (ChatGPT) profile and transport to the MCP server: generated manifest, JSON-schema validation, guides, and project-response shaping, split into its own router.
  • Tag public API procedures across features so they surface correctly in the OpenAI profile.
  • Relabel the builder integration from "ChatbotX MCP" to "MCP connector" (white-label friendly), drop the Workspace ID field, update connect snippets, i18n (all locales) and docs/mcp-oauth.md.
  • Update auth MCP resource/config and token-introspection handling accordingly.

Test plan

  • Pre-commit hooks: ultracite fix, typecheck (builder + mcp-server)
  • pnpm lint
  • pnpm --filter chatbotx-mcp test and pnpm --filter builder test (mcp-oauth / public-spec-mcp / token-introspection)
  • Connect ChatGPT via the new OpenAI endpoint and verify tool listing
  • Check Settings → Integrations → MCP connector UI in a couple of locales

…nector

Add a dedicated OpenAI profile/transport for the MCP server (manifest, JSON-schema validation, project-response shaping), tag public API procedures for it, and relabel the builder integration guide from ChatbotX MCP to MCP connector with updated connect snippets and docs.
@github-actions github-actions Bot added the feature New feature or request label Nov 23, 2026
Sweep idle MCP sessions (CHATBOTX_MCP_SESSION_IDLE_TTL_MS), reject
OpenAI-audience tokens on the default profile, model the token principal
as a discriminated union so OAuth fields are required by type, and log
non-transport failures instead of swallowing them.
… connect guide

Replace the OpenAI-only transport with a generic profile transport so the
Claude and OpenAI connectors share session/audience handling. Add the Claude
profile (contract, guides, description filter), the OpenAI apps domain
challenge route, and a redesigned MCP connect guide with per-client steps and
advanced config in the builder.
…enants

Move the connector settings page to the brand-neutral `mcp` slug (old
`chatbotx-mcp` permanently redirects), strip ChatbotX wording from the MCP
server instructions, guides and OpenAI manifest, and serve the OpenAI
domain challenge only on the root tenant. Also reject access tokens that
carry more than one MCP audience so a connector-profile token cannot
authenticate the default endpoint.
Drop the committed 30k-line openai-manifest.json and its generator. The
OpenAI profile now builds its tools at runtime from the cached public spec
(rebuilt only when the spec object changes), like the Claude profile.
openai-contract.ts remains the reviewed contract; a contract operation
missing from the spec is skipped and logged instead of crashing.

OpenAI's plugin review snapshots and re-reviews tool definitions on its
side and keeps the approved definition live while a change is held, so a
committed copy added no protection and broke CI whenever main changed the
public API. Contract-wide checks move to the builder live-spec test;
mcp-server tests use a small fixture spec.
@realcodesiman
realcodesiman merged commit db00502 into main Nov 25, 2026
14 checks passed
@realcodesiman
realcodesiman deleted the feat/mcp-openai-connector branch November 25, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant