UNPKG

@hashgraphonline/conversational-agent

Version:

Hashgraph Online conversational AI agent implementing HCS-10 communication, HCS-2 registries, and content inscription on Hedera

29 lines (26 loc) 716 B
import type { Tool } from '@modelcontextprotocol/sdk/types.js'; export interface MCPServerConfig { name: string; command: string; args: string[]; env?: Record<string, string>; transport?: 'stdio' | 'http' | 'websocket'; autoConnect?: boolean; /** * Additional context to help the AI understand when to use this server's tools */ additionalContext?: string; /** * Tool-specific descriptions to enhance or override default tool descriptions */ toolDescriptions?: Record<string, string>; } export interface MCPToolInfo extends Tool { serverName: string; } export interface MCPConnectionStatus { serverName: string; connected: boolean; error?: string; tools: MCPToolInfo[]; }