Skip to content

Return HTTP 403 when Origin header is invalid #695

Description

@Kehrlann

Activity

  1. self-assigned this
    on Jan 28, 2026
  2. Kehrlann commented on Jan 29, 2026

    @Kehrlann
    ContributorAuthor

    Python implementation: modelcontextprotocol/python-sdk#861
    Typescript implementation: https://github.com/modelcontextprotocol/typescript-sdk/pull/565/changes

    Note: they also validate the host, not only the origin.

  3. added 2 commits that reference this issue on Feb 4, 2026
    a18f327
    9903b56
  4. added a commit that references this issue on Feb 5, 2026
    96c9bbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions