package.json•1.22 kB
{
"name": "mcp-swagger",
"version": "0.1.2",
"description": "MCP server that converts REST APIs with Swagger documentation into MCP tools",
"main": "dist/index.js",
"bin": {
"mcp-swagger": "dist/index.js"
},
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "ts-node src/index.ts",
"lint": "eslint src/**/*.ts",
"test": "npm run build && node scripts/test-mcp.js",
"test:interactive": "npm run build && node scripts/interactive.js",
"test:tools": "npm run build && node scripts/test-tools.js",
"test:env": "npm run build && node scripts/test-env.js"
},
"keywords": [
"mcp",
"swagger",
"openapi",
"rest-api",
"tools"
],
"author": "Hainan Zhao",
"license": "MIT",
"engines": {
"node": ">=18"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.17.1",
"axios": "^1.11.0",
"commander": "^14.0.0",
"swagger-parser": "^10.0.3"
},
"devDependencies": {
"@types/commander": "^2.12.0",
"@types/node": "^24.2.0",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"eslint": "^9.32.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.2"
}
}