@miraigent/free-ai-ops-mcp 0.1.27 → 0.1.28

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.28] - 2026-07-01
4
+
5
+ ### Fixed
6
+
7
+ - Read the MCP initialize server version from `package.json` so npm releases,
8
+ README smoke checks, and desktop MCP clients cannot drift when the package
9
+ version changes.
10
+
3
11
  ## [0.1.27] - 2026-06-30
4
12
 
5
13
  ### Added
@@ -1,6 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const serverInfo = { name: 'miraigent-free-ai-ops-mcp', version: '0.1.27' };
3
+ import { readFileSync } from 'node:fs';
4
+
5
+ const packageJson = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'));
6
+ const serverInfo = { name: 'miraigent-free-ai-ops-mcp', version: packageJson.version };
4
7
 
5
8
  const tools = [
6
9
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miraigent/free-ai-ops-mcp",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "Free MCP server for developers adding human review gates, prompt risk checks, FAQ review, and CRM note safety to AI tools.",
5
5
  "homepage": "https://github.com/Miraigent/miraigent-free-ai-ops-mcp",
6
6
  "type": "module",