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

    P3Nice to haves, rare edge casesdocumentationImprovements or additions to documentationquestionFurther information is requestedready for workEnough information for someone to start working onv2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions