Skip to content

Typed SDK surface for out-of-band MCP tool calls / resources (MCP Apps support) #380

Description

@TylerLeonhardt

Summary

Please expose a typed, supported SDK surface (and docs) for invoking MCP operations out of band — i.e. without a model turn — so consumers can implement MCP Apps (SEP-1865): server-provided tool UIs.

What's needed

To render an MCP App, the host needs, for a connected MCP server:

  1. Call a tool out of band — invoke an MCP tool directly and get its CallToolResult (no model turn).
  2. Read a resourceresources/read (and ideally resources/list) to fetch the App's ui:// bundle.
  3. List tools with full metadatatools/list including inputSchema and _meta (esp. _meta.ui.resourceUri), which the App UI needs.

Sampling is not needed.

Current gap

The bundled CLI already appears to implement these over the control channel (mcp_call, mcp_message), but they aren't on the public Query interface (0.3.x), and mcpServerStatus().tools[] omits inputSchema / _meta — so there's no supported way to detect or drive an App.

A typed Query API for the above three (plus documentation) would unblock MCP Apps support. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions