{
  "name": "@xzxzzx/bilibili-mcp",
  "version": "1.14.2",
  "mcpName": "io.github.XZXZZX-Ai/bilibili-mcp",
  "description": "Bilibili MCP tool for video metadata, transcripts, subtitles, and comment summarization",
  "type": "module",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": {
    "bilibili-mcp": "dist/cli.js"
  },
  "scripts": {
    "build": "node --input-type=commonjs -e \"const{rmSync}=require('fs');const{resolve,dirname,basename}=require('path');const d=resolve('dist');if(dirname(d)!==process.cwd()||basename(d)!=='dist'){console.error('Safety check failed: '+d);process.exit(1);}rmSync(d,{recursive:true,force:true});\" && tsc",
    "watch": "tsc --watch",
    "start": "node dist/index.js",
    "test:fake-ip": "vitest run tests/pinned-https.test.ts tests/asr-transcription.test.ts tests/server-error-next-steps.test.ts",
    "prepublishOnly": "npm run build",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:env": "node -e \"console.log('检查环境变量...'); console.log('BILIBILI_SESSDATA:', process.env.BILIBILI_SESSDATA ? '✅ 已配置' : '❌ 未配置'); console.log('BILIBILI_BILI_JCT:', process.env.BILIBILI_BILI_JCT ? '✅ 已配置' : '❌ 未配置'); console.log('BILIBILI_DEDEUSERID:', process.env.BILIBILI_DEDEUSERID ? '✅ 已配置' : '❌ 未配置');\""
  },
  "files": [
    "dist",
    "assets/readme",
    "docs/client-setup.md",
    "docs/client-setup.en.md",
    "docs/tool-reference.md",
    "docs/tool-reference.en.md",
    "README.md",
    "README_EN.md",
    "LICENSE"
  ],
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "mcp",
    "model-context-protocol",
    "bilibili",
    "video",
    "comments",
    "subtitle",
    "transcript",
    "metadata",
    "chinese",
    "b站",
    "视频总结",
    "评论总结"
  ],
  "author": "xzxzzx",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/XZXZZX-Ai/bilibili-mcp.git"
  },
  "homepage": "https://github.com/XZXZZX-Ai/bilibili-mcp#readme",
  "bugs": {
    "url": "https://github.com/XZXZZX-Ai/bilibili-mcp/issues"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.30.0",
    "commander": "^14.0.3",
    "dotenv": "^17.2.4",
    "qrcode-generator": "2.0.4",
    "quick-lru": "^7.3.0"
  },
  "devDependencies": {
    "@types/node": "^22.19.8",
    "esbuild": "^0.28.1",
    "typescript": "^5.7.2",
    "vitest": "^4.1.8"
  }
}
