You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added an "Append API Key to URL" block setting to the MCP Server List block. When disabled (the default), the API key is no longer included in the displayed MCP URL and the security notice is hidden.
Copy file name to clipboardExpand all lines: Rock.Blocks/Core/McpServerList.cs
+32-8Lines changed: 32 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -40,24 +40,42 @@ namespace Rock.Blocks.Core
40
40
[IconCssClass("ti ti-robot")]
41
41
[SupportedSiteTypes(SiteType.Web)]
42
42
43
+
[BooleanField("Append API Key to URL",
44
+
Description="When enabled, the individual's API key is appended to the MCP URL. Use this if the MCP server requires authentication via URL parameter rather than using OAuth. Note that API keys grant access based on the permissions of the individual they belong to — treat them as sensitive credentials and avoid sharing or exposing MCP URLs that contain them.",
Do not share the MCP links below. They are tied directly to your user account and permissions — sharing them could compromise your account and expose sensitive data.
11
11
</NotificationBox>
@@ -47,21 +47,32 @@
47
47
import NotificationBox from "@Obsidian/Controls/notificationBox.obs";
48
48
import Panel from "@Obsidian/Controls/panel.obs";
49
49
import { AudienceType, AudienceTypeDescription } from "@Obsidian/Enums/AI/Agent/audienceType";
50
-
import { useConfigurationValues } from "@Obsidian/Utility/block";
50
+
import { onConfigurationValuesChanged, useConfigurationValues, useReloadBlock } from "@Obsidian/Utility/block";
51
51
import { InitializationBox } from "@Obsidian/ViewModels/Blocks/Core/McpServerList/initializationBox";
52
52
import { McpServerListItemBag } from "@Obsidian/ViewModels/Blocks/Core/McpServerList/mcpServerListItemBag";
0 commit comments