package.json•1.56 kB
{
"name": "irag-mcp-server",
"version": "1.0.0",
"description": "百度iRAG图片生成API的MCP服务器",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:server": "node test-server.js",
"test:api": "node test-api-direct.js",
"test:e2e": "node test-image-generation.js",
"test:images": "node test-image-saving.js",
"test:config": "node test-model-config.js",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"clean": "rimraf dist",
"setup": "npm install && npm run build",
"validate": "npm run lint && npm test && npm run test:server",
"validate:full": "npm run lint && npm test && npm run test:server && npm run test:api"
},
"keywords": [
"mcp",
"model-context-protocol",
"baidu",
"irag",
"image-generation",
"ai"
],
"author": "Your Name",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^0.5.0",
"axios": "^1.6.0",
"dotenv": "^16.3.0",
"winston": "^3.11.0",
"zod": "^3.22.0"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"jest": "^29.5.0",
"rimraf": "^5.0.0",
"ts-jest": "^29.1.0",
"tsx": "^4.0.0",
"typescript": "^5.0.0"
},
"engines": {
"node": ">=18.0.0"
}
}