35
/ 100
1 month ago
glama

Adaptive LLM Gateway

Exposes an OpenAI- and Anthropic-compatible HTTP, SSE, and stdio gateway that wraps multiple subscription CLIs, adding prompt-injection defense, PII redaction, cost-aware routing, and reasoning-trace capture for MCP-compatible clients like Claude Desktop and Cursor.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
🚨
Secret credentials may flow to a network call
1 flow detected: DASHBOARD_AUTH_TOKEN. We can’t prove the destination matches the brand the credential belongs to.
🔐
You'll be asked for 8 credentials: DASHBOARD_AUTH_TOKEN, DB_PASSWORD, GITHUB_CODEX_TOKEN, INTERNAL_SECRET, JWT_SECRET, M365_COPILOT_ACCESS_TOKEN, MICROSOFT_GRAPH_ACCESS_TOKEN, OPENAI_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configADAPTIVE_LOOKBACK_DAYS
configADAPTIVE_MIN_CONFIDENCE
configADAPTIVE_MIN_SAMPLES
configADAPTIVE_REFRESH_MS
configADAPTIVE_ROUTING_ENABLEDCost-aware adaptive routing 0
configAUDIO_TIMEOUT_MS
configAUTO_SPAWN_BRIDGESAuto-spawn detected CLI bridges at boot 0
configBANLIST_SOURCE_URL
configCHATGPT_API_PORT
configCHATGPT_BRIDGE_URL
configCLAUDE_BRIDGE_ENABLED
configCLAUDE_BRIDGE_URL
configCLAUDE_CODE_URL
configCLOUDFLARE_ACCOUNT_ID
configCODEX_BRIDGE_URLIf isn't set, the request falls through to the standard pipeline (Ollama / configured external providers).
configCOPILOT_API_INTERNAL_PORT
configCOPILOT_BRIDGE_PORT
configCOPILOT_BRIDGE_URL
configCTXLEAN_ENABLED
configCTXLEAN_MIN_TOKENS
configCTXLEAN_TARGET_TOKENS
🔐 secretDASHBOARD_AUTH_TOKENBearer token for /api/dashboard/ –
configDATABASE_URLminimum: set
configDB_HOST
configDB_NAME
🔐 secretDB_PASSWORD
configDB_PORT
configDB_USER
configEMBEDDINGS_BASE_URL
configEMBEDDINGS_MODEL
configEMBEDDINGS_TIMEOUT_MS
configEMBEDDING_MODEL
configFEDERATION_ENABLED+ FEDERATION_PEERS Cross-instance learning 0
configFEDERATION_NODE_ID
configFEDERATION_PEERSFEDERATION_ENABLED + Cross-instance learning 0
configFEDERATION_PUBLISH_INTERVAL_MS
configGATEWAY_CORS_ORIGINS
configGATEWAY_URL
🔐 secretGITHUB_CODEX_TOKEN
configHOST
configHOSTNAME
configHSTS_INCLUDE_SUBDOMAINS
configHSTS_MAX_AGE
configHSTS_PRELOAD
configINJECTION_DEFENSE_EXEMPT_CALLERS
configINJECTION_DEFENSE_MODE20+ patterns, bilingual (EN + DE), 6 attack categories. Sub-5 ms per scan. Three modes (off / warn / block / llm_judge) configurable via .
configINTERNAL_GATEWAY_URL
🔐 secretINTERNAL_SECRET
🔐 secretJWT_SECRET
configLLM_GATEWAY_COMPRESSION_ENABLED
configLLM_GATEWAY_MIN_TOKENSMin prompt length before compression 700
configLLM_GATEWAY_TARGET_TOKENS
configLLM_GATEWAY_URL
configLOG_LEVEL
🔐 secretM365_COPILOT_ACCESS_TOKEN
configM365_COPILOT_BRIDGE_URL
configMICROSOFT_CLIENT_ID
🔐 secretMICROSOFT_GRAPH_ACCESS_TOKEN
configOLLAMA_BASE_URL
configOLLAMA_URLLocal Ollama http://localhost:11434
🔐 secretOPENAI_API_KEY
configOPENAI_BRIDGE_PORT
configOPENAI_BRIDGE_URL
configOPENAI_CODEX_URL
configOPENAI_MODEL
configOUTPUT_DEFENSE_MODEoff / tag / cut off
configPIPER_URL
configPLUGINS_DIR🧩 Plugin system — drop-in pre/post hooks per request via
configPORT
configREDACT_PII_EXEMPT_CALLERS
configREDACT_PII_MODEoff / cloud_only / always off
configREFERENCE_INPUT_COST_PER_1K
configREFERENCE_OUTPUT_COST_PER_1K
configREVIEW_QUEUE_WEBHOOK_URL
configROUTING_RULES_PATH
configSEMANTIC_CACHE_ENABLEDEmbedding-similarity cache 0
configSEMANTIC_CACHE_MAX_ENTRIES
configSEMANTIC_CACHE_MODEL
configSEMANTIC_CACHE_THRESHOLD
configSEMANTIC_CACHE_TTL_MS
configSETTINGS_PATH
configSUBSCRIPTION_AUTO_GATEWAY
configTLS_CERT_PATH
configTLS_ENABLED
configTLS_KEY_PATH
configWATCHDOG_ENABLEDBridge watchdog auto-recovery 0
configWATCHDOG_PROBE_INTERVAL_MS
configWATCHDOG_PROBE_TIMEOUT_MS
configWATCHDOG_STALE_MS
configWHISPER_URL
configWORKSPACE_FILE
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 3 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/renefichtmueller-adaptive-llm-gateway-ll8buu)](https://m8ven.ai/mcp/renefichtmueller-adaptive-llm-gateway-ll8buu)
commit: 0880423366d235b0cbe79572ded599d740d782ee
code hash: b58a249b82f5a2c1e2b1d0af385b658056b0eac9662d8881946425df879974e1
verified: 6/10/2026, 10:25:12 AM
view raw JSON →