@sentinelsup/mcp 0.1.2 → 0.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.
Files changed (2) hide show
  1. package/index.js +9 -2
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // Sentinel MCP server — IP fraud intelligence for MCP clients (Claude Code,
2
+ // Maskbreak MCP server — IP fraud intelligence for MCP clients (Claude Code,
3
3
  // Claude Desktop, Cursor, ...). One stdio server, two tools.
4
4
  //
5
5
  // With SENTINEL_API_KEY set, lookups go through the authenticated API
@@ -9,6 +9,13 @@
9
9
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
10
10
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
11
11
  import { z } from 'zod';
12
+ import { readFileSync } from 'node:fs';
13
+
14
+ // Read the version rather than hardcoding it — it had drifted to 0.1.0 while
15
+ // the package was 0.1.2, so every client saw the wrong version.
16
+ const { version: VERSION } = JSON.parse(
17
+ readFileSync(new URL('./package.json', import.meta.url), 'utf8')
18
+ );
12
19
 
13
20
  const BASE = process.env.SENTINEL_BASE_URL || 'https://maskbreak.com';
14
21
  const API_KEY = process.env.SENTINEL_API_KEY || '';
@@ -42,7 +49,7 @@ function text(obj) {
42
49
  return { content: [{ type: 'text', text: JSON.stringify(obj, null, 2) }] };
43
50
  }
44
51
 
45
- const server = new McpServer({ name: 'sentinel', version: '0.1.0' });
52
+ const server = new McpServer({ name: 'maskbreak', version: VERSION });
46
53
 
47
54
  server.tool(
48
55
  'lookup_ip',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentinelsup/mcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "MCP server for Maskbreak — check any IP for VPNs, proxies, Tor, datacenter hosting, and fraud risk from Claude, Cursor, or any MCP client.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -16,6 +16,7 @@
16
16
  "type": "module",
17
17
  "main": "index.js",
18
18
  "bin": {
19
+ "maskbreak-mcp": "index.js",
19
20
  "sentinel-mcp": "index.js"
20
21
  },
21
22
  "files": [