package.json•1.76 kB
{
"name": "mcp-open-library",
"version": "1.0.0",
"description": "MCP server for the Open Library",
"private": false,
"keywords": [
"mcp",
"open-library",
"books",
"library",
"api",
"server"
],
"author": "Ben Smith",
"license": "MIT",
"homepage": "https://github.com/8enSmith/mcp-open-library#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/8enSmith/mcp-open-library.git"
},
"bugs": {
"url": "https://github.com/8enSmith/mcp-open-library/issues"
},
"type": "module",
"bin": {
"open-library-server": "./build/index.js"
},
"files": [
"build"
],
"scripts": {
"build": "tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"",
"prepare": "npm run build",
"watch": "tsc --watch",
"inspector": "npx @modelcontextprotocol/inspector build/index.js",
"test": "vitest",
"format": "prettier --write src/**/*.ts",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"test:precommit": "vitest run"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.16.0",
"axios": "^1.10.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@eslint/compat": "^1.2.8",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.25.0",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^8.30.1",
"@typescript-eslint/parser": "^8.30.1",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-import": "^2.31.0",
"husky": "^9.1.7",
"lint-staged": "^15.5.1",
"prettier": "^3.5.3",
"typescript": "^5.3.3",
"vitest": "^3.1.1"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}