quantum-suitability-validator-mcp 1.0.1 → 1.0.4

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +45 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.4] - 2026-06-04
4
+
5
+ ### Added
6
+ - `src/services/redis.ts` — Upstash Redis helpers (redisGet, redisSet, redisExpire, redisKeys, appendSessionLog) with prefix `quantum`
7
+ - Free tier Redis persistence: `loadFreeTierFromRedis` / `saveFreeTierToRedis` with Math.max merge
8
+ - API key Redis persistence: `saveKeyToRedis` / `loadApiKeysFromRedis` — first durable persistence for paid keys
9
+ - `appendSessionLog` with 24h TTL; `/session-log` endpoint (requires x-stats-key)
10
+ - `free_tier_breakdown` per-IP object on `/stats` response for current month
11
+ - `getEffectiveLimit(ip)` — accounts for trial extensions in stats.trial_extensions
12
+
13
+ ### Changed
14
+ - `quantum_assess_problem` and `quantum_readiness_report` descriptions rewritten for orchestral agent runtime selection
15
+ - `VERSION` bumped to `1.0.4`
16
+
17
+ ## [1.0.3] - 2026-06-02
18
+
19
+ ### Fixed
20
+ - fix: IP extraction fixed for Cloudflare proxy headers — free tier gate now enforces correctly
21
+
22
+ ## [1.0.2] - 2026-05-25
23
+
24
+ ### Fixed
25
+ - Claude API timeout wrapper added (25s `Promise.race`) to prevent Railway 502 on complex calls
26
+ - Graceful structured error response returned on timeout instead of crashing the handler
27
+ - `max_tokens` tuned: 2000 for `quantum_assess_problem`, 3000 for `quantum_readiness_report`
28
+
3
29
  ## [1.0.0] - 2026-05-04
4
30
 
5
31
  ### Added
package/README.md CHANGED
@@ -48,6 +48,51 @@ Full auditable Quantum Readiness Report. Everything from `quantum_assess_problem
48
48
  npx quantum-suitability-validator-mcp
49
49
  ```
50
50
 
51
+ ## Harness Integration
52
+
53
+ Note: this server exposes tools at `/mcp` not the root URL.
54
+
55
+ ### Claude Code / Claude Desktop (.mcp.json)
56
+ ```json
57
+ {
58
+ "mcpServers": {
59
+ "quantum-suitability-validator": {
60
+ "type": "http",
61
+ "url": "https://quantum-suitability-validator-mcp-production.up.railway.app/mcp"
62
+ }
63
+ }
64
+ }
65
+ ```
66
+
67
+ ### LangChain (Python)
68
+ ```python
69
+ from langchain_mcp_adapters.client import MultiServerMCPClient
70
+ client = MultiServerMCPClient({
71
+ "quantum-suitability-validator": {
72
+ "url": "https://quantum-suitability-validator-mcp-production.up.railway.app/mcp",
73
+ "transport": "http"
74
+ }
75
+ })
76
+ tools = await client.get_tools()
77
+ ```
78
+
79
+ ### OpenAI Agents SDK (Python)
80
+ ```python
81
+ from agents import Agent, HostedMCPTool
82
+ agent = Agent(
83
+ name="Assistant",
84
+ tools=[HostedMCPTool(tool_config={
85
+ "type": "mcp",
86
+ "server_label": "quantum-suitability-validator",
87
+ "server_url": "https://quantum-suitability-validator-mcp-production.up.railway.app/mcp",
88
+ "require_approval": "never"
89
+ })]
90
+ )
91
+ ```
92
+
93
+ ### LangGraph
94
+ Same as LangChain above — langchain-mcp-adapters works with LangGraph natively.
95
+
51
96
  ## Pricing
52
97
 
53
98
  - **Free**: 5 `quantum_assess_problem` calls/month per IP -- no API key required
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quantum-suitability-validator-mcp",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "MCP server that screens quantum computing POC proposals against expert decision rules before budget allocation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",