Skip to content

MCP Apps: Add round-trip integration test for _meta.ui serialization #1608

Description

@mikekistler

From PR #1484 review comment by @halter73:

No round-trip integration test that goes through McpClient.ListToolsAsync() and verifies _meta.ui survives serialization end-to-end (e.g. via ClientServerTestBase). All current tests are pure unit tests on the option pipeline.

Add an integration test (using ClientServerTestBase) that registers a tool with [McpAppUi] metadata, calls ListToolsAsync() on the client, and verifies the _meta.ui object is present and correctly shaped after round-tripping through serialization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions