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
- Rename package to unscoped `codeql-development-mcp-server`
- Switch from GitHub Packages to public npmjs.org registry
- Use OIDC trusted publishing (no tokens, auto-provenance)
- Make release.yml the sole dispatch entry point with
configurable publish_npm, publish_codeql_packs, and
create_github_release flags
- Remove workflow_dispatch from child workflows (release-npm,
release-codeql, release-tag) to comply with OIDC validation
- Fix release-tag.yml: wire tag_sha output to final-sha step,
guard git add -A against staging CodeQL artifacts
- Add setup-packs.sh script (shipped in npm package) to install
CodeQL pack dependencies from bundled lock files
- Update all docs, tests, and SKILL.md references
Copy file name to clipboardExpand all lines: .github/skills/validate-ql-mcp-server-tools-queries/SKILL.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
@@ -336,7 +336,7 @@ When the STDIO transport receives an immediate EOF on stdin (e.g., via `</dev/nu
336
336
337
337
### npm Package Includes Tool Query Source Packs
338
338
339
-
The published npm package (`@advanced-security/codeql-development-mcp-server`) bundles all tool query source packs under `ql/*/tools/src/`. These are the same `.ql`, `.qll`, `.md`, `codeql-pack.yml`, and `codeql-pack.lock.yml` files — but **never** compiled `.qlx` bytecode (excluded by `server/.npmignore`).
339
+
The published npm package (`codeql-development-mcp-server`) bundles all tool query source packs under `ql/*/tools/src/`. These are the same `.ql`, `.qll`, `.md`, `codeql-pack.yml`, and `codeql-pack.lock.yml` files — but **never** compiled `.qlx` bytecode (excluded by `server/.npmignore`).
Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+40-19Lines changed: 40 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,21 @@ on:
6
6
- 'v*'
7
7
workflow_dispatch:
8
8
inputs:
9
+
create_github_release:
10
+
default: true
11
+
description: 'Create GitHub Release with distribution archive and CodeQL pack bundles. Disable to only publish packages without creating a release.'
12
+
required: false
13
+
type: boolean
9
14
publish_codeql_packs:
10
15
default: true
11
16
description: 'Publish CodeQL tool query packs to GHCR. Disable for pre-release or re-run scenarios where packs already exist.'
12
17
required: false
13
18
type: boolean
19
+
publish_npm:
20
+
default: true
21
+
description: 'Publish npm package to npmjs.org via OIDC trusted publishing. Disable for pre-release or re-run scenarios where the npm package already exists.'
22
+
required: false
23
+
type: boolean
14
24
version:
15
25
description: 'Release version (e.g., vX.Y.Z). Must start with "v".'
Copy file name to clipboardExpand all lines: README.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,21 +57,17 @@ Please note that this project is released with a [Contributor Code of Conduct](C
57
57
58
58
### Install via npm (recommended)
59
59
60
-
No repository clone needed — install from [GitHub Packages](https://github.com/advanced-security/codeql-development-mcp-server/pkgs/npm/codeql-development-mcp-server):
60
+
No repository clone needed — install from [npmjs.org](https://www.npmjs.com/package/codeql-development-mcp-server):
61
61
62
62
```bash
63
-
# One-time: route @advanced-security scope to GitHub Packages and authenticate
64
-
npm config set @advanced-security:registry https://npm.pkg.github.com
Copy file name to clipboardExpand all lines: docs/getting-started.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,23 +12,24 @@ This guide covers installation, configuration, and usage of the CodeQL Developme
12
12
13
13
### From npm (recommended)
14
14
15
-
The package is published to [GitHub Packages](https://github.com/advanced-security/codeql-development-mcp-server/pkgs/npm/codeql-development-mcp-server). Configure npm once, then install:
15
+
The package is published to the [public npm registry](https://www.npmjs.com/package/codeql-development-mcp-server). No authentication or special configuration is needed:
16
16
17
17
```bash
18
-
# One-time: route @advanced-security scope to GitHub Packages and authenticate
19
-
npm config set @advanced-security:registry https://npm.pkg.github.com
> **Note:** The npm package bundles the tool query source packs (`.ql` files and lock files), but their CodeQL library dependencies (e.g., `codeql/javascript-all`) must be fetched from GHCR on first use. Run `codeql-development-mcp-server-setup-packs` once after installing to download them (`~/.codeql/packages/`). If you skip this step, the `codeql_pack_install` MCP tool can install dependencies on demand for individual packs.
32
+
32
33
### From GitHub Releases
33
34
34
35
1. Download the latest release from [Releases](https://github.com/advanced-security/codeql-development-mcp-server/releases)
0 commit comments