# MCP registry server.json lifecycle postinstall service setup schema

Status: search-observed
Product: MCP Registry
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/mcp-registry-server-json-lifecycle-postinstall-service-setup-schema
Machine JSON: https://gitdocs.org/api/fixes/mcp-registry-server-json-lifecycle-postinstall-service-setup-schema.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

The local repository can expose the failure, but the decisive repair depends on the current host, package, runtime, or API contract.

## Fix

```
Use the source trail below to align the local install, host, API, or runtime configuration with the current external contract.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- MCP registry server.json lifecycle postinstall service setup schema
- MCP server.json post install service instructions
- MCP registry companion service setup

## Sources

- MCP registry post-install lifecycle issue: https://github.com/modelcontextprotocol/registry/issues/1340
