139 Commits

Author SHA1 Message Date
simlarsen
02e7506f89 chore: npm audit fix 2026-03-26 02:38:46 +00:00
simlarsen
374de9cf82 chore: npm audit fix 2026-03-13 02:25:28 +00:00
simlarsen
989de0c811 chore: npm audit fix 2026-03-11 02:14:09 +00:00
simlarsen
38646fd811 chore: npm audit fix 2026-03-07 02:10:52 +00:00
simlarsen
8d6fd14078 chore: npm audit fix 2026-03-05 02:25:59 +00:00
simlarsen
217218109a chore: npm audit fix 2026-02-28 02:07:25 +00:00
simlarsen
161a97612a chore: npm audit fix 2026-02-26 02:25:51 +00:00
simlarsen
3a379fb87c chore: npm audit fix 2026-02-23 02:33:07 +00:00
simlarsen
70651ace2e chore: npm audit fix 2026-02-20 02:27:39 +00:00
simlarsen
3348f44bf1 chore: npm audit fix 2026-02-19 02:31:47 +00:00
simlarsen
9d5faca3ec chore: npm audit fix 2026-02-18 02:31:53 +00:00
simlarsen
c7ca6138f3 chore: npm audit fix 2026-02-13 02:34:23 +00:00
simlarsen
25f9b826cf chore: npm audit fix 2026-02-11 02:38:02 +00:00
simlarsen
225679f5d3 chore: npm audit fix 2026-02-05 02:25:19 +00:00
simlarsen
4400a7e5dd chore: npm audit fix 2026-01-29 02:15:00 +00:00
simlarsen
4a7f27a372 chore: npm audit fix 2026-01-27 02:04:49 +00:00
simlarsen
1928244a8e chore: npm audit fix 2026-01-24 01:54:38 +00:00
simlarsen
d3d0dedfee chore: npm audit fix 2026-01-21 02:01:12 +00:00
simlarsen
79b36c5b27 chore: npm audit fix 2026-01-15 01:57:09 +00:00
simlarsen
d83e4684c4 chore: npm audit fix 2026-01-14 02:01:38 +00:00
simlarsen
e87d5de02f chore: npm audit fix 2026-01-08 01:57:11 +00:00
simlarsen
37f35a5ea3 chore: npm audit fix 2026-01-07 01:56:57 +00:00
simlarsen
b1ab1c4775 chore: npm audit fix 2025-12-31 01:55:30 +00:00
Nawaz Dhandala
e7f489da3b fix: Add type annotations for improved type safety in various modules 2025-12-18 13:46:22 +00:00
Nawaz Dhandala
9481d61c2f Refactor SelectFieldGenerator and SchemaConverter for improved readability and maintainability
- Updated formatting and indentation for consistency in SelectFieldGenerator.ts and SchemaConverter.ts.
- Enhanced logging messages for better debugging in generateAllFieldsSelect and findModelClass functions.
- Simplified error handling and fallback mechanisms in generateAllFieldsSelect.
- Improved type definitions and structure in Zod schema conversion functions.
- Added tests for server initialization and tool management to ensure proper functionality and error handling.
2025-12-18 13:22:18 +00:00
Nawaz Dhandala
b94c6f9fb7 feat: Remove resolve_status_page_domain tool from public status page tools 2025-12-18 13:20:08 +00:00
Nawaz Dhandala
c8409da40b feat: Update MCP server to support public tools without API key 2025-12-18 13:13:53 +00:00
Nawaz Dhandala
eecf87bd0f feat: Enhance MCP tool generation with public status page tools
- Refactored ToolGenerator.ts to include generation of public status page tools.
- Added PublicStatusPageTools.ts with functions to create tools for querying public status pages.
- Implemented tools for getting overview, incidents, scheduled maintenance, announcements, and resolving status page domains.
- Updated logging and error handling for public status page tool execution.
2025-12-18 13:03:17 +00:00
Nawaz Dhandala
51e6c1ce9c feat: add helper tools for resource discovery and guidance in MCP 2025-12-18 12:03:57 +00:00
Nawaz Dhandala
8e399accc1 feat: add enableMCP property and decorator to various models for enhanced MCP functionality 2025-12-18 11:49:01 +00:00
Nawaz Dhandala
53ec40a3cb refactor: enhance formatCountResponse to handle various result formats 2025-12-18 11:39:59 +00:00
Nawaz Dhandala
e93b9f7759 feat: Implement MCP Tool Handler and Server Management
- Added ToolHandler.ts to manage tool execution and response formatting.
- Implemented session management in SessionManager.ts for handling API keys and session data.
- Created MCPServer.ts for initializing and managing the MCP server instance.
- Developed SelectFieldGenerator.ts to generate select field objects for API queries.
- Introduced SchemaConverter.ts for converting Zod schemas to JSON Schema format.
- Built ToolGenerator.ts to generate MCP tools for OneUptime models, including CRUD operations.
- Enhanced logging throughout the code for better traceability and debugging.
2025-12-17 18:01:21 +00:00
Nawaz Dhandala
6cdc9f9a2b refactor: update Dockerfile for Node.js version and improve nodemon configuration 2025-12-17 17:46:40 +00:00
Nawaz Dhandala
2fd7dd136d refactor: add CORS support and handle root endpoint in MCP routes 2025-12-17 17:43:41 +00:00
Nawaz Dhandala
6a0db02101 refactor: improve code formatting and enhance type definitions in MCP server 2025-12-16 21:50:32 +00:00
Nawaz Dhandala
8a6be6960b refactor: update API service initialization to use environment variables for URL configuration 2025-12-16 21:32:18 +00:00
Nawaz Dhandala
af155d8c43 refactor: replace Server with McpServer for improved functionality and clarity 2025-12-16 21:29:22 +00:00
Nawaz Dhandala
449549e1f9 refactor: update MCP server transport to Streamable HTTP and enhance session management 2025-12-16 21:27:10 +00:00
Nawaz Dhandala
c14976bac8 feat: Add ejs as a dependency in package.json and package-lock.json 2025-12-16 18:32:00 +00:00
Nawaz Dhandala
2e7fdd53a5 Merge remote-tracking branch 'origin/incident-ai' 2025-12-16 13:33:18 +00:00
Nawaz Dhandala
6335887d62 feat: Reduce npm fetch retry timeout values in Dockerfiles 2025-12-16 13:30:12 +00:00
Nawaz Dhandala
3797f258e8 refactor: Update inputSchema type to JSONSchema and improve route setup with forEach 2025-12-16 12:15:37 +00:00
Nawaz Dhandala
8e628d0a4f refactor: Remove unused properties from AILoaderProps and improve type definitions in LlmLogsTable and MCP Index 2025-12-16 12:13:27 +00:00
Nawaz Dhandala
858710cf1b refactor: Clean up imports and improve formatting across multiple files 2025-12-16 12:11:48 +00:00
Nawaz Dhandala
9b714bbe29 refactor: Improve type definitions and enhance JSON schema handling in MCP services 2025-12-16 11:42:56 +00:00
Nawaz Dhandala
2fb8239fe9 refactor: Simplify tsconfig structure in jest.config.json 2025-12-16 11:34:02 +00:00
Nawaz Dhandala
fbdedaacc3 chore: update dependencies in package.json
- Upgraded @modelcontextprotocol/sdk from ^0.6.0 to ^1.25.0
- Updated ts-node from ^10.9.1 to ^10.9.2
- Upgraded devDependencies:
  - @types/jest from ^27.5.0 to ^29.5.14
  - @types/node from ^17.0.31 to ^22.15.21
  - jest from ^28.1.0 to ^29.7.0
  - nodemon from ^2.0.20 to ^3.1.11
  - ts-jest from ^28.0.2 to ^29.4.6
  - typescript from ^5.8.3 to ^5.9.3
2025-12-16 11:33:05 +00:00
Nawaz Dhandala
4c577c7dfa fix: Allow any type for request parameters in tool call handler 2025-12-16 11:30:50 +00:00
Nawaz Dhandala
f15f797d43 refactor: Replace MCP server implementation with a streamlined structure and improved logging 2025-12-16 11:27:02 +00:00
Nawaz Dhandala
f2906f59a2 refactor: Simplify server run logic and remove unused stdio mode 2025-12-16 11:06:02 +00:00