package.json•1.86 kB
{
"name": "gitbook-mcp-server",
"version": "1.0.0",
"description": "MCP server for GitBook integration",
"main": "dist/index.js",
"bin": {
"gitbook-mcp-server": "dist/index.js",
"create-gitbook-mcp": "scripts/create-mcp.js"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc && chmod +x dist/index.js && node scripts/auto-detect.js",
"build:clean": "tsc && chmod +x dist/index.js",
"build:init": "npm run build && node scripts/init-fetch.js",
"auto-detect": "npm run build:clean && node scripts/auto-detect.js",
"dev": "tsx src/index.ts",
"start": "node dist/index.js",
"start:http": "node dist/index.js --streamable-http",
"start:api": "node dist/api.js",
"create-mcp": "node scripts/create-mcp.js",
"inspect-cache": "node scripts/inspect-cache.js",
"ui": "cd ui && next dev -p ${UI_PORT:-4224}",
"ui:build": "cd ui && next build",
"ui:start": "cd ui && next start -p ${UI_PORT:-4224}",
"test": "npm run build && node test.js"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.16.0",
"@types/better-sqlite3": "^7.6.13",
"axios": "^1.11.0",
"better-sqlite3": "^12.2.0",
"cheerio": "^1.0.0-rc.12",
"cors": "^2.8.5",
"dotenv": "^17.0.1",
"express": "^4.18.2",
"fuse.js": "^7.1.0",
"natural": "^8.1.0",
"turndown": "^7.1.3"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/turndown": "^5.0.5",
"@types/ws": "^8.5.0",
"autoprefixer": "^10.4.0",
"next": "^14.0.0",
"postcss": "^8.4.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"tailwindcss": "^3.4.0",
"tsx": "^4.0.0",
"typescript": "^5.0.0",
"ws": "^8.18.0"
}
}