Skip to content

docs(client): correct token endpoint TLS citation - #2768

Open
web-abin wants to merge 1 commit into
modelcontextprotocol:mainfrom
web-abin:fix/2766-token-endpoint-tls-citation
Open

docs(client): correct token endpoint TLS citation#2768
web-abin wants to merge 1 commit into
modelcontextprotocol:mainfrom
web-abin:fix/2766-token-endpoint-tls-citation

Conversation

@web-abin

@web-abin web-abin commented Sep 8, 2026

Copy link
Copy Markdown

The JSDoc for assertSecureTokenEndpoint and InsecureTokenEndpointError attributed the token-endpoint TLS check to SEP-2207, which covers OIDC-flavored refresh-token guidance. This change points the explanation to the MCP authorization specification's HTTPS requirement and describes the SDK's loopback exemption as local-development behavior. It also adds the required client patch changeset. Runtime behavior is unchanged.

Fixes #2766

Validation:

  • pnpm build:all
  • pnpm lint:all
  • pnpm typecheck:all
  • pnpm --filter @modelcontextprotocol/client test (877 tests)

AI assistance: OpenAI Codex was used to inspect the repository, draft the focused edits, and run the validation commands.

@web-abin
web-abin requested a review from a team as a code owner September 8, 2026 03:15
@changeset-bot

changeset-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0273828

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@modelcontextprotocol/client Patch
@modelcontextprotocol/codemod Patch
@modelcontextprotocol/core Patch
@modelcontextprotocol/server-legacy Patch
@modelcontextprotocol/server Patch
@modelcontextprotocol/core-internal Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Sep 8, 2026

Copy link
Copy Markdown

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/@modelcontextprotocol/client@2768

@modelcontextprotocol/codemod

npm i https://pkg.pr.new/@modelcontextprotocol/codemod@2768

@modelcontextprotocol/core

npm i https://pkg.pr.new/@modelcontextprotocol/core@2768

@modelcontextprotocol/server

npm i https://pkg.pr.new/@modelcontextprotocol/server@2768

@modelcontextprotocol/server-legacy

npm i https://pkg.pr.new/@modelcontextprotocol/server-legacy@2768

@modelcontextprotocol/express

npm i https://pkg.pr.new/@modelcontextprotocol/express@2768

@modelcontextprotocol/fastify

npm i https://pkg.pr.new/@modelcontextprotocol/fastify@2768

@modelcontextprotocol/hono

npm i https://pkg.pr.new/@modelcontextprotocol/hono@2768

@modelcontextprotocol/node

npm i https://pkg.pr.new/@modelcontextprotocol/node@2768

commit: 0273828

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.

Doc comments misattribute the token-endpoint TLS check to SEP-2207 (which is OIDC refresh / offline_access)

1 participant