Harshith Mullapudi 8d9ddcf375
Fix: core cli to work with core repo (#26)
* Fix: core cli to work with core repo

* Fix: cli working and mcp proxy
2025-07-22 10:17:40 +05:30

53 lines
1.3 KiB
TypeScript

// Export types for compatibility
export * from "./types/index.js";
// MCP Remote Client exports (new simplified interface)
export {
createMCPAuthClient,
createMCPProxy,
createMCPStdioProxy,
MCPAuthenticationClient,
} from "./core/mcp-remote-client.js";
export {
type MCPRemoteClientConfig,
type ProxyConnectionConfig,
type TransportStrategy,
type StoredCredentials,
type ProxyCredentials,
type AuthenticationResult,
type CredentialSaveCallback,
type CredentialLoadCallback,
type OAuthFlowResult,
type OAuthCallbackData,
type MCPMessage,
type MCPResponse,
type MCPClientError,
type ConnectionTestResult,
type ProxyHandlerConfig,
type TransportConnection,
type MCPProxyFunction,
} from "./types/remote-client.js";
// Error exports
export {
MCPAuthProxyError,
InvalidCredentialsError,
OAuthError,
ProxyError,
TransportError,
} from "./utils/errors.js";
// Transport utilities for Remix/HTTP integration
export { createMCPTransportBridge } from "./utils/index.js";
// Auth provider utilities - can be used independently
export {
createAuthProvider,
createAuthProviderForProxy,
createAuthProviderFromConfig,
type AuthProviderConfig,
} from "./utils/auth-provider-factory.js";
// Removed createMCPTransportProxy and createSimpleMCPProxy - functionality consolidated into createMCPProxy