Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ function buildGateConnectorYaml(upstreamPort: number, resourceName: string, hasP
lines.push(
"",
"recording:",
" dir: \".data/gate-mcp-recordings\"",
" dir: \"../.data/gate-mcp-recordings\"",
"",
"logging:",
" level: \"info\"",
Expand Down
2 changes: 2 additions & 0 deletions test/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ test("generate command creates project files", async () => {
assert.match(gateReadme, /Point your MCP client at Gate/);
assert.match(gateConnector, /protocol: "mcp"/);
assert.match(gateConnector, /path: "policies\/mcp_tool_allowlist\.rego"/);
assert.match(gateConnector, /dir: "\.\.\/\.data\/gate-mcp-recordings"/);
assert.match(gatePolicy, /approved_tools/);
assert.match(gatePolicy, /getHealth/);
assert.match(gatePolicy, /postEcho/);
Expand All @@ -61,4 +62,5 @@ test("init command creates Gate scaffold files", async () => {

assert.match(gateReadme, /Gate MCP Gateway/);
assert.match(gateConnector, /endpoint_path: "\/mcp"/);
assert.match(gateConnector, /dir: "\.\.\/\.data\/gate-mcp-recordings"/);
});
Loading