mcp-prompt-optimizer 3.1.2 ā 3.1.3
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/CHANGELOG.md +7 -1
- package/README.md +5 -4
- package/index.js +4 -4
- package/lib/api-key-manager.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.1.3] - 2026-04-13
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- š¦ **Version Bump**: Incremented version to 3.1.3 to ensure clean publishing and link alignment.
|
|
12
|
+
- š **Link Alignment**: Unified API key signup links to https://promptoptimizer.xyz/local-license.
|
|
13
|
+
|
|
8
14
|
## [3.1.2] - 2026-04-12
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -62,7 +68,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
62
68
|
- ā
**Production-only**: Package now enforces backend connectivity
|
|
63
69
|
|
|
64
70
|
### Migration from v2.x
|
|
65
|
-
- All users must have valid API keys from https://promptoptimizer
|
|
71
|
+
- All users must have valid API keys from https://promptoptimizer.xyz/pricing
|
|
66
72
|
- `OPTIMIZER_DEV_MODE=true` no longer works (intentionally disabled)
|
|
67
73
|
- Offline usage no longer supported (requires active backend connection)
|
|
68
74
|
- Short-lived caching (1-2 hours) replaces long-term caching
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# MCP Prompt Optimizer v3.1.
|
|
1
|
+
# MCP Prompt Optimizer v3.1.3
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/mcp-prompt-optimizer)
|
|
4
4
|
[](LICENSE)
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
**1. Get your API key (required):**
|
|
28
28
|
|
|
29
|
-
- **š Free Tier** (`sk-local-*`): 5 daily optimizations ā [promptoptimizer
|
|
29
|
+
- **š Free Tier** (`sk-local-*`): 5 daily optimizations ā [promptoptimizer.xyz/pricing](https://promptoptimizer.xyz/pricing)
|
|
30
30
|
- **ā Paid Tiers** (`sk-opt-*`, `sk-team-*`): Higher quotas, team features, advanced capabilities
|
|
31
31
|
|
|
32
32
|
**2. Install:**
|
|
@@ -431,7 +431,7 @@ Windsurf, Cline, VS Code, Zed, Replit, JetBrains IDEs, and Neovim are all suppor
|
|
|
431
431
|
|
|
432
432
|
- š **Documentation:** [promptoptimizer-blog.vercel.app/docs](https://promptoptimizer-blog.vercel.app/docs)
|
|
433
433
|
- š **Dashboard & model config:** [promptoptimizer-blog.vercel.app/dashboard](https://promptoptimizer-blog.vercel.app/dashboard)
|
|
434
|
-
- š **Pricing & API Keys
|
|
434
|
+
- š **Pricing & API Keys**: [promptoptimizer.xyz/local-license](https://promptoptimizer.xyz/local-license)
|
|
435
435
|
- š **Issues:** [GitHub Issues](https://github.com/prompt-optimizer/mcp-prompt-optimizer/issues)
|
|
436
436
|
- š **License:** [Commercial License](LICENSE)
|
|
437
437
|
- š **Security:** [Security Policy](SECURITY.md)
|
|
@@ -443,4 +443,5 @@ Windsurf, Cline, VS Code, Zed, Replit, JetBrains IDEs, and Neovim are all suppor
|
|
|
443
443
|
|
|
444
444
|
---
|
|
445
445
|
|
|
446
|
-
*Get started with 5 free optimizations at [promptoptimizer
|
|
446
|
+
*Get started with 5 free optimizations at [promptoptimizer.xyz/pricing](https://promptoptimizer.xyz/pricing)*
|
|
447
|
+
at [promptoptimizer.xyz/pricing](https://promptoptimizer.xyz/pricing)*
|
package/index.js
CHANGED
|
@@ -1259,10 +1259,10 @@ class MCPPromptOptimizer {
|
|
|
1259
1259
|
const remaining = limit - used;
|
|
1260
1260
|
if (remaining <= 0) {
|
|
1261
1261
|
output += `\nā **Quota Exhausted** ā You have no optimizations remaining this month.\n`;
|
|
1262
|
-
output += `Upgrade at https://promptoptimizer
|
|
1262
|
+
output += `Upgrade at https://promptoptimizer.xyz/local-license\n`;
|
|
1263
1263
|
output += `*(Quota resets at the start of your next billing cycle)*\n`;
|
|
1264
1264
|
} else if (percentage >= 90) {
|
|
1265
|
-
output += `\nā ļø **Critical** ā ${remaining} optimization${remaining === 1 ? '' : 's'} remaining. Upgrade at https://promptoptimizer
|
|
1265
|
+
output += `\nā ļø **Critical** ā ${remaining} optimization${remaining === 1 ? '' : 's'} remaining. Upgrade at https://promptoptimizer.xyz/local-license\n`;
|
|
1266
1266
|
} else if (percentage >= 75) {
|
|
1267
1267
|
output += `\nā ļø **Warning** ā Approaching your monthly limit.\n`;
|
|
1268
1268
|
}
|
|
@@ -1289,7 +1289,7 @@ class MCPPromptOptimizer {
|
|
|
1289
1289
|
output += `\n## š **Account Management**\n`;
|
|
1290
1290
|
output += `- Dashboard: https://promptoptimizer-blog.vercel.app/dashboard\n`;
|
|
1291
1291
|
output += `- Analytics: https://promptoptimizer-blog.vercel.app/analytics\n`;
|
|
1292
|
-
output += `- Upgrade: https://promptoptimizer
|
|
1292
|
+
output += `- Upgrade: https://promptoptimizer.xyz/local-license\n`;
|
|
1293
1293
|
|
|
1294
1294
|
return output;
|
|
1295
1295
|
}
|
|
@@ -1447,7 +1447,7 @@ async function startValidatedMCPServer() {
|
|
|
1447
1447
|
try {
|
|
1448
1448
|
const apiKey = process.env.OPTIMIZER_API_KEY;
|
|
1449
1449
|
if (!apiKey) {
|
|
1450
|
-
console.error('ā API key required. Get one at https://promptoptimizer
|
|
1450
|
+
console.error('ā API key required. Get one at https://promptoptimizer.xyz/local-license');
|
|
1451
1451
|
process.exit(1);
|
|
1452
1452
|
}
|
|
1453
1453
|
|
package/lib/api-key-manager.js
CHANGED
|
@@ -578,7 +578,7 @@ class CloudApiKeyManager {
|
|
|
578
578
|
|
|
579
579
|
throw new Error(
|
|
580
580
|
'API key required. Set the OPTIMIZER_API_KEY environment variable.\n' +
|
|
581
|
-
'Get your API key at: https://promptoptimizer
|
|
581
|
+
'Get your API key at: https://promptoptimizer.xyz/local-license'
|
|
582
582
|
);
|
|
583
583
|
}
|
|
584
584
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-prompt-optimizer",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "Professional cloud-based MCP server for AI-powered prompt optimization with intelligent context detection, Bayesian optimization, AG-UI real-time optimization, template auto-save, optimization insights, personal model configuration via WebUI, team collaboration, enterprise-grade features, production resilience, and startup validation. Universal compatibility with Claude Desktop, Cursor, Windsurf, and 17+ MCP clients.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
{
|
|
125
125
|
"name": "OPTIMIZER_API_KEY",
|
|
126
126
|
"format": "sk-opt-*, sk-team-*, sk-dev-*, or sk-local-*",
|
|
127
|
-
"description": "Cloud API key from promptoptimizer.xyz/
|
|
127
|
+
"description": "Cloud API key from promptoptimizer.xyz/local-license or development key for testing",
|
|
128
128
|
"required": true
|
|
129
129
|
}
|
|
130
130
|
],
|