diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts
index 3981a45e..e96de6bf 100755
--- a/frontend/src/i18n/locales/en-US.ts
+++ b/frontend/src/i18n/locales/en-US.ts
@@ -4388,6 +4388,13 @@ export default {
createFailed: 'Failed to create MCP service',
updateFailed: 'Failed to update MCP service'
},
+ customHeaders: {
+ label: 'Custom Headers (optional)',
+ desc: 'HTTP headers attached to every MCP request, commonly used for enterprise gateway auth, tracing, etc.',
+ add: 'Add Header',
+ keyPlaceholder: 'Header name',
+ valuePlaceholder: 'Header value'
+ },
codeImport: {
toggle: 'Import from code',
hint: 'Paste a standard mcpServers JSON config to auto-fill the form',
@@ -4404,8 +4411,7 @@ export default {
},
toasts: {
filled: 'Form filled, please review and save',
- multipleServers: 'Multiple services detected, imported the first one: {name}',
- ignoredHeaders: 'The following headers were not imported: {headers}'
+ multipleServers: 'Multiple services detected, imported the first one: {name}'
}
}
},
diff --git a/frontend/src/i18n/locales/ko-KR.ts b/frontend/src/i18n/locales/ko-KR.ts
index 18e7a3e5..d0c9e983 100755
--- a/frontend/src/i18n/locales/ko-KR.ts
+++ b/frontend/src/i18n/locales/ko-KR.ts
@@ -4384,6 +4384,13 @@ export default {
createFailed: "MCP 서비스 생성 실패",
updateFailed: "MCP 서비스 업데이트 실패",
},
+ customHeaders: {
+ label: "사용자 지정 헤더(선택 사항)",
+ desc: "모든 MCP 요청에 추가되는 HTTP 헤더로, 기업 게이트웨이 인증, 추적 등에 자주 사용됩니다.",
+ add: "헤더 추가",
+ keyPlaceholder: "헤더 이름",
+ valuePlaceholder: "헤더 값",
+ },
codeImport: {
toggle: "코드에서 가져오기",
hint: "표준 mcpServers JSON 설정을 붙여넣으면 양식이 자동으로 채워집니다",
@@ -4401,7 +4408,6 @@ export default {
toasts: {
filled: "양식이 채워졌습니다. 확인 후 저장해 주세요",
multipleServers: "여러 서비스가 감지되어 첫 번째 항목을 가져왔습니다: {name}",
- ignoredHeaders: "다음 헤더는 가져오지 않았습니다: {headers}",
},
},
},
diff --git a/frontend/src/i18n/locales/ru-RU.ts b/frontend/src/i18n/locales/ru-RU.ts
index f437e502..ffed72a9 100755
--- a/frontend/src/i18n/locales/ru-RU.ts
+++ b/frontend/src/i18n/locales/ru-RU.ts
@@ -4037,6 +4037,13 @@ export default {
createFailed: 'Не удалось создать сервис MCP',
updateFailed: 'Не удалось обновить сервис MCP'
},
+ customHeaders: {
+ label: 'Пользовательские заголовки (необязательно)',
+ desc: 'HTTP-заголовки, добавляемые к каждому запросу MCP; обычно используются для аутентификации на корпоративном шлюзе, трассировки и т. п.',
+ add: 'Добавить заголовок',
+ keyPlaceholder: 'Имя заголовка',
+ valuePlaceholder: 'Значение заголовка'
+ },
codeImport: {
toggle: 'Импорт из кода',
hint: 'Вставьте стандартную JSON-конфигурацию mcpServers для автозаполнения формы',
@@ -4053,8 +4060,7 @@ export default {
},
toasts: {
filled: 'Форма заполнена, проверьте и сохраните',
- multipleServers: 'Обнаружено несколько сервисов, импортирован первый: {name}',
- ignoredHeaders: 'Следующие заголовки не импортированы: {headers}'
+ multipleServers: 'Обнаружено несколько сервисов, импортирован первый: {name}'
}
}
},
diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts
index 774149c9..3bf97676 100755
--- a/frontend/src/i18n/locales/zh-CN.ts
+++ b/frontend/src/i18n/locales/zh-CN.ts
@@ -4406,6 +4406,13 @@ export default {
revoked: "已撤销授权",
revokeFailed: "撤销失败",
},
+ customHeaders: {
+ label: "自定义请求头(可选)",
+ desc: "附加到每次 MCP 请求的 HTTP 请求头,常用于企业网关鉴权、链路追踪等场景。",
+ add: "添加请求头",
+ keyPlaceholder: "Header 名称",
+ valuePlaceholder: "Header 值",
+ },
codeImport: {
toggle: "从代码导入",
hint: "粘贴标准 mcpServers JSON 配置,自动填充表单",
@@ -4423,7 +4430,6 @@ export default {
toasts: {
filled: "已填充表单,请检查后保存",
multipleServers: "检测到多个服务,已导入第一个:{name}",
- ignoredHeaders: "以下 header 未导入:{headers}",
},
},
},
diff --git a/frontend/src/views/settings/components/McpServiceDialog.vue b/frontend/src/views/settings/components/McpServiceDialog.vue
index 9ee7ba73..e280da21 100644
--- a/frontend/src/views/settings/components/McpServiceDialog.vue
+++ b/frontend/src/views/settings/components/McpServiceDialog.vue
@@ -150,6 +150,44 @@
{{ t('mcpServiceDialog.customHeaders.desc') }}
+