This repository was archived by the owner on May 21, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 116116 "@langchain/anthropic" : " ^0.3.26" ,
117117 "@langchain/core" : " ^0.3.72" ,
118118 "@langchain/openai" : " ^0.6.9" ,
119+ "@mcp-ui/server" : " ^5.11.0" ,
119120 "@modelcontextprotocol/sdk" : " 1.12.1" ,
120121 "@scarf/scarf" : " ^1.4.0" ,
121122 "ai" : " ^4.3.19" ,
Original file line number Diff line number Diff line change 11// Removed unused import
2-
2+ import type { UIResource } from '@mcp-ui/server'
33export interface ServerConfig {
44 name : string
55 version : string
@@ -46,5 +46,5 @@ export interface PromptDefinition {
4646
4747export type ResourceHandler = ( ) => Promise < string >
4848export type TemplateHandler = ( params : Record < string , string > ) => Promise < string >
49- export type ToolHandler = ( params : Record < string , any > ) => Promise < string >
49+ export type ToolHandler = ( params : Record < string , any > ) => Promise < string | UIResource >
5050export type PromptHandler = ( params : Record < string , any > ) => Promise < string >
You can’t perform that action at this time.
0 commit comments