@tocharianou/abuseipdb-mcp 1.0.1

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 (42) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +306 -0
  3. package/dist/index.d.ts +12 -0
  4. package/dist/index.js +148 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/src/blacklist-tools.d.ts +3 -0
  7. package/dist/src/blacklist-tools.js +41 -0
  8. package/dist/src/blacklist-tools.js.map +1 -0
  9. package/dist/src/block-tools.d.ts +3 -0
  10. package/dist/src/block-tools.js +38 -0
  11. package/dist/src/block-tools.js.map +1 -0
  12. package/dist/src/handlers/blacklist.d.ts +7 -0
  13. package/dist/src/handlers/blacklist.js +57 -0
  14. package/dist/src/handlers/blacklist.js.map +1 -0
  15. package/dist/src/handlers/block.d.ts +7 -0
  16. package/dist/src/handlers/block.js +34 -0
  17. package/dist/src/handlers/block.js.map +1 -0
  18. package/dist/src/handlers/index.d.ts +3 -0
  19. package/dist/src/handlers/index.js +4 -0
  20. package/dist/src/handlers/index.js.map +1 -0
  21. package/dist/src/handlers/ip.d.ts +14 -0
  22. package/dist/src/handlers/ip.js +106 -0
  23. package/dist/src/handlers/ip.js.map +1 -0
  24. package/dist/src/ip-tools.d.ts +3 -0
  25. package/dist/src/ip-tools.js +79 -0
  26. package/dist/src/ip-tools.js.map +1 -0
  27. package/dist/src/types/abuseipdb.d.ts +69 -0
  28. package/dist/src/types/abuseipdb.js +37 -0
  29. package/dist/src/types/abuseipdb.js.map +1 -0
  30. package/dist/src/types.d.ts +18 -0
  31. package/dist/src/types.js +21 -0
  32. package/dist/src/types.js.map +1 -0
  33. package/dist/src/utils/api.d.ts +10 -0
  34. package/dist/src/utils/api.js +30 -0
  35. package/dist/src/utils/api.js.map +1 -0
  36. package/dist/src/utils/token-limiter.d.ts +8 -0
  37. package/dist/src/utils/token-limiter.js +29 -0
  38. package/dist/src/utils/token-limiter.js.map +1 -0
  39. package/logos/logo-240.svg +13 -0
  40. package/logos/logo-48.svg +9 -0
  41. package/package.json +54 -0
  42. package/server.json +43 -0
package/server.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.TocharianOU/abuseipdb",
4
+ "description": "AbuseIPDB MCP Server for IP reputation checks, abuse confidence scoring, CIDR block analysis, and threat blacklist",
5
+ "title": "AbuseIPDB",
6
+ "websiteUrl": "https://github.com/TocharianOU/abuseipdb-mcp",
7
+ "repository": { "url": "https://github.com/TocharianOU/abuseipdb-mcp", "source": "github" },
8
+ "version": "1.0.1",
9
+ "packages": [
10
+ {
11
+ "registryType": "npm",
12
+ "registryBaseUrl": "https://registry.npmjs.org",
13
+ "identifier": "@tocharianou/abuseipdb-mcp",
14
+ "version": "1.0.1",
15
+ "transport": { "type": "stdio" },
16
+ "environmentVariables": [
17
+ { "name": "ABUSEIPDB_API_KEY", "description": "AbuseIPDB API key. Get yours at https://www.abuseipdb.com/account/api", "isRequired": false, "isSecret": true, "format": "string" },
18
+ { "name": "ABUSEIPDB_BASE_URL", "description": "Override AbuseIPDB API base URL (proxy/gateway). Defaults to https://api.abuseipdb.com/api/v2", "isRequired": false, "format": "string" },
19
+ { "name": "ABUSEIPDB_AUTH_TOKEN", "description": "Bearer token for proxy authentication. Used when ABUSEIPDB_BASE_URL points to a custom endpoint.", "isRequired": false, "isSecret": true, "format": "string" }
20
+ ]
21
+ },
22
+ {
23
+ "registryType": "npm",
24
+ "registryBaseUrl": "https://registry.npmjs.org",
25
+ "identifier": "@tocharianou/abuseipdb-mcp",
26
+ "version": "1.0.1",
27
+ "transport": { "type": "streamable-http", "url": "http://localhost:{MCP_HTTP_PORT}/mcp" },
28
+ "environmentVariables": [
29
+ { "name": "MCP_TRANSPORT", "description": "Transport mode", "isRequired": true, "format": "string", "default": "http", "choices": ["stdio", "http"] },
30
+ { "name": "MCP_HTTP_PORT", "description": "HTTP server port", "isRequired": false, "format": "number", "default": "3000" },
31
+ { "name": "ABUSEIPDB_API_KEY", "description": "AbuseIPDB API key", "isRequired": false, "isSecret": true, "format": "string" },
32
+ { "name": "ABUSEIPDB_BASE_URL", "description": "Override AbuseIPDB API base URL", "isRequired": false, "format": "string" },
33
+ { "name": "ABUSEIPDB_AUTH_TOKEN", "description": "Bearer token for proxy authentication", "isRequired": false, "isSecret": true, "format": "string" }
34
+ ]
35
+ }
36
+ ],
37
+ "_meta": {
38
+ "io.modelcontextprotocol.registry/publisher-provided": {
39
+ "tool": "manual", "version": "1.0.1",
40
+ "features": { "transport_modes": ["stdio", "http"], "proxy_support": true, "analysis_types": ["ip", "cidr", "blacklist", "bulk"] }
41
+ }
42
+ }
43
+ }