mcp-devutils 2.1.0 → 2.2.0
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/pages.yml +31 -0
- package/README.md +6 -2
- package/index.js +13 -7
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
name: Deploy to GitHub Pages
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
paths: ['docs/**']
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
pages: write
|
|
12
|
+
id-token: write
|
|
13
|
+
|
|
14
|
+
concurrency:
|
|
15
|
+
group: pages
|
|
16
|
+
cancel-in-progress: true
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
deploy:
|
|
20
|
+
environment:
|
|
21
|
+
name: github-pages
|
|
22
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v4
|
|
26
|
+
- uses: actions/configure-pages@v4
|
|
27
|
+
- uses: actions/upload-pages-artifact@v3
|
|
28
|
+
with:
|
|
29
|
+
path: docs
|
|
30
|
+
- id: deployment
|
|
31
|
+
uses: actions/deploy-pages@v4
|
package/README.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
# mcp-devutils
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/mcp-devutils)
|
|
4
|
+
[](https://www.npmjs.com/package/mcp-devutils)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
6
|
|
|
5
|
-
**
|
|
7
|
+
MCP server with **44 developer utilities** for Claude Desktop, Cursor, Windsurf, and any MCP-compatible AI assistant.
|
|
8
|
+
|
|
9
|
+
**15 tools free forever** — [unlock all 44 for $5](https://buy.stripe.com/bJe00jgjugyr5Fi5cv9Zm05) (one-time, instant delivery).
|
|
6
10
|
|
|
7
11
|
## Install
|
|
8
12
|
|
package/index.js
CHANGED
|
@@ -6,7 +6,11 @@ import crypto from "crypto";
|
|
|
6
6
|
|
|
7
7
|
// --- Freemium gating ---
|
|
8
8
|
const PRO_KEY = process.env.MCP_DEVUTILS_KEY || "";
|
|
9
|
-
const
|
|
9
|
+
const VALID_KEY_HASHES = new Set([
|
|
10
|
+
"562d19b82677fb6c890735f703110c97499cd152748fd3d6a9be222e54eec652"
|
|
11
|
+
]);
|
|
12
|
+
const keyHash = crypto.createHash("sha256").update(PRO_KEY).digest("hex");
|
|
13
|
+
const isProUnlocked = VALID_KEY_HASHES.has(keyHash);
|
|
10
14
|
|
|
11
15
|
const FREE_TOOLS = new Set([
|
|
12
16
|
"uuid", "hash", "base64", "timestamp", "jwt_decode",
|
|
@@ -15,17 +19,19 @@ const FREE_TOOLS = new Set([
|
|
|
15
19
|
"slug", "escape_html"
|
|
16
20
|
]);
|
|
17
21
|
|
|
18
|
-
const UPGRADE_MSG = `🔒
|
|
22
|
+
const UPGRADE_MSG = `🔒 PRO tool — unlock all 44 developer utilities for $5 (one-time):
|
|
23
|
+
|
|
24
|
+
👉 https://buy.stripe.com/bJe00jgjugyr5Fi5cv9Zm05
|
|
19
25
|
|
|
20
|
-
|
|
26
|
+
After purchase you'll see your license key on the confirmation page.
|
|
27
|
+
Add it to your MCP config:
|
|
21
28
|
|
|
22
|
-
|
|
23
|
-
"env": { "MCP_DEVUTILS_KEY": "your-key-here" }
|
|
29
|
+
"env": { "MCP_DEVUTILS_KEY": "YOUR-KEY-HERE" }
|
|
24
30
|
|
|
25
|
-
|
|
31
|
+
Restart your MCP client and all 44 tools are unlocked instantly.`;
|
|
26
32
|
|
|
27
33
|
const server = new Server(
|
|
28
|
-
{ name: "mcp-devutils", version: "2.
|
|
34
|
+
{ name: "mcp-devutils", version: "2.2.0" },
|
|
29
35
|
{ capabilities: { tools: {} } }
|
|
30
36
|
);
|
|
31
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-devutils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "MCP server with 44 developer utilities (15 free + 29 pro). Free: UUID, hash, HMAC, base64, timestamps, JWT decode, random strings, URL encode/decode, JSON format, regex test, cron explain, color convert, HTTP status, slugify, HTML escape. Pro: nanoid, hex encode, JWT create, JSON diff/query, CSV/JSON convert, regex replace, semver compare, chmod calc, text diff, number base, lorem ipsum, word/byte count, CIDR calc, case convert, markdown TOC, env parser, IP info, password strength, data size, string escape, char info, SQL format, epoch convert, AES encrypt/decrypt, RSA keygen, scrypt hash",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|