@web-interact-mcp/client
Version:
A production-ready TypeScript library that transforms web applications into MCP (Model Context Protocol) servers with robust two-way communication via SignalR
45 lines • 2.57 kB
TypeScript
/**
* @fileoverview Main entry point for the Web Interact MCP library
* @description Production-ready TypeScript library for transforming web applications into MCP servers
* @version 1.0.0
* @author Vijay Nirmal
*/
export { ToolRegistry } from './tool-registry';
export { WebInteractMCPController } from './controller';
export { WebInteractSignalRService } from './signalr.service';
export { LogLevel, TransportType } from './types';
export type { Role, Annotations, TextContent, ImageContent, AudioContent, Resource, ResourceContents, TextResourceContents, BlobResourceContents, ResourceLink, EmbeddedResource, ContentBlock, CallToolResult, ParameterDefinition, ToolParameterSchema, VisualEffectStyles, ToolMode, ToolAction, ReturnValue, ToolStep, ToolConfiguration, WebInteractMCPOptions, TransportOptions, WebInteractMCPEvent, ToolStartConfig, CustomFunctionContext, CustomFunctionImplementation, CustomFunction, ReturnValueContext, ReturnValueProvider, ReturnValueProviderFunction, ILogger, ConnectionStatus } from './types';
export { createSuccessResult, createErrorResult, createFailedResult, SuccessfulCallToolResult } from './types';
export type { ToolSummary } from './tool-registry';
export type { WebInteractMCPController as IWebInteractMCPController } from './signalr.service';
import type { WebInteractMCPOptions } from './types';
import type { ToolRegistry } from './tool-registry';
import { WebInteractMCPController } from './controller';
/**
* Create a new WebInteractMCPController instance with custom options
* @param options - Global configuration options
* @param shepherdOptions - Default options to pass to the Shepherd.Tour constructor
* @returns A new WebInteractMCPController instance
*/
export declare function createWebInteractMCPController(options?: Partial<WebInteractMCPOptions>, shepherdOptions?: unknown): WebInteractMCPController;
/**
* Create a new ToolRegistry instance
* @param enableLogging - Whether to enable console logging
* @returns A new ToolRegistry instance
*/
export declare function createToolRegistry(enableLogging?: boolean): ToolRegistry;
/**
* Library version
*/
export declare const VERSION = "1.0.0";
/**
* Library information
*/
export declare const LIBRARY_INFO: {
readonly name: "@web-interact-mcp/client";
readonly version: "1.0.0";
readonly description: "A production-ready TypeScript library that transforms web applications into MCP servers with robust two-way communication";
readonly author: "GitHub Copilot";
readonly license: "MIT";
};
//# sourceMappingURL=index.d.ts.map