@uptimebolt/mcp-server 1.0.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.
Files changed (71) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +186 -0
  3. package/dist/api-client.d.ts +11 -0
  4. package/dist/api-client.d.ts.map +1 -0
  5. package/dist/api-client.js +80 -0
  6. package/dist/api-client.js.map +1 -0
  7. package/dist/formatters.d.ts +17 -0
  8. package/dist/formatters.d.ts.map +1 -0
  9. package/dist/formatters.js +300 -0
  10. package/dist/formatters.js.map +1 -0
  11. package/dist/http-server.d.ts +3 -0
  12. package/dist/http-server.d.ts.map +1 -0
  13. package/dist/http-server.js +148 -0
  14. package/dist/http-server.js.map +1 -0
  15. package/dist/index.d.ts +4 -0
  16. package/dist/index.d.ts.map +1 -0
  17. package/dist/index.js +22 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/logger.d.ts +4 -0
  20. package/dist/logger.d.ts.map +1 -0
  21. package/dist/logger.js +77 -0
  22. package/dist/logger.js.map +1 -0
  23. package/dist/server.d.ts +3 -0
  24. package/dist/server.d.ts.map +1 -0
  25. package/dist/server.js +34 -0
  26. package/dist/server.js.map +1 -0
  27. package/dist/tools/get-deployments.d.ts +20 -0
  28. package/dist/tools/get-deployments.d.ts.map +1 -0
  29. package/dist/tools/get-deployments.js +27 -0
  30. package/dist/tools/get-deployments.js.map +1 -0
  31. package/dist/tools/get-executive-summary.d.ts +19 -0
  32. package/dist/tools/get-executive-summary.d.ts.map +1 -0
  33. package/dist/tools/get-executive-summary.js +19 -0
  34. package/dist/tools/get-executive-summary.js.map +1 -0
  35. package/dist/tools/get-incidents.d.ts +22 -0
  36. package/dist/tools/get-incidents.d.ts.map +1 -0
  37. package/dist/tools/get-incidents.js +56 -0
  38. package/dist/tools/get-incidents.js.map +1 -0
  39. package/dist/tools/get-monitor-health.d.ts +20 -0
  40. package/dist/tools/get-monitor-health.d.ts.map +1 -0
  41. package/dist/tools/get-monitor-health.js +48 -0
  42. package/dist/tools/get-monitor-health.js.map +1 -0
  43. package/dist/tools/get-monitor-metrics.d.ts +19 -0
  44. package/dist/tools/get-monitor-metrics.d.ts.map +1 -0
  45. package/dist/tools/get-monitor-metrics.js +42 -0
  46. package/dist/tools/get-monitor-metrics.js.map +1 -0
  47. package/dist/tools/get-monitors.d.ts +19 -0
  48. package/dist/tools/get-monitors.d.ts.map +1 -0
  49. package/dist/tools/get-monitors.js +44 -0
  50. package/dist/tools/get-monitors.js.map +1 -0
  51. package/dist/tools/get-predictions.d.ts +20 -0
  52. package/dist/tools/get-predictions.d.ts.map +1 -0
  53. package/dist/tools/get-predictions.js +36 -0
  54. package/dist/tools/get-predictions.js.map +1 -0
  55. package/dist/tools/get-service-status.d.ts +19 -0
  56. package/dist/tools/get-service-status.d.ts.map +1 -0
  57. package/dist/tools/get-service-status.js +47 -0
  58. package/dist/tools/get-service-status.js.map +1 -0
  59. package/dist/tools/is-safe-to-deploy.d.ts +19 -0
  60. package/dist/tools/is-safe-to-deploy.d.ts.map +1 -0
  61. package/dist/tools/is-safe-to-deploy.js +148 -0
  62. package/dist/tools/is-safe-to-deploy.js.map +1 -0
  63. package/dist/tools/run-root-cause-analysis.d.ts +21 -0
  64. package/dist/tools/run-root-cause-analysis.d.ts.map +1 -0
  65. package/dist/tools/run-root-cause-analysis.js +40 -0
  66. package/dist/tools/run-root-cause-analysis.js.map +1 -0
  67. package/dist/tools.d.ts +288 -0
  68. package/dist/tools.d.ts.map +1 -0
  69. package/dist/tools.js +146 -0
  70. package/dist/tools.js.map +1 -0
  71. package/package.json +70 -0
@@ -0,0 +1,288 @@
1
+ export declare const TOOLS: ({
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: "object";
6
+ properties: {
7
+ service_id: {
8
+ type: string;
9
+ description: string;
10
+ };
11
+ service_name: {
12
+ type: string;
13
+ description: string;
14
+ };
15
+ monitor_id?: undefined;
16
+ min_confidence?: undefined;
17
+ status?: undefined;
18
+ hours?: undefined;
19
+ include_rca?: undefined;
20
+ monitor_name?: undefined;
21
+ period?: undefined;
22
+ include_correlations?: undefined;
23
+ incident_id?: undefined;
24
+ language?: undefined;
25
+ tier?: undefined;
26
+ type?: undefined;
27
+ };
28
+ };
29
+ } | {
30
+ name: string;
31
+ description: string;
32
+ inputSchema: {
33
+ type: "object";
34
+ properties: {
35
+ service_id: {
36
+ type: string;
37
+ description: string;
38
+ };
39
+ monitor_id: {
40
+ type: string;
41
+ description: string;
42
+ };
43
+ min_confidence: {
44
+ type: string;
45
+ description: string;
46
+ };
47
+ service_name?: undefined;
48
+ status?: undefined;
49
+ hours?: undefined;
50
+ include_rca?: undefined;
51
+ monitor_name?: undefined;
52
+ period?: undefined;
53
+ include_correlations?: undefined;
54
+ incident_id?: undefined;
55
+ language?: undefined;
56
+ tier?: undefined;
57
+ type?: undefined;
58
+ };
59
+ };
60
+ } | {
61
+ name: string;
62
+ description: string;
63
+ inputSchema: {
64
+ type: "object";
65
+ properties: {
66
+ service_id: {
67
+ type: string;
68
+ description: string;
69
+ };
70
+ monitor_id: {
71
+ type: string;
72
+ description: string;
73
+ };
74
+ status: {
75
+ type: string;
76
+ enum: string[];
77
+ description: string;
78
+ };
79
+ hours: {
80
+ type: string;
81
+ description: string;
82
+ };
83
+ include_rca: {
84
+ type: string;
85
+ description: string;
86
+ };
87
+ service_name?: undefined;
88
+ min_confidence?: undefined;
89
+ monitor_name?: undefined;
90
+ period?: undefined;
91
+ include_correlations?: undefined;
92
+ incident_id?: undefined;
93
+ language?: undefined;
94
+ tier?: undefined;
95
+ type?: undefined;
96
+ };
97
+ };
98
+ } | {
99
+ name: string;
100
+ description: string;
101
+ inputSchema: {
102
+ type: "object";
103
+ properties: {
104
+ monitor_id: {
105
+ type: string;
106
+ description: string;
107
+ };
108
+ monitor_name: {
109
+ type: string;
110
+ description: string;
111
+ };
112
+ period: {
113
+ type: string;
114
+ enum: string[];
115
+ description: string;
116
+ };
117
+ service_id?: undefined;
118
+ service_name?: undefined;
119
+ min_confidence?: undefined;
120
+ status?: undefined;
121
+ hours?: undefined;
122
+ include_rca?: undefined;
123
+ include_correlations?: undefined;
124
+ incident_id?: undefined;
125
+ language?: undefined;
126
+ tier?: undefined;
127
+ type?: undefined;
128
+ };
129
+ };
130
+ } | {
131
+ name: string;
132
+ description: string;
133
+ inputSchema: {
134
+ type: "object";
135
+ properties: {
136
+ service_id: {
137
+ type: string;
138
+ description: string;
139
+ };
140
+ hours: {
141
+ type: string;
142
+ description: string;
143
+ };
144
+ include_correlations: {
145
+ type: string;
146
+ description: string;
147
+ };
148
+ service_name?: undefined;
149
+ monitor_id?: undefined;
150
+ min_confidence?: undefined;
151
+ status?: undefined;
152
+ include_rca?: undefined;
153
+ monitor_name?: undefined;
154
+ period?: undefined;
155
+ incident_id?: undefined;
156
+ language?: undefined;
157
+ tier?: undefined;
158
+ type?: undefined;
159
+ };
160
+ };
161
+ } | {
162
+ name: string;
163
+ description: string;
164
+ inputSchema: {
165
+ type: "object";
166
+ properties: {
167
+ incident_id: {
168
+ type: string;
169
+ description: string;
170
+ };
171
+ service_id: {
172
+ type: string;
173
+ description: string;
174
+ };
175
+ language: {
176
+ type: string;
177
+ enum: string[];
178
+ description: string;
179
+ };
180
+ tier: {
181
+ type: string;
182
+ enum: string[];
183
+ description: string;
184
+ };
185
+ service_name?: undefined;
186
+ monitor_id?: undefined;
187
+ min_confidence?: undefined;
188
+ status?: undefined;
189
+ hours?: undefined;
190
+ include_rca?: undefined;
191
+ monitor_name?: undefined;
192
+ period?: undefined;
193
+ include_correlations?: undefined;
194
+ type?: undefined;
195
+ };
196
+ };
197
+ } | {
198
+ name: string;
199
+ description: string;
200
+ inputSchema: {
201
+ type: "object";
202
+ properties: {
203
+ hours: {
204
+ type: string;
205
+ description: string;
206
+ };
207
+ language: {
208
+ type: string;
209
+ enum: string[];
210
+ description: string;
211
+ };
212
+ service_id?: undefined;
213
+ service_name?: undefined;
214
+ monitor_id?: undefined;
215
+ min_confidence?: undefined;
216
+ status?: undefined;
217
+ include_rca?: undefined;
218
+ monitor_name?: undefined;
219
+ period?: undefined;
220
+ include_correlations?: undefined;
221
+ incident_id?: undefined;
222
+ tier?: undefined;
223
+ type?: undefined;
224
+ };
225
+ };
226
+ } | {
227
+ name: string;
228
+ description: string;
229
+ inputSchema: {
230
+ type: "object";
231
+ properties: {
232
+ status: {
233
+ type: string;
234
+ enum: string[];
235
+ description: string;
236
+ };
237
+ type: {
238
+ type: string;
239
+ enum: string[];
240
+ description: string;
241
+ };
242
+ service_id?: undefined;
243
+ service_name?: undefined;
244
+ monitor_id?: undefined;
245
+ min_confidence?: undefined;
246
+ hours?: undefined;
247
+ include_rca?: undefined;
248
+ monitor_name?: undefined;
249
+ period?: undefined;
250
+ include_correlations?: undefined;
251
+ incident_id?: undefined;
252
+ language?: undefined;
253
+ tier?: undefined;
254
+ };
255
+ };
256
+ } | {
257
+ name: string;
258
+ description: string;
259
+ inputSchema: {
260
+ type: "object";
261
+ properties: {
262
+ monitor_id: {
263
+ type: string;
264
+ description: string;
265
+ };
266
+ monitor_name: {
267
+ type: string;
268
+ description: string;
269
+ };
270
+ service_id?: undefined;
271
+ service_name?: undefined;
272
+ min_confidence?: undefined;
273
+ status?: undefined;
274
+ hours?: undefined;
275
+ include_rca?: undefined;
276
+ period?: undefined;
277
+ include_correlations?: undefined;
278
+ incident_id?: undefined;
279
+ language?: undefined;
280
+ tier?: undefined;
281
+ type?: undefined;
282
+ };
283
+ };
284
+ })[];
285
+ export declare const HANDLERS: Record<string, (args: any, context?: {
286
+ authToken?: string;
287
+ }) => Promise<any>>;
288
+ //# sourceMappingURL=tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuHjB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAWlG,CAAC"}
package/dist/tools.js ADDED
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HANDLERS = exports.TOOLS = void 0;
4
+ const get_service_status_1 = require("./tools/get-service-status");
5
+ const get_predictions_1 = require("./tools/get-predictions");
6
+ const get_incidents_1 = require("./tools/get-incidents");
7
+ const get_monitor_health_1 = require("./tools/get-monitor-health");
8
+ const get_deployments_1 = require("./tools/get-deployments");
9
+ const run_root_cause_analysis_1 = require("./tools/run-root-cause-analysis");
10
+ const is_safe_to_deploy_1 = require("./tools/is-safe-to-deploy");
11
+ const get_executive_summary_1 = require("./tools/get-executive-summary");
12
+ const get_monitors_1 = require("./tools/get-monitors");
13
+ const get_monitor_metrics_1 = require("./tools/get-monitor-metrics");
14
+ exports.TOOLS = [
15
+ {
16
+ name: "get_service_status",
17
+ description: "Get the current health status of a service or all services. Returns health score, monitor status, and active incidents.",
18
+ inputSchema: {
19
+ type: "object",
20
+ properties: {
21
+ service_id: { type: "string", description: "UUID of the service. Omit to get all services." },
22
+ service_name: { type: "string", description: "Name of the service (fuzzy match). Alternative to service_id." },
23
+ },
24
+ },
25
+ },
26
+ {
27
+ name: "get_predictions",
28
+ description: "Get active AI predictions for monitors or services. Shows predicted problems with confidence levels.",
29
+ inputSchema: {
30
+ type: "object",
31
+ properties: {
32
+ service_id: { type: "string", description: "Filter predictions by service UUID." },
33
+ monitor_id: { type: "string", description: "Filter predictions by monitor UUID." },
34
+ min_confidence: { type: "number", description: "Minimum confidence threshold (0-100). Default: 60." },
35
+ },
36
+ },
37
+ },
38
+ {
39
+ name: "get_incidents",
40
+ description: "Get incidents with optional filters. Includes root cause analysis if available.",
41
+ inputSchema: {
42
+ type: "object",
43
+ properties: {
44
+ service_id: { type: "string", description: "Filter incidents by service UUID." },
45
+ monitor_id: { type: "string", description: "Filter incidents by monitor UUID." },
46
+ status: { type: "string", enum: ["active", "resolved", "detecting", "investigating", "identified", "resolving", "monitoring", "all"], description: "Filter by status. 'active' = all non-resolved. Default: active." },
47
+ hours: { type: "number", description: "Look back N hours. Default: 24." },
48
+ include_rca: { type: "boolean", description: "Include root cause analysis details. Default: true." },
49
+ },
50
+ },
51
+ },
52
+ {
53
+ name: "get_monitor_health",
54
+ description: "Get detailed health information for a specific monitor including response time, uptime, and active predictions.",
55
+ inputSchema: {
56
+ type: "object",
57
+ properties: {
58
+ monitor_id: { type: "string", description: "UUID of the monitor." },
59
+ monitor_name: { type: "string", description: "Name of the monitor (fuzzy match). Alternative to monitor_id." },
60
+ period: { type: "string", enum: ["1h", "6h", "24h", "7d", "30d"], description: "Time period for statistics. Default: 24h." },
61
+ },
62
+ },
63
+ },
64
+ {
65
+ name: "get_deployments",
66
+ description: "Get recent deployments and their correlation with incidents. Shows which deploys potentially caused issues.",
67
+ inputSchema: {
68
+ type: "object",
69
+ properties: {
70
+ service_id: { type: "string", description: "Filter deployments by service UUID." },
71
+ hours: { type: "number", description: "Look back N hours. Default: 24." },
72
+ include_correlations: { type: "boolean", description: "Include incident correlations. Default: true." },
73
+ },
74
+ },
75
+ },
76
+ {
77
+ name: "run_root_cause_analysis",
78
+ description: "Run an AI-powered root cause analysis for an incident or service. Analyzes dependencies, cascading failures, and deployment correlations.",
79
+ inputSchema: {
80
+ type: "object",
81
+ properties: {
82
+ incident_id: { type: "string", description: "UUID of the incident to analyze." },
83
+ service_id: { type: "string", description: "UUID of the service to analyze (alternative to incident_id)." },
84
+ language: { type: "string", enum: ["es", "en"], description: "Response language. Default: es." },
85
+ tier: { type: "string", enum: ["basic", "standard", "deep", "premium"], description: "Analysis depth tier. Default: standard." },
86
+ },
87
+ },
88
+ },
89
+ {
90
+ name: "is_safe_to_deploy",
91
+ description: "Check if it's safe to deploy right now based on current service health, active predictions, and recent incidents. Useful for CI/CD pipeline integration.",
92
+ inputSchema: {
93
+ type: "object",
94
+ properties: {
95
+ service_id: { type: "string", description: "UUID of the service to check." },
96
+ service_name: { type: "string", description: "Name of the service (fuzzy match)." },
97
+ },
98
+ },
99
+ },
100
+ {
101
+ name: "get_executive_summary",
102
+ description: "Get an executive summary of infrastructure health for a time period. Ideal for daily standups, weekly reports, or status updates.",
103
+ inputSchema: {
104
+ type: "object",
105
+ properties: {
106
+ hours: { type: "number", description: "Period to summarize in hours. Default: 12." },
107
+ language: { type: "string", enum: ["es", "en"], description: "Response language. Default: es." },
108
+ },
109
+ },
110
+ },
111
+ {
112
+ name: "get_monitors",
113
+ description: "List all monitors with optional filtering by status or type. Returns name, URL, operational status, response time, and uptime for each monitor.",
114
+ inputSchema: {
115
+ type: "object",
116
+ properties: {
117
+ status: { type: "string", enum: ["all", "up", "down", "degraded", "paused", "maintenance", "active"], description: "Filter by status. 'up/down/degraded' filter by operational status, 'paused/maintenance/active' by admin status. Default: all." },
118
+ type: { type: "string", enum: ["http", "tcp", "dns", "database", "email", "synthetic", "push", "ping"], description: "Filter by monitor type." },
119
+ },
120
+ },
121
+ },
122
+ {
123
+ name: "get_monitor_metrics",
124
+ description: "Get detailed metrics summary for a specific monitor including response time stats, uptime percentage, and error breakdown.",
125
+ inputSchema: {
126
+ type: "object",
127
+ properties: {
128
+ monitor_id: { type: "string", description: "UUID of the monitor." },
129
+ monitor_name: { type: "string", description: "Name of the monitor (fuzzy match). Alternative to monitor_id." },
130
+ },
131
+ },
132
+ },
133
+ ];
134
+ exports.HANDLERS = {
135
+ get_service_status: get_service_status_1.handleGetServiceStatus,
136
+ get_predictions: get_predictions_1.handleGetPredictions,
137
+ get_incidents: get_incidents_1.handleGetIncidents,
138
+ get_monitor_health: get_monitor_health_1.handleGetMonitorHealth,
139
+ get_deployments: get_deployments_1.handleGetDeployments,
140
+ run_root_cause_analysis: run_root_cause_analysis_1.handleRunRootCauseAnalysis,
141
+ is_safe_to_deploy: is_safe_to_deploy_1.handleIsSafeToDeploy,
142
+ get_executive_summary: get_executive_summary_1.handleGetExecutiveSummary,
143
+ get_monitors: get_monitors_1.handleGetMonitors,
144
+ get_monitor_metrics: get_monitor_metrics_1.handleGetMonitorMetrics,
145
+ };
146
+ //# sourceMappingURL=tools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":";;;AAAA,mEAAoE;AACpE,6DAA+D;AAC/D,yDAA2D;AAC3D,mEAAoE;AACpE,6DAA+D;AAC/D,6EAA6E;AAC7E,iEAAiE;AACjE,yEAA0E;AAC1E,uDAAyD;AACzD,qEAAsE;AAEzD,QAAA,KAAK,GAAG;IACnB;QACE,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,yHAAyH;QACtI,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,gDAAgD,EAAE;gBAC7F,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,+DAA+D,EAAE;aAC/G;SACF;KACF;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE,sGAAsG;QACnH,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,q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1C,eAAe,EAAE,sCAAoB;IACrC,aAAa,EAAE,kCAAkB;IACjC,kBAAkB,EAAE,2CAAsB;IAC1C,eAAe,EAAE,sCAAoB;IACrC,uBAAuB,EAAE,oDAA0B;IACnD,iBAAiB,EAAE,wCAAoB;IACvC,qBAAqB,EAAE,iDAAyB;IAChD,YAAY,EAAE,gCAAiB;IAC/B,mBAAmB,EAAE,6CAAuB;CAC7C,CAAC"}
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@uptimebolt/mcp-server",
3
+ "version": "1.0.0",
4
+ "description": "UptimeBolt MCP Server — AI-powered infrastructure monitoring tools for Claude, CI/CD pipelines, and MCP clients",
5
+ "license": "MIT",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "uptimebolt-mcp": "dist/server.js",
10
+ "uptimebolt-mcp-http": "dist/http-server.js"
11
+ },
12
+ "scripts": {
13
+ "build": "tsc",
14
+ "start": "node dist/server.js",
15
+ "start:http": "node dist/http-server.js",
16
+ "dev": "ts-node src/server.ts",
17
+ "dev:http": "ts-node src/http-server.ts",
18
+ "lint": "eslint src/",
19
+ "typecheck": "tsc --noEmit",
20
+ "prepublishOnly": "npm run build"
21
+ },
22
+ "dependencies": {
23
+ "@modelcontextprotocol/sdk": "^1.26.0",
24
+ "cors": "^2.8.5",
25
+ "dotenv": "^17.3.1",
26
+ "express": "^4.18.2",
27
+ "winston": "^3.11.0",
28
+ "winston-daily-rotate-file": "^5.0.0"
29
+ },
30
+ "devDependencies": {
31
+ "@types/cors": "^2.8.17",
32
+ "@types/express": "^4.17.21",
33
+ "@types/node": "^20.0.0",
34
+ "eslint": "^8.0.0",
35
+ "ts-node": "^10.9.0",
36
+ "typescript": "^5.3.0"
37
+ },
38
+ "engines": {
39
+ "node": ">=18.0.0"
40
+ },
41
+ "keywords": [
42
+ "mcp",
43
+ "model-context-protocol",
44
+ "uptimebolt",
45
+ "monitoring",
46
+ "observability",
47
+ "sre",
48
+ "devops",
49
+ "claude",
50
+ "ai",
51
+ "infrastructure"
52
+ ],
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "https://github.com/clm-cloud-solutions/uptimebolt-mcp-server"
56
+ },
57
+ "files": [
58
+ "dist/",
59
+ "README.md",
60
+ "LICENSE"
61
+ ],
62
+ "author": {
63
+ "name": "CLM Cloud Solutions S.L.",
64
+ "url": "https://clmcloudsolutions.es"
65
+ },
66
+ "homepage": "https://uptimebolt.com",
67
+ "bugs": {
68
+ "url": "https://github.com/clm-cloud-solutions/uptimebolt-mcp-server/issues"
69
+ }
70
+ }