Skip to content

[Clarification] How to generate the session id for the HTTP Transport #412

@aravindsuresh1

Description

@aravindsuresh1

Problem Statement:

I've connected to the MongoDB MCP using the http transport. I get the below error message when I invoke the /mcp endpoint. How do I generate and pass the session id?

{"jsonrpc":"2.0","error":{"code":-32001,"message":"session id is required"}}

When I try to generate a session id and pass it, I get the below error message:

{"jsonrpc":"2.0","error":{"code":-32003,"message":"session not found"}}

It would be helpful if an example can be shared for this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions