modelcontextprotocol / modelcontextprotocol/typescript-sdk

update server examples to cover external authentication servers

Open
#658 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auth documentation enhancement good first issue P3
Dominant language
TypeScript
Stars
13.4k
Forks
2.2k
Avg merge
3d 15h
Merged PRs (30d)
4

Description

Is your feature request related to a problem? Please describe.
RFC 8707

Describe the solution you'd like
Add a new example forked from src/examples/server/simpleStreamableHttp.ts to support an external authentication server (AS).

May want to cater to JWT cases and/or absence of the (optional) introspection_endpoint & revocation_endpoint.

Describe alternatives you've considered
Modifying simpleStreamableHttp to optionally support an external AS would probably trigger a rename to complexStreamableHttp 🙈

Additional context
Beyond external AS, a new example could be used as a testing ground for OICD support (see https://github.com/modelcontextprotocol/modelcontextprotocol/pull/677)

Contributor guide

Open the contributing guide

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.

Research direction

Start by reading src/examples/server/simpleStreamableHttp.ts and RFC 8707 to understand the existing server example and external authorization-server requirements. Review the referenced OIDC support context, then define a separate example that covers external authentication, including the stated JWT and optional introspection_endpoint and revocation_endpoint cases. Done means the new example is added and demonstrates those supported configurations.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.