MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / normalizeMcpAuthMethods

Function normalizeMcpAuthMethods

packages/plugins/mcp/src/sdk/types.ts:176–182  ·  view source on GitHub ↗
(
  methods: readonly McpAuthMethodInput[],
)

Source from the content-addressed store, hash-verified

174 * kind/carrier-derived default, suffixed `_2`, `_3`, … on collision. The
175 * request-shaped dialect is expanded to canonical placements first. */
176export const normalizeMcpAuthMethods = (
177 methods: readonly McpAuthMethodInput[],
178): readonly McpAuthMethod[] =>
179 normalizeAuthMethodSlugs(
180 expandMcpAuthMethodInputs(methods),
181 defaultMcpAuthSlug,
182 ) as readonly McpAuthMethod[];
183
184// ---------------------------------------------------------------------------
185// Integration config — the opaque blob stored on the integration row. A

Callers 2

toIntegrationConfigFunction · 0.90
configureAuthFunction · 0.90

Calls 2

normalizeAuthMethodSlugsFunction · 0.90

Tested by

no test coverage detected