MCP Shipyard
← Rules catalog

MCP server reports no version, or a placeholder like 0.0.0

serverInfo.version should be a real semver bumped on each release. An empty, 0.0.0, unknown or dev version warns. Minor.

minorserver.version-missingGeneral

Set serverInfo.version to a real semver and bump it on each release. The rule server.version-missing is a minor, warn-level finding for general clients.

What you see

  • A scan reports server.version-missing: Version is "0.0.0".
  • It fires when the server was reachable and the version is empty or equal to 0.0.0, unknown, dev or undefined.

Why it happens

An SDK default or a build that never injects the package version. The rule's fix text says monitoring uses the version to explain tool changes.

Check it yourself

curl -s -X POST https://mcp.acme.example/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"check","version":"1"}}}' \
 | jq '.result.serverInfo.version'

On a 2026-07-28 server identity comes from the discover result.

Fix

import pkg from "./package.json" with { type: "json" };
const server = new McpServer({ name: "acme", title: "Acme Orders", version: pkg.version });

Bump it whenever tools, descriptions or schemas change.

Verify

The command prints a real version, then re-scan.

Which clients care

General, per the rule. Also see server.name-missing.

Source

MCP discover spec: https://modelcontextprotocol.io/specification/2026-07-28/server/discover

Run a free scan at https://mcpshipyard.com/scan to check every rule at once.

Check every rule at once

A free scan runs this check and the other 152 against your live URL.

Scan a server