sovr-mcp-proxy

sovr-mcp-proxy

A transparent proxy and execution firewall that intercepts and audits AI agent tool calls against configurable security policies before forwarding them to downstream MCP servers. It provides safe execution environments with features like data redaction, anti-loop protection, and unified alert dispatching.

Category
访问服务器

README

sovr-mcp-proxy

npm version License: BSL-1.1

Transparent MCP Proxy — The Execution Firewall for AI Agents.

sovr-mcp-proxy is a superset of sovr-mcp-server. It includes all MCP Server capabilities plus a transparent proxy layer that intercepts, evaluates, and audits every agent→tool call against configurable policy rules before forwarding to downstream MCP servers.

Architecture

┌─────────────┐     ┌──────────────────┐     ┌─────────────────┐
│  AI Agent    │────▶│  sovr-mcp-proxy  │────▶│ Downstream MCP  │
│ (Claude etc) │     │  Gate-Check Layer│     │ (Stripe/GitHub) │
└─────────────┘     └──────────────────┘     └─────────────────┘
                         │
                    Policy Rules
                    Permit/Receipt
                    Audit Trail

Key Differences: Proxy vs Server

Feature sovr-mcp-proxy sovr-mcp-server
286 Native Tools ✅ ✅
1630 SDK Routes ✅ ✅
Transparent Proxy Mode ✅ ❌
Downstream Server Interception ✅ ❌
Spawn/Discover/Intercept/Forward ✅ ❌
Multi-server Routing ✅ ❌
Anti-loop Protection ✅ N/A
Hop Counter ✅ N/A

Quick Start

Install

npm install -g sovr-mcp-proxy

Claude Desktop Configuration

{
  "mcpServers": {
    "sovr-proxy": {
      "command": "npx",
      "args": ["sovr-mcp-proxy"],
      "env": {
        "SOVR_API_KEY": "sovr_sk_...",
        "SOVR_PROXY_CONFIG": "/path/to/proxy.json"
      }
    }
  }
}

Proxy Configuration (proxy.json)

{
  "downstream": {
    "stripe": {
      "command": "npx",
      "args": ["@stripe/agent-toolkit"],
      "env": { "STRIPE_SECRET_KEY": "sk_test_..." }
    },
    "github": {
      "command": "npx",
      "args": ["@modelcontextprotocol/server-github"],
      "env": { "GITHUB_TOKEN": "ghp_..." }
    }
  }
}

Every tool call to stripe or github is intercepted by SOVR's gate-check layer before forwarding.

How It Works

  1. Spawn — On startup, sovr-mcp-proxy spawns all downstream MCP servers as child processes
  2. Discover — Enumerates tools from each downstream server via tools/list
  3. Intercept — When the AI agent calls any tool, the proxy evaluates it against policy rules
  4. Gate-Check — Applies permit/deny/escalate verdict based on rules
  5. Forward — Approved calls are forwarded to the downstream server; denied calls return an error

Security Features

HTTPS Enforcement

All non-localhost connections are validated for HTTPS. HTTP connections to external hosts are rejected.

Fail-Close / Fail-Local Degradation

  • Default (fail-close): If SOVR Cloud is unreachable, all gated operations are denied
  • Configurable (fail-local): Set SOVR_FAIL_MODE=fail-local to fall back to 20 built-in local rules

Three-State Degradation

Mode Behavior Use Case
strict (default) Enforce all deny/escalate verdicts Production
record-only Log violations but allow execution Emergency availability rescue
propose-only Return verdict without executing Dry-run / testing

Anti-Loop Protection

  • Hop counter prevents infinite proxy chains (default max: 3 hops)
  • Re-entry guard detects circular tool call patterns

Data Redaction

Sensitive fields (password, secret, token, key, authorization, cookie, ssn, credit_card) are automatically redacted in all logs and audit entries.

Unified Alert Dispatcher

Configurable alert routing to Webhook, Slack, PagerDuty, or OpsGenie (replaces hardcoded Telegram).

Built-in Rules (Free Tier)

Rule Effect Description
Destructive Commands DENY Blocks rm -rf, mkfs, dd, shred
DDL Operations DENY Blocks DROP, TRUNCATE, ALTER
Privilege Escalation ESCALATE Flags sudo, chmod, chown for approval
Payment APIs ESCALATE Flags Stripe, PayPal calls for approval
Deployment Ops ESCALATE Flags deploy/publish/release for approval

Environment Variables

Variable Required Description
SOVR_API_KEY No Connect to SOVR Cloud for expanded tools and persistent audit
SOVR_PROXY_CONFIG No Path to proxy configuration JSON
SOVR_RULES_FILE No Path to custom rules JSON file
SOVR_PROXY_MODE No strict / record-only / propose-only (default: strict)
SOVR_FAIL_MODE No fail-close / fail-local (default: fail-close)
SOVR_MAX_HOPS No Max proxy hop count before loop detection (default: 3)
SOVR_TENANT_ID No Tenant identifier for multi-tenant deployments
SOVR_ACTOR_ID No Actor identifier for audit trail
SOVR_SESSION_ID No Session identifier for trace correlation
SOVR_ENDPOINT No Custom Cloud endpoint (advanced)

Tier Comparison

Free Personal Starter Pro Enterprise
Tools 8 23 48 98 274
Built-in Rules 5 15+ 15+ 15+ 15+
Custom Rules 3 Unlimited Unlimited Unlimited Unlimited
Proxy Downstream 1 server Unlimited Unlimited Unlimited Unlimited
Permit/Receipt Local only Cloud Cloud Cloud Cloud
Audit Trail In-memory Persistent Persistent Persistent Persistent
Approval Workflow — Basic Full Full Full + SLA

Free tier works offline with zero configuration. Upgrade at sovr.inc/pricing.

Related Packages

License

BSL-1.1 — Code is source-available. Free for non-commercial use. Commercial use requires a license from SOVR AI.

After the Change Date (February 18, 2030), this software converts to Apache-2.0.


SOVR — Eyes on AI. sovr.inc

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选