{
  "name": "knowledge-base-mcp",
  "version": "1.0.3",
  "description": "知识库MCP服务，基于Dify MCP协议的两步式知识库检索系统",
  "main": "dist/index.js",
  "bin": {
    "knowledge-base-mcp": "dist/index.js"
  },
  "keywords": [
    "mcp",
    "knowledge-base",
    "dify",
    "typescript"
  ],
  "author": "",
  "license": "MIT",
  "files": [
    "dist",
    "README.md"
  ],
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.16.0",
    "axios": "^1.7.7",
    "commander": "^14.0.0",
    "cors": "^2.8.5",
    "dotenv": "^16.4.5",
    "express": "^4.18.2",
    "zod": "^3.22.4"
  },
  "devDependencies": {
    "@types/cors": "^2.8.5",
    "@types/express": "^4.17.21",
    "@types/node": "^20.6.0",
    "prettier": "^3.2.5",
    "ts-node": "^10.9.2",
    "typescript": "^5.3.0"
  },
  "scripts": {
    "dev": "ts-node src/index.ts",
    "dev:http": "ts-node src/index.ts --transport http --port 8008",
    "dev:sse": "ts-node src/index.ts --transport sse --port 8006",
    "build": "rm -rf dist && tsc --build",
    "start": "node dist/index.js",
    "start:http": "node dist/index.js --transport http --port 8008",
    "start:sse": "node dist/index.js --transport sse --port 8006",
    "type-check": "tsc --noEmit",
    "format": "prettier --write \"src/**/*.ts\""
  }
}