package.json•2.82 kB
{
"name": "@vpursuit/swipl-mcp-server",
"version": "2.0.5",
"type": "module",
"scripts": {
"test": "vitest run",
"test:unit": "vitest run test/unit",
"test:integration": "vitest run test/integration",
"test:integration:npx": "vitest run test/integration/npx.test.ts",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:npx": "node test/npx-integration.test.js",
"test:all": "npm run test && npm run test:npx",
"build": "tsc && chmod 755 build/index.js",
"build:package": "node scripts/build-package.js",
"start": "node build/index.js",
"server": "npm run build && npm start",
"inspect": "npx @modelcontextprotocol/inspector node build/index.js",
"lint": "eslint . --ext .ts,.js",
"lint:fix": "eslint . --ext .ts,.js --fix",
"format": "prettier --write \"**/*.{ts,js,json,yml,yaml}\"",
"format:check": "prettier --check \"**/*.{ts,js,json,yml,yaml}\"",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"version:prerelease": "npm version prerelease",
"release:patch": "npm run version:patch && git push origin main --follow-tags",
"release:minor": "npm run version:minor && git push origin main --follow-tags",
"release:major": "npm run version:major && git push origin main --follow-tags",
"release:prerelease": "npm run version:prerelease && git push origin main --follow-tags",
"security:audit": "npm audit --audit-level=moderate",
"security:check": "npm audit --audit-level=high --json | jq -r '.vulnerabilities | length' | xargs -I {} test {} -eq 0",
"security:update": "npm update && npm audit fix"
},
"keywords": [
"mcp",
"prolog",
"swi-prolog",
"swipl",
"model-context-protocol",
"logic-programming",
"ai",
"llm",
"server",
"tools",
"knowledge-base",
"reasoning"
],
"author": "Peter Trebing",
"license": "BSD-3-Clause",
"description": "SWI-Prolog MCP Server with dual query modes and security layer",
"repository": {
"type": "git",
"url": "git+https://github.com/vpursuit/swipl-mcp-server.git"
},
"homepage": "https://github.com/vpursuit/swipl-mcp-server#readme",
"bugs": {
"url": "https://github.com/vpursuit/swipl-mcp-server/issues"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.18.0",
"zod": "^3.25.76"
},
"engines": {
"node": ">=20.0.0"
},
"devDependencies": {
"@types/node": "^24.2.1",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.3.3",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
}
}