{
  "name": "@napster-corp/edge-mcp",
  "version": "0.3.0",
  "description": "Napster Edge MCP — polyfills the WebMCP standard (document.modelContext) cross-browser and adds live state on top. Write standard registerTool calls with standard annotations; any compatible agent (including Napster's) can operate your app.",
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "browser": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    }
  },
  "bin": {
    "edge-mcp": "bin/edge-mcp.mjs"
  },
  "files": [
    "dist",
    "src",
    "bin",
    "tools",
    "hooks",
    "README.md",
    "CHANGELOG.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsc && npm run build:browser",
    "build:browser": "esbuild src/index.ts --bundle --minify --format=iife --global-name=EdgeMCP --target=es2019 --outfile=dist/edge-mcp.iife.min.js",
    "clean": "rm -rf dist",
    "test": "tsx --test tests/*.test.ts",
    "generate": "node ./bin/edge-mcp.mjs generate",
    "install-hook": "node ./bin/edge-mcp.mjs install-hook",
    "prepublishOnly": "npm run clean && npm run build && npm test"
  },
  "keywords": [
    "webmcp",
    "model-context",
    "document.modelContext",
    "agent",
    "ai-agent",
    "mcp",
    "polyfill",
    "in-browser",
    "tools"
  ],
  "license": "MIT",
  "homepage": "https://developers.napster.com",
  "engines": {
    "node": ">=18"
  },
  "publishConfig": {
    "access": "public"
  },
  "sideEffects": [
    "./dist/index.js",
    "./src/index.ts"
  ],
  "dependencies": {
    "@cfworker/json-schema": "4.1.1"
  },
  "peerDependencies": {
    "@anthropic-ai/claude-agent-sdk": "^0.3.0"
  },
  "peerDependenciesMeta": {
    "@anthropic-ai/claude-agent-sdk": {
      "optional": true
    }
  },
  "devDependencies": {
    "@standard-schema/spec": "^1.1.0",
    "esbuild": "^0.28.1",
    "tsx": "^4.19.0",
    "typescript": "^5.4.0"
  }
}
