Client-credentials examples should require issuer binding

Open
#3,419 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@AbarnaaSree is already working on this.

Since Oct 18, 2026.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
66/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python, typescript

Research direction

Start from the linked workflow (LHMisme420/mcp-authscan .github/workflows/example-issuer.yml) to see the exact check it performs. Then locate every client-credentials example in this repo (grep for client_credentials, token endpoint or issuer usage) and add the missing issuer= (Python) / expectedIssuer (TypeScript) argument to each. Done means every such example carries issuer binding and the issuer lint runs green in CI.

Written by the indexing model from the issue text.

Description

GHSA-qx49-fqc8-xw99 and GHSA-6qxp-vccf-f47h say upgrading the MCP SDK does not close machine-to-machine credential redirection. The caller must pass issuer= (Python) or expectedIssuer (TypeScript), or a pre-provisioned secret follows whatever authorization server the MCP server advertises.

A client-credentials example that omits that argument should be non-compliant. A lint that fails the build on the omission: https://github.com/LHMisme420/mcp-authscan/blob/main/.github/workflows/example-issuer.yml

Dominant language
TypeScript
Stars
9.8k
Forks
1.9k
Avg merge
2d 4h
Merged PRs (30d)
73

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelcontextprotocol/modelcontextprotocol

All issues in modelcontextprotocol/modelcontextprotocol

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.