{ "name": "mcp-ga4", "mcpName": "io.github.mharnett/ga4", "version": "2.2.0", "description": "MCP server for Google Analytics 4 - query GA4 data with natural language via Claude.", "main": "dist/index.js", "bin": { "mcp-ga4": "dist/index.js", "mcp-ga4-auth": "dist/authCli.js" }, "types": "dist/index.d.ts", "type": "module", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist/**/*.js", "dist/**/*.d.ts", "dist/build-info.json", "!dist/**/*.test.*", "README.md", "LICENSE", "config.example.json", "get-refresh-token.cjs" ], "scripts": { "build": "tsc && node -e \"fs=require('fs');cp=require('child_process');sha=cp.execSync('git rev-parse --short HEAD 2>/dev/null||echo unknown').toString().trim();fs.writeFileSync('dist/build-info.json',JSON.stringify({sha,builtAt:new Date().toISOString()}))\"", "start": "node dist/index.js", "dev": "tsx src/index.ts", "auth": "node dist/authCli.js", "dev:auth": "tsx src/authCli.ts", "pretest": "npm run build", "test": "vitest run", "smoke": "scripts/healthcheck.sh" }, "author": "drak-marketing", "license": "MIT", "engines": { "node": ">=18.18.0" }, "dependencies": { "@google-analytics/admin": "^9.0.1", "@google-analytics/data": "^5.2.1", "@modelcontextprotocol/sdk": "^0.5.0", "cockatiel": "^3.2.1", "google-auth-library": "^9.14.0", "mcp-updatenotifier": "^1.0.0", "mcp-write-gate": "^1.0.0", "pino": "^8.21.0", "pino-pretty": "^13.1.3" }, "devDependencies": { "@drak-marketing/mcp-test-harness": "^0.2.3", "@types/node": "^20.10.0", "tsx": "^4.7.0", "typescript": "^5.3.0", "vitest": "^4.0.18" }, "repository": { "type": "git", "url": "git+https://github.com/mharnett/mcp-ga4.git" } }