From 9b31a7c3ac9f4467a4b6b902e9fa579a8827b5a1 Mon Sep 17 00:00:00 2001 From: nfebe Date: Mon, 20 Jul 2026 19:10:19 +0100 Subject: [PATCH 1/2] feat: Add MCP server settings tab Operators can now enable or disable the agent's MCP server from settings and, when it is on, see the endpoint and how external clients connect. The toggle takes effect immediately without restarting the agent. --- src/views/SettingsView.test.ts | 5 ++- src/views/SettingsView.vue | 81 +++++++++++++++++++++++++++++++++- 2 files changed, 82 insertions(+), 4 deletions(-) diff --git a/src/views/SettingsView.test.ts b/src/views/SettingsView.test.ts index 5424551..c809a4a 100644 --- a/src/views/SettingsView.test.ts +++ b/src/views/SettingsView.test.ts @@ -97,10 +97,10 @@ describe("SettingsView", () => { }); describe("Tab navigation", () => { - it("displays all nine tabs", () => { + it("displays all ten tabs", () => { const wrapper = mountView(); const tabs = wrapper.findAll(".tab"); - expect(tabs.length).toBe(9); + expect(tabs.length).toBe(10); }); it("has General tab", () => { @@ -383,6 +383,7 @@ describe("SettingsView", () => { { id: "notifications", label: "Notifications", icon: "" }, { id: "credentials", label: "Credentials", icon: "pi pi-key" }, { id: "ai", label: "AI Assistant", icon: "" }, + { id: "mcp", label: "MCP Server", icon: "" }, ]); }); }); diff --git a/src/views/SettingsView.vue b/src/views/SettingsView.vue index f9a7a23..6ac40f5 100644 --- a/src/views/SettingsView.vue +++ b/src/views/SettingsView.vue @@ -1009,14 +1009,55 @@ + +
+
+
+ +

MCP Server

+
+
+

+ Expose the assistant's tools over the Model Context Protocol so an external client, an IDE, a desktop + app, or another agent, can drive this server through the same capabilities the built-in assistant has. + Every call is authenticated and runs with the caller's own permissions, so a client can do exactly what + its access allows and no more. +

+
+ +
+
+
+ Endpoint + {{ mcpEndpoint }} +
+
+ Transport + Streamable HTTP +
+
+ Authentication + X-API-Key header +
+
+ +
+
+
From fea1754c6ac74045eb80db3b2064c939a66bf8e6 Mon Sep 17 00:00:00 2001 From: nfebe Date: Tue, 21 Jul 2026 16:44:25 +0100 Subject: [PATCH 2/2] ui: Format MCP settings tab with Prettier --- src/views/SettingsView.vue | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/views/SettingsView.vue b/src/views/SettingsView.vue index 6ac40f5..0ffeaf6 100644 --- a/src/views/SettingsView.vue +++ b/src/views/SettingsView.vue @@ -1018,10 +1018,10 @@

- Expose the assistant's tools over the Model Context Protocol so an external client, an IDE, a desktop - app, or another agent, can drive this server through the same capabilities the built-in assistant has. - Every call is authenticated and runs with the caller's own permissions, so a client can do exactly what - its access allows and no more. + Expose the assistant's tools over the Model Context Protocol so an external client, an IDE, a desktop app, + or another agent, can drive this server through the same capabilities the built-in assistant has. Every + call is authenticated and runs with the caller's own permissions, so a client can do exactly what its + access allows and no more.