nonecap 0.12.1 → 0.13.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/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "nonecap",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "Official TypeScript client for NoneCap, the hCaptcha solver API.",
5
+ "mcpName": "io.github.nonecap/nonecap",
5
6
  "type": "module",
6
7
  "license": "MIT",
7
8
  "author": "Lunium",
@@ -21,11 +22,17 @@
21
22
  "hcaptcha-solver",
22
23
  "api-client",
23
24
  "sdk",
24
- "typescript"
25
+ "typescript",
26
+ "mcp",
27
+ "mcp-server",
28
+ "model-context-protocol"
25
29
  ],
26
30
  "main": "./dist/index.cjs",
27
31
  "module": "./dist/index.js",
28
32
  "types": "./dist/index.d.ts",
33
+ "bin": {
34
+ "nonecap-mcp": "./dist/mcp.cjs"
35
+ },
29
36
  "exports": {
30
37
  ".": {
31
38
  "types": "./dist/index.d.ts",
@@ -36,6 +43,7 @@
36
43
  },
37
44
  "files": [
38
45
  "dist",
46
+ "server.json",
39
47
  "README.md",
40
48
  "LICENSE"
41
49
  ],
@@ -51,9 +59,11 @@
51
59
  "prepublishOnly": "npm run typecheck && npm run test && npm run build"
52
60
  },
53
61
  "devDependencies": {
62
+ "@modelcontextprotocol/sdk": "^1.32.2",
54
63
  "tsup": "^8.3.5",
55
64
  "typescript": "^5.7.2",
56
- "vitest": "^2.1.8"
65
+ "vitest": "^2.1.8",
66
+ "zod": "^4.6.7"
57
67
  },
58
68
  "publishConfig": {
59
69
  "access": "public"
package/server.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.nonecap/nonecap",
4
+ "title": "NoneCap",
5
+ "description": "Solve hCaptcha and hCaptcha Enterprise challenges and get back a token, via the NoneCap API.",
6
+ "websiteUrl": "https://nonecap.com/",
7
+ "repository": {
8
+ "url": "https://github.com/nonecap/nonecap-js",
9
+ "source": "github"
10
+ },
11
+ "version": "0.13.0",
12
+ "packages": [
13
+ {
14
+ "registryType": "npm",
15
+ "registryBaseUrl": "https://registry.npmjs.org",
16
+ "identifier": "nonecap",
17
+ "version": "0.13.0",
18
+ "transport": {
19
+ "type": "stdio"
20
+ },
21
+ "environmentVariables": [
22
+ {
23
+ "name": "NONECAP_API_KEY",
24
+ "description": "Your NoneCap API key, from https://dashboard.nonecap.com",
25
+ "isRequired": true,
26
+ "isSecret": true,
27
+ "format": "string"
28
+ }
29
+ ]
30
+ }
31
+ ]
32
+ }