D write-only lockdown (DEC-654): public HTTP server needs the caller's own Verae key/OAuth bearer for stamp (any scope), signup, create_user, session; login refused; no host-login fallback for writes; anonymous verify/hash_report kept, rate limited 30/min per client (burst 15), 600/min overall
This commit is contained in:
parent
a2495649ba
commit
10c8634a53
1 changed files with 427 additions and 5 deletions
|
|
@ -61,6 +61,8 @@ func main() {
|
|||
// (Mcp-Session-Id after initialize). Stateless broke tools/call for those clients.
|
||||
JSONResponse: true,
|
||||
Stateless: false,
|
||||
// DEC-654: the HTTP transport is the public server (mcp.verae.ai) unless VERAE_MCP_TRUSTED_LOCAL=1.
|
||||
Public: os.Getenv("VERAE_MCP_TRUSTED_LOCAL") != "1",
|
||||
})
|
||||
if err != nil {
|
||||
log.Fatalf("server: %v", err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue