{
  "name": "@12-apps/mcp",
  "version": "3.17.0",
  "type": "module",
  "sideEffects": [
    "**/e2e/**"
  ],
  "description": "App-agnostic MCP server core: generate one MCP tool per OpenAPI operation and proxy each call carrying the caller's bearer token (permission passthrough). Also ships the OAuth 2.1 authorization server (./oauth, ./hono: register/authorize/token, JWKS and both .well-known documents), the package-owned Prisma partial + migration for its three tables, the mcp:generate/mcp:check (./generate) and mcp:coverage (./coverage) gates, and the reusable AI-connect onboarding UI (./react).",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./react": {
      "types": "./dist/react/index.d.ts",
      "default": "./dist/react/index.js"
    },
    "./oauth": {
      "types": "./dist/oauth/index.d.ts",
      "default": "./dist/oauth/index.js"
    },
    "./hono": {
      "types": "./dist/hono/index.d.ts",
      "default": "./dist/hono/index.js"
    },
    "./coverage": {
      "types": "./dist/coverage-gate/index.d.ts",
      "default": "./dist/coverage-gate/index.js"
    },
    "./generate": {
      "types": "./dist/generate/index.d.ts",
      "default": "./dist/generate/index.js"
    },
    "./manifest": {
      "types": "./dist/manifest/index.d.ts",
      "default": "./dist/manifest/index.js"
    },
    "./manifest/server": {
      "types": "./dist/manifest/server.d.ts",
      "default": "./dist/manifest/server.js"
    },
    "./package.json": "./package.json",
    "./e2e": {
      "types": "./dist/e2e/index.d.ts",
      "default": "./dist/e2e/index.js"
    }
  },
  "scripts": {
    "build": "rm -rf dist && tsup",
    "clean": "rm -rf node_modules coverage",
    "test": "node ../../scripts/vitest-with-teardown.mjs run --passWithNoTests",
    "test:watch": "vitest watch",
    "lint": "eslint src --max-warnings 0",
    "check-types": "tsc --noEmit",
    "typecheck": "tsc --noEmit",
    "prisma:sync": "node scripts/sync-mcp-schema.mjs",
    "prisma:sync:check": "node scripts/sync-mcp-schema.mjs --check"
  },
  "dependencies": {
    "@12-apps/onboarding": "^2.7.0",
    "@12-apps/rbac": "^4.14.0",
    "@12-apps/ui": "^6.24.8",
    "@mui/icons-material": "^6.5.0",
    "jose": "^6.1.3",
    "react": "^19.2.0"
  },
  "peerDependencies": {
    "@12-apps/wiring": ">=1.9.0",
    "@playwright/test": ">=1.55.0",
    "hono": ">=4.0.0",
    "playwright-bdd": ">=8.3.0",
    "react": ">=19.0.0",
    "zod": ">=4.0.0"
  },
  "peerDependenciesMeta": {
    "@12-apps/wiring": {
      "optional": true
    },
    "@playwright/test": {
      "optional": true
    },
    "hono": {
      "optional": true
    },
    "playwright-bdd": {
      "optional": true
    },
    "zod": {
      "optional": true
    }
  },
  "devDependencies": {
    "@12-apps/eslint-config": "^1.22.0",
    "@12-apps/i18n": "^1.3.0",
    "@12-apps/typescript-config": "^1.21.0",
    "@12-apps/wiring": "^1.16.0",
    "@mui/material": "^6.5.0",
    "@playwright/test": "^1.61.1",
    "@testing-library/react": "^16.1.0",
    "@types/node": "^22.15.3",
    "@types/react": "19.2.2",
    "eslint": "^9.39.1",
    "eslint-plugin-test-flakiness": "^1.4.0",
    "hono": "^4.6.0",
    "jsdom": "^25.0.1",
    "playwright-bdd": "^9.2.0",
    "react-dom": "^19.2.0",
    "tsup": "^8.0.0",
    "typescript": "^5.8.2",
    "vitest": "^3.2.4",
    "zod": "^4.3.5"
  },
  "wiring": {
    "db": {
      "partial": "prisma/mcp.prisma",
      "migrations": "prisma/migrations"
    }
  },
  "engines": {
    "node": ">=22.0.0"
  },
  "license": "MIT",
  "publishConfig": {
    "registry": "https://registry.npmjs.org",
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/12-apps/shared-packages.git",
    "directory": "packages/mcp"
  },
  "files": [
    "src",
    "dist",
    "prisma",
    "scripts",
    "*.js",
    "*.mjs",
    "*.md",
    "!eslint.config.js",
    "!tsup.config.ts",
    "!**/__tests__/**",
    "!**/tests/**",
    "!**/*.test.*",
    "!**/*.spec.*",
    "!**/*.stories.*",
    "!**/*.test-story.*",
    "!**/test-helpers.*",
    "features"
  ]
}
