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

Function normalizeMcpAuthMethods

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

Source from the content-addressed store, hash-verified

199 * kind/carrier-derived default, suffixed `_2`, `_3`, … on collision. The
200 * request-shaped dialect is expanded to canonical placements first. */
201export const normalizeMcpAuthMethods = (
202 methods: readonly McpAuthMethodInput[],
203): readonly McpAuthMethod[] =>
204 normalizeAuthMethodSlugs(
205 expandMcpAuthMethodInputs(methods),
206 defaultMcpAuthSlug,
207 ) as readonly McpAuthMethod[];
208
209// ---------------------------------------------------------------------------
210// 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