Skip to content

mcpb pack - Unrecognized key(s) in object: 'localization' #162

@picsoung

Description

@picsoung

Describe the bug
The mcpb pack command fails with a manifest validation error when the localization field is included in the manifest.json file, despite being documented as a valid field in the MCP documentation.

To Reproduce
Steps to reproduce the behavior:

  1. Create a manifest.json file with the localization field according to the documentation:
    json
  2. Run mcpb pack command in the extension directory
  3. The command fails with validation error: Unrecognized key(s) in object: 'localization'

I have my localization in locales folder as fr-FR-json, de-DE.json...

Expected behavior
The mcpb pack command should successfully validate and compile the MCP package when the localization field is present in the manifest, as this field is documented in the MCP specification.

Logs

mcpb pack
Validating manifest...
ERROR: Manifest validation failed:

  - Unrecognized key(s) in object: 'localization'
ERROR: Cannot pack extension with invalid manifest

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions