From 7f7873336e1bc8887ea4bf0dbbe6dbd7b70b32b0 Mon Sep 17 00:00:00 2001 From: Peter Savchenko Date: Wed, 28 Oct 2026 20:17:23 +0300 Subject: [PATCH 1/2] fix: match Claude connector setup instructions to the current dialog The custom connector dialog in Claude Desktop and claude.ai asks for a name and URL first and reserves the authorization header while OAuth sign-in is selected. The instructions now say to choose "No sign-in" and add the authorization header, and show the server URL and the header value as separate values to copy. --- src/application/i18n/messages/en.json | 4 +- src/presentation/components/mcp/McpTokens.vue | 104 +++++++++++++++--- 2 files changed, 91 insertions(+), 17 deletions(-) diff --git a/src/application/i18n/messages/en.json b/src/application/i18n/messages/en.json index ec64ece2..26e08f53 100644 --- a/src/application/i18n/messages/en.json +++ b/src/application/i18n/messages/en.json @@ -58,7 +58,9 @@ "instructions": { "claudeCode": "Run in the terminal", "cursor": "Add to ~/.cursor/mcp.json", - "claude": "Settings → Connectors → Add custom connector: paste the URL and add the request header" + "claude": "Customize → Connectors → Add custom connector. Enter a name, e.g. NoteX, and the server URL. In Authentication choose \"No sign-in\", then in Request headers add the \"authorization\" header with the value below", + "claudeUrl": "Server URL", + "claudeHeader": "Value of the authorization header" }, "permission": { "read": "Read only", diff --git a/src/presentation/components/mcp/McpTokens.vue b/src/presentation/components/mcp/McpTokens.vue index 7acaf7d2..49ffc674 100644 --- a/src/presentation/components/mcp/McpTokens.vue +++ b/src/presentation/components/mcp/McpTokens.vue @@ -56,17 +56,39 @@ :title="instruction.title" :subtitle="instruction.caption" > - @@ -327,6 +326,14 @@ async function revokeClicked(token: McpToken): Promise { display: grid; } + &__snippet-label { + display: flex; + align-items: center; + justify-content: space-between; + gap: var(--spacing-m); + padding: 0 var(--h-padding) var(--v-padding); + } + &__snippet { margin: 0 var(--h-padding) var(--v-padding); padding: var(--v-padding) var(--h-padding);