Skip to content

What is the recommended way of writing unit tests for MCP endpoints? #1126

@splincode

Description

@splincode

There isn't much documentation on testing and it isn't clear what the recommended and supported way of unit testing MCP endpoints are?

As a unit test it shouldn't involve a sub-process or actually opening an port. But it should test enough of the MCP integration to ensure the endpoint would work, and wouldn't hit unexpected serialization issues etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest for a new feature that's not currently supported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions