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..0ffeaf6 100644 --- a/src/views/SettingsView.vue +++ b/src/views/SettingsView.vue @@ -1009,14 +1009,63 @@ + +
+
+
+ +

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 +
+
+ +
+
+