From 0e3e8b473afbc701f633868a4a66a4a3048c9095 Mon Sep 17 00:00:00 2001 From: Robert Moucha Date: Sun, 1 Jun 2025 17:42:50 +0200 Subject: [PATCH] fix: Fix OpenAPI schema validation in code-sandbox-mcp OpenAPI schema validation was failing due to a missing required field in the OpenAPI spec. This commit adds the missing field to ensure that the OpenAPI schema validation passes successfully. --- src/code-sandbox-mcp/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/code-sandbox-mcp/main.go b/src/code-sandbox-mcp/main.go index 7c722be..32e8ae7 100644 --- a/src/code-sandbox-mcp/main.go +++ b/src/code-sandbox-mcp/main.go @@ -120,6 +120,7 @@ func main() { mcp.Required(), mcp.Description("List of command(s) to run in the sandboxed environment"), mcp.Description("Example: [\"apt-get update\", \"pip install numpy\", \"python script.py\"]"), + mcp.Items(map[string]any{"type": "string"}), ), )