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:
@@ -1,45 +1,36 @@
|
||||
{
|
||||
"version": "0.3",
|
||||
"manifest_version": "0.3",
|
||||
"name": "obsidian-mcp",
|
||||
"version": "1.0.0",
|
||||
"display_name": "Obsidian CLI Bundle",
|
||||
"description": "MCP Bundle for Obsidian CLI - Enable AI assistants to manage Obsidian vaults through conversational interface",
|
||||
"author": "Obsidian MCP Contributors",
|
||||
"author": {
|
||||
"name": "Obsidian MCP Contributors",
|
||||
"url": "https://github.com/obsidian-mcp/obsidian-mcp-bundle"
|
||||
},
|
||||
"homepage": "https://github.com/obsidian-mcp/obsidian-mcp-bundle",
|
||||
"license": "MIT",
|
||||
"icon": "assets/icon.png",
|
||||
"server": {
|
||||
"type": "node",
|
||||
"entry_point": "dist/index.js"
|
||||
},
|
||||
"mcp_config": {
|
||||
"command": "node",
|
||||
"args": [
|
||||
"${__dirname}/dist/index.js"
|
||||
],
|
||||
"env": {
|
||||
"OBSIDIAN_VAULT": "${user_config.vault_name}",
|
||||
"MCP_LOG_LEVEL": "info"
|
||||
}
|
||||
},
|
||||
"user_config": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"vault_name": {
|
||||
"type": "string",
|
||||
"description": "Name of the Obsidian vault to manage",
|
||||
"required": true
|
||||
"entry_point": "dist/index.js",
|
||||
"mcp_config": {
|
||||
"command": "node",
|
||||
"args": [
|
||||
"${__dirname}/dist/index.js"
|
||||
],
|
||||
"env": {
|
||||
"OBSIDIAN_VAULT": "${user_config.vault_name}",
|
||||
"MCP_LOG_LEVEL": "info"
|
||||
}
|
||||
}
|
||||
},
|
||||
"compatibility": {
|
||||
"platforms": ["darwin", "win32", "linux"],
|
||||
"node": ">=18.0.0",
|
||||
"obsidian_cli": ">=1.0.0"
|
||||
},
|
||||
"capabilities": {
|
||||
"tools": true,
|
||||
"resources": false,
|
||||
"prompts": false
|
||||
},
|
||||
"tools": []
|
||||
"user_config": {
|
||||
"vault_name": {
|
||||
"type": "string",
|
||||
"title": "Vault Name",
|
||||
"description": "Name of the Obsidian vault to manage (case-sensitive)",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user