sovr-mcp-proxy 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of sovr-mcp-proxy might be problematic. Click here for more details.

package/dist/index.d.ts CHANGED
@@ -49,6 +49,15 @@ interface PolicyRule {
49
49
  priority: number;
50
50
  enabled: boolean;
51
51
  }
52
+ /** Request payload for the evaluate() function */
53
+ interface EvalRequest {
54
+ channel: Channel;
55
+ action: string;
56
+ resource: string;
57
+ context?: McpContext;
58
+ }
59
+ /** Context object passed to policy evaluation */
60
+ type McpContext = Record<string, unknown>;
52
61
  interface EvalResult {
53
62
  verdict: Verdict;
54
63
  risk_score: number;
@@ -248,4 +257,4 @@ declare class McpProxy extends EventEmitter {
248
257
  */
249
258
  declare function proxyCli(args: string[]): Promise<void>;
250
259
 
251
- export { type BlockedCallInfo, type EscalatedCallInfo, type InterceptInfo, McpProxy, type McpProxyConfig, type ProxyStats, type SingleUpstreamConfig, TOOLS, VERSION, auditLog, downstreamServers, evaluate, filterToolsByTier, getProxyTools, handleToolCall, initProxy, main, parseCommand, parseSQL, proxyCli, proxyEnabled, proxyToolCall, proxyToolMap, rules, shutdownProxy, tierHasAccess };
260
+ export { type BlockedCallInfo, type Channel, type EscalatedCallInfo, type EvalRequest, type EvalResult, type InterceptInfo, type McpContext, McpProxy, type McpProxyConfig, type PolicyRule, type ProxyStats, type RiskLevel, type SingleUpstreamConfig, TOOLS, VERSION, type Verdict, auditLog, McpProxy as default, downstreamServers, evaluate, filterToolsByTier, getProxyTools, handleToolCall, initProxy, main, parseCommand, parseSQL, proxyCli, proxyEnabled, proxyToolCall, proxyToolMap, rules, shutdownProxy, tierHasAccess };
package/dist/index.js CHANGED
@@ -7546,11 +7546,13 @@ async function proxyCli(args) {
7546
7546
  });
7547
7547
  await proxy.start();
7548
7548
  }
7549
+ var index_default = McpProxy;
7549
7550
  export {
7550
7551
  McpProxy,
7551
7552
  TOOLS,
7552
7553
  VERSION,
7553
7554
  auditLog,
7555
+ index_default as default,
7554
7556
  downstreamServers,
7555
7557
  evaluate,
7556
7558
  filterToolsByTier,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sovr-mcp-proxy",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Transparent MCP Proxy that intercepts all agent tool calls with policy gate-check before forwarding. Superset of sovr-mcp-server.",
5
5
  "keywords": [
6
6
  "mcp",