{
  "name": "@ampeco/public-api-mcp",
  "version": "3.251.5",
  "description": "MCP server that dynamically exposes the AMPECO.CHARGE Public API defined by an OpenAPI 3 specification",
  "type": "module",
  "main": "dist/cli/index.js",
  "types": "dist/cli/index.d.ts",
  "bin": {
    "ampeco-api-mcp": "./dist/cli/index.js"
  },
  "files": [
    "dist/**/*",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsx src/build/index.ts \"$OPENAPI_SPEC_PATH\" && tsc && mkdir -p dist/generated && cp src/generated/*.json src/generated/*.ts dist/generated/",
    "build:silent": "(tsx src/build/index.ts \"$OPENAPI_SPEC_PATH\" && echo '[Build] Complete' >&2) >&2",
    "dev:stdio": "npm run --silent build:silent && tsx src/cli/index.ts --stdio --hostname http://demo.charge.alex2.dev.ampeco.tech --token \"$AMPECO_TOKEN\"",
    "dev:http": "tsx src/build/index.ts \"$OPENAPI_SPEC_PATH\" && tsx src/cli/index.ts --http --port 3001",
    "dev": "npm run dev:http",
    "start": "node dist/cli/index.js",
    "type-check": "tsc --noEmit",
    "test": "vitest",
    "package:mcpb": "bash scripts/package-mcpb.sh",
    "prepublishOnly": "npm run build"
  },
  "keywords": [
    "mcp",
    "openapi",
    "api",
    "model-context-protocol",
    "ampeco",
    "charge",
    "ev-charging"
  ],
  "author": "AMPECO",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/ampeco/public-api-mcp.git"
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.0.4",
    "zod": "^3.24.1",
    "node-fetch": "^3.3.2",
    "express": "^4.21.2",
    "cors": "^2.8.5"
  },
  "devDependencies": {
    "@readme/openapi-parser": "^2.6.0",
    "@types/node": "^22.10.2",
    "@types/express": "^5.0.0",
    "@types/cors": "^2.8.17",
    "tsx": "^4.19.2",
    "typescript": "^5.7.2",
    "vitest": "^2.1.8"
  }
}
