/**
 * index.ts — MCP core module public API.
 *
 * Purpose: single re-export point for all MCP types and classes so the
 * rest of the coding-agent package and extensions use a stable import path.
 *
 * Consumer: packages/coding-agent/src/index.ts, mcp-client extension.
 */

export {
	type AuthConfig,
	buildHttpTransportOpts,
	createCliOAuthProvider,
	type HttpTransportOptions,
} from "./auth.js";
export { getServerConfig, readMcpConfigs } from "./config.js";
export {
	type ConnectionStatus,
	McpConnectionManager,
	type McpServerConfig,
	type McpToolDefinition,
	type OAuthConfig,
	type RegisterToolFn,
	type RegisterToolParams,
	SAFE_CHILD_ENV_KEYS,
} from "./connection-manager.js";
