MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isMcpServerUrlEntry

Function isMcpServerUrlEntry

src/utils/settings/types.ts:1127–1131  ·  view source on GitHub ↗
(
  entry: AllowedMcpServerEntry | DeniedMcpServerEntry,
)

Source from the content-addressed store, hash-verified

1125 * Type guard for MCP server entry with serverUrl
1126 */
1127export function isMcpServerUrlEntry(
1128 entry: AllowedMcpServerEntry | DeniedMcpServerEntry,
1129): entry is { serverUrl: string } {
1130 return 'serverUrl' in entry && entry.serverUrl !== undefined
1131}
1132
1133/**
1134 * User configuration values for MCPB MCP servers

Callers 2

isMcpServerDeniedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected