UNPKG

backend-mcp

Version:

Generador automático de backends con Node.js, Express, Prisma y módulos configurables. Servidor MCP compatible con npx para agentes IA. Soporta PostgreSQL, MySQL, MongoDB y SQLite.

212 lines 5.62 kB
{ "name": "backend-mcp", "version": "2.0.19", "description": "Generador automático de backends con Node.js, Express, Prisma y módulos configurables. Servidor MCP compatible con npx para agentes IA. Soporta PostgreSQL, MySQL, MongoDB y SQLite.", "main": "mcp-server.js", "bin": { "backend-mcp": "./mcp-server.js" }, "scripts": { "start": "node mcp-server.js", "mcp-server": "node mcp-server.js", "generate": "node orchestrator.js", "generate:simple": "node orchestrator.js 'simple api'", "generate:fullstack": "node orchestrator.js 'full stack app'", "generate:enterprise": "node orchestrator.js 'enterprise backend'", "test": "jest --passWithNoTests", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:auth": "jest auth/ --passWithNoTests", "mcp:tools": "node mcp-server.js --help", "mcp:example:ecommerce": "node mcp-server.js --config ./examples/ecommerce-config.json", "mcp:example:blog": "node mcp-server.js --config ./examples/blog-config.json", "mcp:example:simple": "node mcp-server.js --config ./examples/simple-api-config.json", "setup-agent": "node setup-agent.js", "setup-claude": "node setup-agent.js --agent claude", "setup-cursor": "node setup-agent.js --agent cursor", "lint": "eslint . --ext .js,.ts", "lint:fix": "eslint . --ext .js,.ts --fix", "validate": "node scripts/validate-modules.js", "docs": "node scripts/generate-docs.js", "install-global": "npm install -g .", "auth:demo": "node auth/demo-tokens.js", "auth:validate": "node -e \"const {validateJWT} = require('./auth/jwt-auth'); validateJWT(process.argv[1]).then(console.log).catch(console.error)\"", "publish:npm": "node scripts/publish-npm.js", "publish:dry-run": "node scripts/publish-npm.js --dry-run", "prepublishOnly": "npm run validate" }, "keywords": [ "backend", "generator", "nodejs", "express", "prisma", "api", "crud", "authentication", "mcp", "ai-agent", "mcp-server", "ai-tools", "granular-control", "database-schema", "jwt-auth", "docker", "websockets", "email-templates", "cache-redis", "monitoring", "validation", "testing", "ecommerce", "blog", "microservices", "npx", "claude", "cursor", "rest-api" ], "author": "Backend MCP Team", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/tu-usuario/backend-mcp.git" }, "bugs": { "url": "https://github.com/tu-usuario/backend-mcp/issues" }, "homepage": "https://github.com/tu-usuario/backend-mcp#readme", "engines": { "node": ">=16.0.0", "npm": ">=8.0.0" }, "dependencies": { "chalk": "^4.1.2", "class-transformer": "^0.5.1", "class-validator": "^0.14.0", "commander": "^11.1.0", "express": "^4.18.2", "express-validator": "^7.0.1", "fs-extra": "^11.1.1", "glob": "^10.3.10", "handlebars": "^4.7.8", "inquirer": "^8.2.6", "semver": "^7.5.4", "@nestjs/websockets": "^10.2.7", "@nestjs/platform-socket.io": "^10.2.7", "socket.io": "^4.7.4", "socket.io-client": "^4.7.4", "@socket.io/redis-adapter": "^8.2.1", "redis": "^4.6.10", "@prisma/client": "latest", "bull": "^4.12.0", "ioredis": "^5.3.2", "validator": "^13.11.0", "nodemailer": "^6.9.7", "@types/nodemailer": "^6.4.14", "js-yaml": "^4.1.0", "pg": "latest" }, "devDependencies": { "@types/fs-extra": "^11.0.2", "@types/handlebars": "^4.1.0", "@types/jest": "^29.5.5", "@types/joi": "^17.2.2", "@types/js-yaml": "^4.0.6", "@types/morgan": "^1.9.10", "@types/multer": "^2.0.0", "@types/node": "^20.8.0", "@types/passport": "^1.0.17", "@types/winston": "^2.4.4", "@types/yup": "^0.29.14", "@typescript-eslint/eslint-plugin": "^6.7.4", "@typescript-eslint/parser": "^6.7.4", "eslint": "^8.50.0", "jest": "^29.7.0", "supertest": "^7.1.4", "ts-jest": "^29.1.1", "typescript": "^5.2.2", "prisma": "latest", "@types/pg": "latest" }, "peerDependencies": { "@prisma/client": ">=5.0.0", "prisma": ">=5.0.0" }, "files": [ "mcp-server.js", "mcp-tools.js", "mcp-tools-schemas.json", "orchestrator.js", "setup-agent.js", "auth/", "modules/", "templatesBackend/", "scripts/", "docs/", "examples/", "README.md", "AGENT-DATABASE-CONFIG.md", "AI-TOOLS-GUIDE.md", "MCP-SYSTEM-OVERVIEW.md", "GUIA-AGENTES-EXTERNOS.md", "GUIA-CONFIGURACION-IA.md", "JWT_IMPLEMENTATION_SUMMARY.md", "LICENSE" ], "preferGlobal": true, "publishConfig": { "access": "public" }, "mcp": { "version": "1.0.0", "modules": [ "auth", "database", "crud", "email", "logging", "websockets", "file-upload", "payment", "cache", "queue" ], "flows": { "simple": [ "database", "crud" ], "fullstack": [ "database", "auth", "crud", "email", "logging" ], "enterprise": [ "database", "auth", "crud", "email", "logging", "cache", "queue", "websockets" ] }, "ai_optimized": true, "auto_detection": true, "generation_time": "<30s", "supported_frameworks": [ "express", "fastify" ], "supported_databases": [ "postgresql", "mysql", "sqlite", "mongodb" ] } }