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
returnfmt.Errorf("failed to parse .nuspec metadata: %w", err)
62
-
}
44
+
ifresp.StatusCode==http.StatusOK {
45
+
// Check README content
46
+
readmeBytes, err:=io.ReadAll(resp.Body)
47
+
iferr!=nil {
48
+
returnfmt.Errorf("failed to read README content: %w", err)
49
+
}
63
50
64
-
ifnuspec.Metadata.MCPName=="" {
65
-
returnfmt.Errorf("NuGet package '%s' is missing required '<mcp-name>' element. Add this to your .nuspec: <mcp-name>%s</mcp-name>", pkg.Identifier, serverName)
returnfmt.Errorf("NuGet package '%s' ownership validation failed. The server name '%s' must appear as 'mcp-name: %s' in the package README. Add it to your package README", pkg.Identifier, serverName, serverName)
0 commit comments