{"endpoint":"/api/dev/license-check","method":"POST","service_trust":"https://defi-shield-hazel.vercel.app/api/trust-signal","free_check":{"endpoint":"https://defi-shield-hazel.vercel.app/api/free/token-check","method":"POST","price":"FREE","note":"Try before you buy — free basic token safety check with risk math."},"also_available_on":{"virtuals_acp":{"agent":"Authensor","agent_id":18805,"offerings":["pre_trade_safety","token_deep_scan","wallet_report","batch_seal"],"marketplace":"https://app.virtuals.io/acp/scan/agents","note":"Same service, accessible to 18,000+ autonomous agents on Virtuals Protocol."},"mcp_server":{"package":"devsecure-mcp","install":"npx devsecure-mcp","tools":67,"note":"Install as MCP server in Claude, Cursor, or any MCP-compatible client for direct tool access."},"bazaar":"https://defi-shield-hazel.vercel.app/.well-known/x402","agent_card":"https://defi-shield-hazel.vercel.app/.well-known/agent-card.json"},"powered_by":"DeFi Shield by Authensor","price":"$0.05","description":"Check license compatibility for npm packages. Fetches actual license data from the npm registry, classifies as permissive/copyleft/restrictive/unknown, detects conflicts with your project license, and flags risks.","llm_usage_prompt":"Call this endpoint when adding npm dependencies to check license compatibility. Provide 'dependencies' (array of package names) and optionally 'project_license' (default: MIT). Returns each package with its real license from npm, category, MIT compatibility, any conflicts with reasons, and an overall risk_level. Costs $0.05.","params":{"dependencies":"string[] (required) - Array of npm package names to check","project_license":"string (optional, default: 'MIT') - Your project's SPDX license identifier"},"exampleRequest":{"dependencies":["express","react","mongodb"],"project_license":"MIT"},"exampleResponse":{"project_license":"MIT","packages":[{"name":"express","license":"MIT","category":"permissive","compatible_with_mit":true},{"name":"mongodb","license":"Apache-2.0","category":"permissive","compatible_with_mit":true},{"name":"react","license":"MIT","category":"permissive","compatible_with_mit":true}],"conflicts":[],"risk_level":"low","summary":{"total":3,"permissive":3,"copyleft":0,"restrictive":0,"unknown":0,"conflicts":0},"response_time_ms":320}}