UNPKG

@civic/nexus-bridge

Version:

Stdio <-> HTTP/SSE MCP bridge with Civic auth handling

31 lines 1.53 kB
/** * config.ts * * Centralizes configuration management, loading environment variables * and providing defaults for all nexus bridge settings. */ import type { Implementation } from '@modelcontextprotocol/sdk/types.js'; type ClientInfo = Implementation; type ServerInfo = Implementation; export declare const REMOTE_MCP_URL: string; export declare const CIVIC_AUTH_URL: string; export declare const CLIENT_ID: string; export declare const NO_LOGIN: boolean; export declare const NO_AUTH_CAPTURE: boolean; export declare const REQUEST_TIMEOUT_MS: number; export declare const TOKEN_ENCRYPTION_PUBLIC_KEY_PROD = "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsu+oMpl/yT5oiqLMvfuQ\ne43S8S0eu59Qbax4M7DfWjimw3gVmK5KcR7TB4v4vlZsvF91vCT6ArYs8Ke9gGsB\nDNgVS20WE6GB5biEUIiYDKlremBGlYxzHoVIrOvTH7WS8KpogpNJpqFV735aTVoy\nHOetl4Ap6tXkznLeBllirMpntJS3vVUW/+L5YGiY7aSuRwfoXphLItfamWos3/Ff\nz33FjrQY6bb6g+vdTtq8JLkiOXKynEcaGYXGibnkDc5C+jKx2JS63TOpp1LbvEmh\njEXpaee94YTs99H3LdqsporedAwEXKFrmX76eXrlIYei+ZUubrCToFkCXRzjwGMU\n9wIDAQAB\n-----END PUBLIC KEY-----\n"; export declare const CALLBACK_PORT: number; export declare const LOCAL_SERVER_INFO: ServerInfo; export declare const REMOTE_CLIENT_INFO: ClientInfo; export declare const BRIDGE_CLIENT_CAPABILITIES: { tools: { listChanged: boolean; }; prompts: { listChanged: boolean; }; }; export declare const TOKEN_DIR = ".civic"; export declare const TOKEN_FILE = "bridge-config.json"; export {}; //# sourceMappingURL=config.d.ts.map