feat(notes): add manifest validation CLI tool
Create mcp-manifest-validate package with CLI and programmatic API: - Validate manifests against JSON Schema v0.1 - Test autodiscovery from domains (well-known URL + HTML link tags) - Check command availability on PATH - Semantic validation (config keys, template variables, transport) - Colorized terminal output with detailed error reporting - JSON output mode for CI/CD integration - Programmatic API for library use Includes schema/v0.1.json, CLI in bin/cli.js, and core logic in src/index.js
This commit is contained in:
39
package.json
Normal file
39
package.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"name": "mcp-manifest-validate",
|
||||
"version": "0.1.0",
|
||||
"description": "Validate mcp-manifest.json files and test autodiscovery from domains",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"mcp-manifest-validate": "./bin/cli.js"
|
||||
},
|
||||
"main": "./src/index.js",
|
||||
"exports": {
|
||||
".": "./src/index.js"
|
||||
},
|
||||
"files": [
|
||||
"bin/",
|
||||
"src/",
|
||||
"schema/"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "node --test src/*.test.js"
|
||||
},
|
||||
"keywords": [
|
||||
"mcp",
|
||||
"manifest",
|
||||
"validate",
|
||||
"model-context-protocol",
|
||||
"autodiscovery"
|
||||
],
|
||||
"author": "mcp-manifest",
|
||||
"license": "CC0-1.0",
|
||||
"homepage": "https://mcp-manifest.dev",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.marketally.com/mcp-manifest/validate"
|
||||
},
|
||||
"dependencies": {
|
||||
"ajv": "^8.17.0",
|
||||
"ajv-formats": "^3.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user