Skip to content

Allow returning JSON results #115

@kyeotic

Description

@kyeotic

Is your feature request related to a problem? Please describe.
The MCP Protocol says that responses can contain arbitrary json as a result, but the kotlin SDK only uses a sealed interface for the result. This makes returning custom JSON awkward, leaving only the _meta property.

Describe the solution you'd like
Allow JSONRPCResponse to accept a JSON result

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions