From 214a73b6a02413a63d21c691d0f7117861ba1f04 Mon Sep 17 00:00:00 2001
From: Philipinho <16838612+Philipinho@users.noreply.github.com>
Date: Wed, 26 Aug 2026 13:45:28 +0100
Subject: [PATCH] refactor: rename MCP oauth-only setting to enforceMcpOauth
---
.../public/locales/en-US/translation.json | 4 ++--
.../src/ee/ai/components/mcp-settings.tsx | 12 +++++------
.../workspace/types/workspace.types.ts | 4 ++--
.../workspace/dto/update-workspace.dto.ts | 2 +-
.../workspace/services/workspace.service.ts | 20 +++++++++----------
apps/server/src/ee | 2 +-
6 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/apps/client/public/locales/en-US/translation.json b/apps/client/public/locales/en-US/translation.json
index 86a97d352..c2457dea3 100644
--- a/apps/client/public/locales/en-US/translation.json
+++ b/apps/client/public/locales/en-US/translation.json
@@ -708,9 +708,9 @@
"MCP is only available in the Docmost enterprise edition. Contact sales@docmost.com.": "MCP is only available in the Docmost enterprise edition. Contact sales@docmost.com.",
"MCP Server URL": "MCP Server URL",
"Connect AI assistants with your Docmost account via OAuth.": "Connect AI assistants with your Docmost account via OAuth.",
- "Require OAuth": "Require OAuth",
+ "Enforce OAuth": "Enforce OAuth",
"AI assistants must connect with a Docmost account via OAuth. API keys cannot be used with the MCP server.": "AI assistants must connect with a Docmost account via OAuth. API keys cannot be used with the MCP server.",
- "Toggle require OAuth for MCP": "Toggle require OAuth for MCP",
+ "Toggle enforce OAuth for MCP": "Toggle enforce OAuth for MCP",
"Supported tools": "Supported tools",
"MCP server URL:": "MCP server URL:",
"Learn more": "Learn more",
diff --git a/apps/client/src/ee/ai/components/mcp-settings.tsx b/apps/client/src/ee/ai/components/mcp-settings.tsx
index eeb7ad47e..20952ad73 100644
--- a/apps/client/src/ee/ai/components/mcp-settings.tsx
+++ b/apps/client/src/ee/ai/components/mcp-settings.tsx
@@ -111,7 +111,7 @@ export default function McpSettings() {
{t("Connect AI assistants with your Docmost account via OAuth.")}
-