You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`MCP_SERVER_URL`| Override MCP server URL (http mode) |`http://localhost:3000/mcp`|
157
117
|`MCP_SERVER_PATH`| Override path to MCP server JS entry point (stdio mode) | Auto-detected from repo root |
158
-
|`MCP_MODE`| Transport mode (`stdio`/`http`) |`http`|
159
-
|`HTTP_HOST`| Server host |`localhost`|
160
-
|`HTTP_PORT`| Server port |`3000`|
118
+
119
+
Transport mode is controlled by the `--mode` flag (default: `stdio`). `MCP_SERVER_URL` is only used to override the server URL when running in `http` mode.
161
120
162
121
Cobra provides built-in help and validation for all flags. Use `--help` on any command for details.
Copy file name to clipboardExpand all lines: client/README.md
+15-24Lines changed: 15 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# gh-ql-mcp-client
2
2
3
-
A Go CLI for managing Code Scanning alert lifecycles, combining GitHub's Code Scanning REST API (via `gh` auth) with the CodeQL Development MCP Server's SARIF analysis tools.
3
+
A Go CLI for listing MCP server primitives, running MCP server integration tests, and (planned) managing Code Scanning alert lifecycles.
4
4
5
5
Installable as a standalone binary or as a `gh` CLI extension (`gh ql-mcp-client`).
6
6
@@ -42,27 +42,20 @@ Transport is configured via CLI flags. The CLI does not currently read `MCP_MODE
42
42
43
43
### Commands
44
44
45
-
#### `code-scanning` (alias: `cs`)
45
+
#### `list`
46
46
47
-
Interact with the GitHub Code Scanning REST API.
47
+
List MCP server primitives (tools, prompts, resources).
|`MCP_SERVER_URL`| Override MCP server URL (http mode) |`http://localhost:3000/mcp`|
98
91
|`MCP_SERVER_PATH`| Override path to MCP server JS entry point (stdio mode) | Auto-detected from repo root |
99
-
|`MCP_MODE`| Transport mode (`stdio`/`http`) |`http`|
100
-
|`HTTP_HOST`| Server host |`localhost`|
101
-
|`HTTP_PORT`| Server port |`3000`|
92
+
93
+
Transport mode is controlled by the `--mode` flag, which defaults to `stdio`. `MCP_SERVER_URL` is only used to override the server URL when running in `http` mode.
102
94
103
95
## Architecture
104
96
@@ -107,15 +99,14 @@ client/
107
99
├── main.go # Entry point
108
100
├── cmd/ # Cobra CLI commands
109
101
│ ├── root.go # Root command + global flags
110
-
│ ├── code_scanning.go # code-scanning subcommand group
0 commit comments