Repository navigation
feat(mcp): add OpenAI ChatGPT connector profile and rename to MCP connector - #1763
Merged
Merged
Conversation
…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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/mcp-oauth.md.Test plan
pnpm lintpnpm --filter chatbotx-mcp testandpnpm --filter builder test(mcp-oauth / public-spec-mcp / token-introspection)