/**
 * MCP 模块导出入口
 */

// 类型导出
export type {
  MCPConfig,
  MCPServerConfig,
  LocalMCPServer,
  RemoteMCPServer,
  OAuthConfig,
  MCPTool,
  MCPServerStatus,
  MCPServerStatusType,
  MCPToolCallResult,
  MCPContent,
  MCPTextContent,
  MCPImageContent,
  MCPResourceContent,
  Transport,
  ServerCapabilities,
  ClientCapabilities,
  MCPManagerEvents,
} from './types.js';

// 配置相关
export {
  loadMCPConfig,
  validateMCPConfig,
  normalizeMCPConfig,
  getEnabledServers,
  isToolEnabled,
  resolveEnvVariables,
  resolveEnvInObject,
} from './config.js';

// 客户端
export { MCPClient } from './client.js';

// 管理器
export { MCPManager, getMCPManager, resetMCPManager } from './manager.js';

// 工具适配器
export { MCPToolAdapter, createMCPToolAdapter } from './tool-adapter.js';

// 传输层
export { createTransport, StdioTransport } from './transports/index.js';
