{
  "name": "ituran-mcp",
  "version": "4.2.0",
  "description": "Stdio MCP server exposing the Ituran Global V2 API as MCP tools. Mints and refreshes its own access tokens via identity-server-v1 from credentials in env vars; tokens never reach the LLM.",
  "license": "MIT",
  "type": "module",
  "main": "dist/server.js",
  "bin": {
    "ituran-mcp": "start.js"
  },
  "files": [
    "dist/",
    "start.js",
    "README.md",
    "TOOLS.md",
    "LICENSE"
  ],
  "scripts": {
    "prebuild": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
    "build": "tsc && npm run gen:tools",
    "start": "node dist/server.js",
    "dev": "tsc --watch",
    "typecheck": "tsc --noEmit",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "validate": "npm run typecheck && npm run lint && npm run format:check && npm run build && npm run test:unit",
    "test": "npm run build && vitest run",
    "test:unit": "vitest run",
    "test:coverage": "npm run build && vitest run --coverage",
    "test:integration": "npm run build && RUN_INTEGRATION_TESTS=true vitest run test/integration.test.ts",
    "test:watch": "vitest",
    "gen:tools": "node scripts/gen-tools-md.mjs",
    "prepublishOnly": "npm run build",
    "prepare": "husky",
    "measure:catalog": "node scripts/measure-catalog.mjs"
  },
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.0.4",
    "zod": "^3.23.8"
  },
  "devDependencies": {
    "@eslint/js": "^9.39.4",
    "@types/node": "^22.10.0",
    "@vitest/coverage-v8": "^4.1.10",
    "eslint": "^9.39.4",
    "eslint-config-prettier": "^10.1.8",
    "husky": "^9.1.7",
    "lint-staged": "^16.4.0",
    "prettier": "^3.9.4",
    "typescript": "^5.6.3",
    "typescript-eslint": "^8.62.1",
    "vitest": "^4.1.10"
  },
  "engines": {
    "node": ">=20"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ituranlabs/ituran-mcp.git"
  },
  "homepage": "https://github.com/ituranlabs/ituran-mcp#readme",
  "bugs": {
    "url": "https://github.com/ituranlabs/ituran-mcp/issues"
  },
  "keywords": [
    "mcp",
    "ituran",
    "fleet-management",
    "vehicle-tracking",
    "stdio"
  ],
  "lint-staged": {
    "src/**/*.ts": [
      "eslint --fix",
      "prettier --write"
    ],
    "test/**/*.ts": [
      "prettier --write"
    ],
    "*.{js,mjs,json}": [
      "prettier --write"
    ]
  }
}
