vcluster-yaml-mcp-server 1.0.6 → 1.0.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcluster-yaml-mcp-server",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "MCP server for querying vcluster YAML configurations using jq",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -31,7 +31,8 @@ const mcpRequestDuration = new promClient.Histogram({
31
31
  const app = express();
32
32
 
33
33
  // Trust proxy (Cloudflare Tunnel)
34
- app.set('trust proxy', true);
34
+ // Trust exactly 1 proxy hop (cloudflared)
35
+ app.set('trust proxy', 1);
35
36
 
36
37
  // Security headers
37
38
  app.use((req, res, next) => {