feat(mcp): implement MCP infrastructure
- Add `mcp_settings` table to database schema - Enable internal MCP API endpoint via middleware header authentication - Introduce runtime log directory and capture utilities for diagnostics - Update build pipeline to capture build logs
This commit is contained in:
1 parent
ae9b554189
commit
b2669e2ad5
19 files changed
+3280
-20
No files matched your search
@@ -22,6 +22,10 @@ export type AuditActionType =
|
||||
| "WEBHOOK_TEST_TRIGGERED"
|
||||
| "FILES_MANAGER_MUTATION"
|
||||
| "DATA_EXPORT_DOWNLOADED"
|
||||
| "MCP_SETTINGS_UPDATED"
|
||||
| "MCP_TOKEN_ROTATED"
|
||||
| "MCP_TOOL_CALLED"
|
||||
| "MCP_TOOL_DENIED"
|
||||
| string;
|
||||
|
||||
export interface AuditLogEntry {
|
||||
@@ -98,6 +102,13 @@ function sanitizeMetadata(
|
||||
"webhookSecretEnc",
|
||||
"prometheusMetricsToken",
|
||||
"prometheusMetricsTokenEnc",
|
||||
"mcpToken",
|
||||
"mcpBearerToken",
|
||||
"issuedToken",
|
||||
"tokenHash",
|
||||
"tokenEnc",
|
||||
"coolifyToken",
|
||||
"coolifyTokenEnc",
|
||||
]);
|
||||
const clean: Record<string, unknown> = {};
|
||||
for (const [key, value] of Object.entries(metadata)) {
|
||||
|
||||
Reference in new issue
Block a user