fix: correct manifest.json to pass MCPB validation
- Add required 'version' field (1.0.0) - Change 'author' from string to object with name/url - Move 'mcp_config' inside 'server' object - Fix 'user_config' to use proper field-level structure - Remove invalid 'compatibility' and 'capabilities' top-level fields - Create bundle icon (512x512 PNG) to satisfy icon requirement - Remove icon placeholder file Validation: ✅ mcpb validate passes with warnings only Tasks: T149 (icon), T158 (validate), T159 (build) marked complete Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"validate-manifest": "mcpb validate manifest.json",
|
||||
"pack": "npm run build && mcpb pack",
|
||||
"test": "jest",
|
||||
"dev": "tsc --watch",
|
||||
@@ -28,6 +29,7 @@
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@anthropic-ai/mcpb": "^2.1.2",
|
||||
"@types/jest": "^29.5.11",
|
||||
"@types/node": "^20.10.6",
|
||||
"jest": "^29.7.0",
|
||||
|
||||
Reference in New Issue
Block a user