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
More prep for initial public release readiness (#24)
* Changes for initial public release readiness
This commit makes the following changes as part of the overall effort
to prepare this 'advanced-security/codeql-development-mcp-server' to
be fully ready for initial public release:
- Rename entry point to codeql-development-mcp-server.ts
- Scope all codeql-pack.yml with advanced-security/ prefix
- Add npm publishConfig for GitHub Packages
- Add CODEQL_PATH env var with PATH-prepend strategy
- New package-paths.ts module for npm-install-safe path resolution
- Logger writes all output to stderr (stdout reserved for MCP protocol)
- Fix process.cwd() usages in language-resources, language-server-eval,
temp-dir, and session-data-manager
- Fix relative cwd/test paths resolved against workspaceRootDir
- Language server spawn() honors CODEQL_PATH via PATH prepend
- Use path.delimiter for Windows portability
- Relax engines to node >=22.0.0
- Fix VERSION constant from 1.0.0 to 2.23.9
- Update server/README.md env vars and file listing
- Updates unit tests to cover source code changes
- Adds 'docs/public.md' documentation of intended public features
* fix: CODEQL_PATH tests and startup validation
- Fix codeql-path-tests CI job that timed out (~17min) on all three OSes
due to bash pipe PID tracking bug (`$!` captured subshell PID, not
server PID). Replace inline workflow steps with portable bash scripts
using background watchdog + `wait` pattern (no GNU `timeout`).
- Add startup-time validation (`validateCodeQLBinaryReachable`) that runs
`codeql version --format=terse` before tool registration. Server now
fails fast with actionable error when codeql is not on PATH and
CODEQL_PATH is not set.
- Add Test 3: verify server fails at startup when codeql is missing from
both PATH and CODEQL_PATH.
- Address 5 Copilot PR review comments:
- Implement caching in `resolveCodeQLBinary()` (short-circuit on repeat calls)
- Fix JSDoc in temp-dir.ts (`<repoRoot>` -> `<packageRoot>`)
- Gate Windows backslash test to `process.platform === 'win32'`
- Use `path.isAbsolute()` for cross-platform database path check
- Guard `additionalPacksPath` with `existsSync()` for npm-installed layouts
Scripts: server/scripts/test-codeql-path-{invalid,missing,valid}.sh
Tests: 375 passed (4 new)
* Attempted fix for cli-executor.test.ts
* Attempted fix for codeql-path-tests on windows-latest
* Address more PR review comments
* Standardize on node24 : v24.13.0
This commit:
- addresses the latest PR review comments for #24
- enforces consistent repo use of node v24.13.0 / node24
* Update package-lock.json
* Attempted fix for build-server.yml workflow
* Fix npm optional dependencies not installed from cache in CI (#25)
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: .github/agents/mcp-enabled-ql-workshop-developer.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
name: mcp-enabled-ql-workshop-developer
3
3
description: An agent that creates CodeQL query development workshops from production queries using the QL MCP Server tools. Use this agent to generate guided learning materials that teach developers how to build CodeQL queries incrementally.
4
-
model: Claude Opus 4.5 (copilot)
4
+
model: Claude Opus 4.6 (1M context) (copilot)
5
5
handoffs:
6
6
- agent: ql-mcp-tool-tester
7
7
label: Validate Solution Stage
@@ -35,7 +35,7 @@ My `mcp-enabled-ql-workshop-developer` agent:
35
35
36
36
## Core Capabilities
37
37
38
-
- Uses the QL MCP Server tools (`codeql-dev-mcp-server/*`) to create comprehensive CodeQL query development workshops.
38
+
- Uses the QL MCP Server tools (`ql-mcp/*`) to create comprehensive CodeQL query development workshops.
39
39
- Follows the [`create-codeql-query-development-workshop`](../skills/create-codeql-query-development-workshop/SKILL.md) skill to generate workshops from production-grade queries.
40
40
- Validates AST/CFG tools queries using the [`validate-ql-mcp-server-tools-queries`](../skills/validate-ql-mcp-server-tools-queries/SKILL.md) skill to ensure non-empty output.
41
41
- Leverages the `codeql` CLI for all CodeQL operations.
Copy file name to clipboardExpand all lines: .github/agents/ql-agent-skills-developer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
name: ql-agent-skills-developer
3
3
description: Develops and improves Agent Skills for the CodeQL Development MCP Server.
4
4
argument-hint: 'Provide the name(s) of the Agent Skill(s) to be created or improved under the .github/skills/ directory, along with specific requirements where available.'
Copy file name to clipboardExpand all lines: .github/agents/ql-mcp-tool-developer.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
name: ql-mcp-tool-developer
3
3
description: An agent for developing new tools and/or improving existing tools for the QL MCP Server.
4
4
argument-hint: 'Provide the name(s) of the CodeQL Development MCP Server tool(s) to be created or improved, along with specific requirements where available.'
5
-
model: Claude Opus 4.5 (copilot)
5
+
model: Claude Opus 4.6 (1M context) (copilot)
6
6
handoffs:
7
7
- label: Test the CodeQL MCP Server tools via workshop
8
8
agent: ql-mcp-tool-tester
@@ -38,7 +38,7 @@ My `ql-mcp-tool-developer` agent:
Copy file name to clipboardExpand all lines: .github/agents/ql-mcp-tool-tester.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
name: ql-mcp-tool-tester
3
3
description: An agent for testing and validating tools for the latest QL Development MCP Server.
4
4
argument-hint: 'Provide the name(s) of the CodeQL Development MCP Server tool(s) to be tested and validated, along with specific testing requirements, where available.'
0 commit comments