Skip to content

Support MCP DELETE requests #416

Closed
Closed

Description

@kentcdodds

From the spec:

Clients that no longer need a particular session (e.g., because the user is leaving the client application) SHOULD send an HTTP DELETE to the MCP endpoint with the Mcp-Session-Id header, to explicitly terminate the session.
The server MAY respond to this request with HTTP 405 Method Not Allowed, indicating that the server does not allow clients to terminate sessions.

I can't think of a good reason to send a 405 for something like this. If the client wants to delete a session, we should go ahead and let them.

Activity

  1. self-assigned this
    on Aug 21, 2025
  2. whoiskatrin commented on Aug 21, 2025

    @whoiskatrin
    Contributor

    Yes, will add this

  3. added
    on the roadmap
    on Sep 2, 2025
  4. whoiskatrin commented on Sep 11, 2025

    @whoiskatrin
    Contributor

    This has been added and merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

on the roadmap

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions