Skip to content

Request for examples on MCP tool testing #384

@kchro3

Description

@kchro3

In general, it would be great to have examples on how to build tests around MCP server tools. I think a common pattern is that you'd have some client around an API and the tool will invoke one or more API calls and marshal the response in an LLM-optimized way since API responses can have unnecessary tokens.

It becomes difficult to test tools with durable objects (afaik vitest doesn't support DOs?), so some recommendations around testing would be helpful.

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