prompt.ts
1 export const LIST_MCP_RESOURCES_TOOL_NAME = 'ListMcpResourcesTool' 2 3 export const DESCRIPTION = ` 4 Lists available resources from configured MCP servers. 5 Each resource object includes a 'server' field indicating which server it's from. 6 7 Usage examples: 8 - List all resources from all servers: \`listMcpResources\` 9 - List resources from a specific server: \`listMcpResources({ server: "myserver" })\` 10 ` 11 12 export const PROMPT = ` 13 List available resources from configured MCP servers. 14 Each returned resource will include all standard MCP resource fields plus a 'server' field 15 indicating which server the resource belongs to. 16 17 Parameters: 18 - server (optional): The name of a specific MCP server to get resources from. If not provided, 19 resources from all servers will be returned. 20 `