MCPcopy Index your code
hub / github.com/modelcontextprotocol/registry / GetCurrentSchemaVersion

Function GetCurrentSchemaVersion

internal/validators/schema.go:47–49  ·  view source on GitHub ↗

GetCurrentSchemaVersion returns the current schema URL from constants

()

Source from the content-addressed store, hash-verified

45
46// GetCurrentSchemaVersion returns the current schema URL from constants
47func GetCurrentSchemaVersion() (string, error) {
48 return model.CurrentSchemaURL, nil
49}
50
51// validateServerJSONSchema validates the server JSON against the schema version specified in $schema using jsonschema
52// Empty/missing schema always produces an error.

Callers 1

validateServerJSONSchemaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…