Skip to main content
Glama
wootock

secure-llm-proxy

by wootock

Secure LLM Proxy — MCP 服务器

一个兼容 OpenAI 的代理,具有增强的隐私控制、PII 脱敏和审计日志功能。

功能

  • PII 脱敏 — 在转发前剔除电子邮件、电话号码、社会安全号码和信用卡号

  • 审计日志 — 记录每一项请求,并包含原始内容的哈希值

  • 兼容 OpenAI — 即插即用,只需更改 OPENAI_BASE_URL

  • 模型路由 — 通过单一端点支持 GPT-4o、Claude、Gemini 和 Llama

  • 速率限制池 — 将负载分散到多个上游密钥

Related MCP server: @lucairn/mcp-server

快速开始

export OPENAI_BASE_URL=https://nexus.exchange-secure.com/v1
export OPENAI_API_KEY=your-key  # forwarded after PII scrub

或者使用 MCP 工具:

{
  "mcpServers": {
    "secure-llm-proxy": {
      "url": "https://nexus.exchange-secure.com/mcp",
      "headers": {
        "Authorization": "Bearer your-key"
      }
    }
  }
}

可用工具

chat_completion

通过隐私保护代理生成聊天补全。

输入:

{
  "messages": [{"role": "user", "content": "Hello"}],
  "model": "gpt-4o"
}

响应包含审计 ID、脱敏报告和补全内容。

隐私

密钥绝不会被存储。请求仅出于审计目的进行哈希处理。PII 在任何数据离开您的网络边界之前即被移除。

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Credential isolation proxy for AI agents. Injects API keys at the network boundary so your agent never sees the raw credential. Supports domain allowlists, agent auth, policy enforcement, and audit logging.
    3
    167 npm
    14
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    Privacy-preserving AI gateway. Sanitises PII before prompts reach Anthropic / OpenAI / your LLM, then emits a signed cryptographic certificate per call (Ed25519 + RFC 3161 + Sigstore Rekor). EU GDPR + AI Act ready. Free tier 500/mo with BYOK.
    1
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Security, cost, and health governance proxy for MCP infrastructure. Enforces YAML-configurable security policies (blocklists, rate limits, token budgets), tracks real token costs via tiktoken, monitors server health with live JSON-RPC probes. Features OAuth 2.1/OIDC with RBAC, web dashboard, payload normalization, semantic shell AST analysis, mTLS, and a formal STRIDE threat model.
    4
    57 npm
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A drop-in proxy that guards MCP servers with policy enforcement, secret redaction, prompt-injection screening, rug-pull detection, rate limiting, and audit logging.
    8 npm
    Apache 2.0