UNPKG

@civic/hub-bridge

Version:

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

32 lines 1.54 kB
/** * config.ts * * Centralizes configuration management, loading environment variables * and providing defaults for all hub bridge settings. */ import type { Implementation } from '@modelcontextprotocol/sdk/types.js'; import type { PassthroughProxyOptions } from "@civic/passthrough-mcp-server"; type ClientInfo = Implementation; export declare const REMOTE_MCP_URL: string; export declare const CLIENT_ID: string; export declare const NO_LOGIN: boolean; export declare const NO_AUTH_CAPTURE: boolean; 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: { name: string; version: "0.1.0"; }; export declare const REMOTE_CLIENT_INFO: ClientInfo; export declare const BRIDGE_CLIENT_CAPABILITIES: { tools: { listChanged: boolean; }; prompts: { listChanged: boolean; }; }; export declare const CONFIG_FILE = "~/.civic/hub-bridge-config.json"; export declare const getConfig: () => PassthroughProxyOptions; export {}; //# sourceMappingURL=index.d.ts.map