validar-semver
Was dieses MCP kann
Checks whether software versions satisfy npm-compatible semantic version ranges.
Tools
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['version', 'ranges'], 'properties': {'ranges': {'type': 'array', 'items': {'type': 'string', 'maxLength': 256}, 'maxItems': 50, 'minItems': 1, 'description': 'List of semver ranges to evaluate against the version, one by one. Max 50 ranges, 256 characters each.'}, 'version': {'type': 'string', 'maxLength': 256, 'description': 'The semver version to evaluate (e.g. "1.2.3", "1.2.3-beta.1", "v2.0.0").'}, 'include_prereleases': {'type': 'boolean', 'description': "If true, allows a prerelease version (e.g. 1.3.0-beta.1) to match ranges that don't explicitly mention that same major.minor.patch tuple as a prerelease. Defaults to false (standard npm/semver behavior)."}}}
Ausgabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['valid_version', 'normalized_version', 'error', 'results'], 'properties': {'error': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Error message if valid_version is false; null if valid.'}, 'results': {'type': 'array', 'items': {'type': 'object', 'required': ['range', 'valid_range', 'normalized_range', 'satisfies', 'error'], 'properties': {'error': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Error message if valid_range is false; null if valid.'}, 'range': {'type': 'string'}, 'satisfies': {'anyOf': [{'type': 'boolean'}, {'type': 'null'}], 'description': 'true/false whether the version satisfies the range. null if valid_range is false.'}, 'valid_range': {'type': 'boolean', 'description': "false if that range isn't a valid semver range."}, 'normalized_range': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Normalized form of the range (expanded comparators). null if valid_range is false.'}}, 'additionalProperties': False}, 'description': 'One result per range, in the same order they were received.'}, 'valid_version': {'type': 'boolean', 'description': "false if `version` isn't a valid semver."}, 'normalized_version': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Normalized form of `version` (e.g. "v1.2.3" -> "1.2.3"). null if valid_version is false.'}}, 'additionalProperties': False}
Letzte Tool-Änderungen
Ähnliche MCP-Server
TinyFn
Offers deterministic utility functions for mathematics, conversions, validation, hashing, encoding, arrays, dates, colors, and pa…
hyperion
Acts as a paid MCP tool marketplace and utility gateway with server discovery, HTTP and JavaScript tools, research, data conversi…
Andreax
Offers pay-per-call AI services for inference, agent and workflow design, OCR and transcription, code generation and review, clas…
Vee3
Manages Clerk authentication infrastructure, including users, organizations, domains, sessions, tokens, OAuth, SSO, machines, per…
Courier
Provides notification delivery infrastructure for users, tenants, lists, templates, preferences, journeys, automations, brands, a…
GripForge
Generates, rigs, animates, analyzes, and packages game characters, weapons, armor, effects, environments, and engine-ready assets.
IA-QA — 130+ QA & Dev Tools for AI Agents
Provides deterministic QA, evaluation, testing, code analysis, prompt and RAG checks, model comparison, and web security diagnost…
apis-io
Provides catalog search, comparison, scoring, enrichment, lists, and dataset exports for APIs, providers, specifications, workflo…