package.json•3.73 kB
{
"name": "atrax",
"version": "0.1.0",
"description": "A proxy service for Model Context Protocol (MCP) servers",
"type": "module",
"main": "dist/src/index.js",
"bin": {
"atrax": "dist/src/cli.js"
},
"scripts": {
"bump:logo": "replace 'v[0-9]+\\.[0-9]+\\.[0-9]+' \"v$npm_package_version\" ./ascii_logo.txt",
"bump:readme": "replace 'v[0-9]+\\.[0-9]+\\.[0-9]+' \"v$npm_package_version\" ./README.md ./SECURITY.md",
"build": "tsc",
"start": "node dist/src/index.js",
"dev": "nodemon --exec ts-node --esm src/index.ts",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
"test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"lint:strict": "eslint . --ext .ts --max-warnings=0",
"lint:report": "eslint . --ext .ts --output-file eslint-report.json --format json",
"lint:structure": "node scripts/check-project-structure.js",
"pre-commit": "pre-commit install",
"pre-commit:run": "pre-commit run --all-files",
"format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts'",
"serve": "node dist/src/cli.js serve -f examples/test-config.json",
"serve:port": "PORT=${PORT:-4000} node dist/src/cli.js serve -f examples/test-config.json",
"serve:auth": "bash scripts/start-with-auth.sh",
"build:test": "ATRAX_ROOT=\"$(pwd)\" PORT=4000 MCP_TOKEN=${MCP_TOKEN:-test-token-123456} node dist/src/cli.js serve -f examples/test-config.json",
"test:smoke": "bash tests/smoke/test-atrax.sh",
"test:version-bump": "bash scripts/test-version-bump.sh",
"version": "npm run bump:logo && npm run bump:readme && git add ./ascii_logo.txt ./README.md ./SECURITY.md",
"postversion": "git push && git push --tags",
"inspect": "npx @modelcontextprotocol/inspector node dist/src/cli.js serve -f examples/test-config.json",
"build:inspect": "npm run build && npm run inspect",
"memory-server": "node examples/servers/scripts/memory-server.js",
"echo-server": "node examples/servers/scripts/echo-server.js",
"echo-client": "node examples/clients/echo-client.js",
"memory-client": "node examples/clients/memory-client.js",
"http-echo-server": "ts-node --esm examples/servers/http-echo-server.ts",
"http-echo-client": "node examples/clients/http-echo-client.js",
"build:serve": "npm run build && npm run serve",
"test:smoke": "bash tests/smoke/test-atrax.sh"
},
"keywords": [
"mcp",
"proxy",
"model context protocol",
"ai tools"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@modelcontextprotocol/inspector": "^0.7.0",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.14",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"jest-ts-webcompat-resolver": "^1.0.0",
"nodemon": "^3.1.9",
"pre-commit": "^1.2.2",
"prettier": "^3.1.0",
"replace": "^1.2.2",
"ts-jest": "^29.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.2"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.8.0",
"commander": "^12.0.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"express": "^4.18.3",
"spawn-rx": "^3.0.0",
"uuid": "^9.0.1",
"winston": "^3.11.0",
"zod": "^3.22.4"
},
"engines": {
"node": ">=18.0.0"
}
}