feat: remove proxyMode — all traffic goes through mcplocal proxy
proxyMode "direct" was a security hole (leaked secrets as plaintext env vars in .mcp.json) and bypassed all mcplocal features (gating, audit, RBAC, content pipeline, namespacing). Removed from schema, API, CLI, and all tests. Old configs with proxyMode are accepted but silently stripped via Zod .transform() for backward compatibility. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- Remove proxyMode column (redundant — all traffic goes through mcplocal proxy)
|
||||
ALTER TABLE "Project" DROP COLUMN IF EXISTS "proxyMode";
|
||||
@@ -173,7 +173,6 @@ model Project {
|
||||
name String @unique
|
||||
description String @default("")
|
||||
prompt String @default("")
|
||||
proxyMode String @default("direct")
|
||||
proxyModel String @default("")
|
||||
gated Boolean @default(true)
|
||||
llmProvider String?
|
||||
|
||||
Reference in New Issue
Block a user