UNPKG

ragatanga-mcp-sdk

Version:

SDK for integrating with the Ragatanga Management Control Plane (MCP) with Next.js 15, React 19, WebSocket and Arrow IPC support

35 lines (32 loc) 1.79 kB
export { f as MCPCacheConfig, d as MCPCacheOptions, h as MCPContextRequest, i as MCPContextResponse, g as MCPContextSpec, e as MCPErrorType, M as MCPOptions, a as MCPRequestParams, b as MCPResponse, c as OntologyMetadata, O as OntologySummary } from '../types-CmbeEBKR.js'; export { WebSocketEventHandlers, WebSocketMessage } from '../client/websocket.js'; export { SSEConnectionStatus, SSEOptions } from '../client/sse.js'; export { ArrowConnectionStatus, ArrowEventHandlers, ArrowMessage, ArrowQueryOptions, ArrowQueryResult, ArrowStreamConsumer } from '../client/arrow-ipc.js'; export { C as ClassInfoParams, i as ContextRequest, j as ContextResponse, h as ContextSpec, E as ExecuteSparqlParams, k as ModificationResult, M as ModifyOntologyParams, a as OntologyClass, O as OntologyEntity, c as OntologyInstance, e as OntologyPaginationParams, b as OntologyProperty, d as OntologyStats, P as PaginatedOntologyResponse, Q as QueryConceptParams, S as SearchConceptsParams, g as SparqlQueryResult, f as SparqlResultRow } from '../ontology-types-Dd7w-pJ8.js'; export { F as FetchOptions } from '../fetcher-B6k3kybO.js'; import '../errors/index.js'; interface MCPClientInfo { name: string; version: string; } interface MCPCapabilities { prompts?: Record<string, any>; resources?: Record<string, any>; tools?: Record<string, any>; } interface MCPClientConfig { capabilities: MCPCapabilities; } interface MCPTransport { send(message: any): Promise<any>; connect(): Promise<void>; disconnect(): Promise<void>; } interface MCPToolCall { name: string; arguments: Record<string, any>; } interface MCPPromptOptions { [key: string]: any; } export type { MCPCapabilities, MCPClientConfig, MCPClientInfo, MCPPromptOptions, MCPToolCall, MCPTransport };