quantum-suitability-validator-mcp 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/toolrank.yml +31 -0
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/server-card.json +5 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
name: ToolRank Score
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
paths:
|
|
5
|
+
- 'src/**'
|
|
6
|
+
jobs:
|
|
7
|
+
score:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v4
|
|
11
|
+
- uses: actions/setup-python@v5
|
|
12
|
+
with:
|
|
13
|
+
python-version: '3.12'
|
|
14
|
+
- name: Score tool definitions
|
|
15
|
+
run: |
|
|
16
|
+
pip install httpx
|
|
17
|
+
curl -sL https://raw.githubusercontent.com/imhiroki/toolrank/v1.0.0/packages/scoring/toolrank_score.py -o toolrank_score.py
|
|
18
|
+
python3 -c "
|
|
19
|
+
import json, sys
|
|
20
|
+
from toolrank_score import score_server, to_json
|
|
21
|
+
with open('src/tools/definitions.json') as f:
|
|
22
|
+
tools = json.load(f).get('tools', [])
|
|
23
|
+
result = to_json(score_server('ci-check', tools))
|
|
24
|
+
print(f'ToolRank Score: {result[\"average_score\"]}/100')
|
|
25
|
+
for t in result['tools']:
|
|
26
|
+
for i in t['issues']:
|
|
27
|
+
print(f' [{i[\"severity\"]}] {t[\"name\"]}: {i[\"message\"]}')
|
|
28
|
+
if result['average_score'] < 85:
|
|
29
|
+
print('::error::Score below 85 — fix tool descriptions before merging')
|
|
30
|
+
sys.exit(1)
|
|
31
|
+
"
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.14] - 2026-06-17
|
|
4
|
+
- feat: add required fields to all tool inputSchemas; add ToolRank CI gate
|
|
5
|
+
|
|
6
|
+
## [1.0.13] - 2026-06-17
|
|
7
|
+
- fix: Stripe webhook now validates payment_link ID — ignores events not belonging to this server
|
|
8
|
+
- fix: webhook route registered before express.json() — raw body now reaches signature verifier correctly
|
|
9
|
+
|
|
3
10
|
## [1.0.12] - 2026-06-16
|
|
4
11
|
- feat: ATO optimisation — purpose verb, usage context, required fields, ToolRank badge
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quantum-suitability-validator-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Quantum computing suitability validator for AI agents. Screens problems for quantum advantage before budget allocation. QUANTUM/CLASSICAL verdict in one call.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|