feat: first round of mcp standalone server

This commit is contained in:
2026-02-28 21:23:22 +01:00
parent 1fc2003260
commit c358e1b11c
67 changed files with 3426 additions and 901 deletions

View File

@@ -0,0 +1,14 @@
CREATE TABLE `db_notifications` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`entity` text NOT NULL,
`entity_id` text NOT NULL,
`action` text NOT NULL,
`from_cli` integer DEFAULT 1 NOT NULL,
`seen_at` integer,
`created_at` integer NOT NULL
);
--> statement-breakpoint
ALTER TABLE `scripts` ADD `status` text DEFAULT 'published' NOT NULL;--> statement-breakpoint
ALTER TABLE `scripts` ADD `content` text;--> statement-breakpoint
ALTER TABLE `templates` ADD `status` text DEFAULT 'published' NOT NULL;--> statement-breakpoint
ALTER TABLE `templates` ADD `content` text;