Skip to content

Commit 23e3430

Browse files
data-douserCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Nathan Randall <70299490+data-douser@users.noreply.github.com>
1 parent d2cb31b commit 23e3430

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

client/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ gh ql-mcp-client <command> [flags]
3333

3434
| Flag | Default | Description |
3535
| ---------- | ----------- | ------------------------------------- |
36-
| `--mode` | `http` | MCP server transport (`stdio`/`http`) |
36+
| `--mode` | `stdio` | MCP server transport (`stdio`/`http`) |
3737
| `--host` | `localhost` | MCP server host (http mode) |
3838
| `--port` | `3000` | MCP server port (http mode) |
3939
| `--format` | `text` | Output format (`text`/`json`) |
4040

41+
Transport is configured via CLI flags. The CLI does not currently read `MCP_MODE`.
4142
### Commands
4243

4344
#### `code-scanning` (alias: `cs`)

client/integration-tests/primitives/tools/codeql_query_run/custom_log_directory/test-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"arguments": {
44
"query": "server/ql/javascript/examples/src/ExampleQuery1/ExampleQuery1.ql",
55
"database": "server/ql/javascript/examples/test/ExampleQuery1/ExampleQuery1.testproj",
6-
"logDir": "server/.tmp/query-logs/custom-test-dir",
6+
"logDir": "{{tmpdir}}/query-logs/custom-log-directory",
77
"tuple-counting": true
88
}
99
}

client/integration-tests/primitives/tools/codeql_test_run/custom_log_directory/test-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"toolName": "codeql_test_run",
33
"arguments": {
44
"tests": ["server/ql/javascript/examples/test/ExampleQuery1"],
5-
"logDir": "server/.tmp/query-logs/custom-test-dir"
5+
"logDir": "{{tmpdir}}/query-logs/codeql_test_run/custom_log_directory"
66
}
77
}

0 commit comments

Comments
 (0)