{ "name": "mcp-slim-guard", "version": "0.1.1-alpha.2", "mcpName": "io.github.lennney/mcp-slim-guard", "description": "MCP tool access modes with on-demand full schemas and recoverable result delivery.", "type": "module", "main": "./dist/index.js", "bin": { "mcp-slim-guard": "./dist/cli.js" }, "exports": { ".": "./dist/index.js", "./cli": "./dist/cli.js" }, "files": [ "dist", "README.md", "LICENSE" ], "keywords": [ "mcp", "model-context-protocol", "mcp-compression", "context-compression", "schema-compression", "payload-compression", "token-optimization", "context-window", "mcp-proxy", "tool-filtering", "tool-discovery", "claude-code", "cursor", "codex", "llm" ], "homepage": "https://github.com/lennney/mcp-slim-guard", "bugs": { "url": "https://github.com/lennney/mcp-slim-guard/issues" }, "repository": { "type": "git", "url": "git+https://github.com/lennney/mcp-slim-guard.git" }, "license": "MIT", "engines": { "node": ">=20" }, "scripts": { "build": "node scripts/build.mjs", "start": "node dist/cli.js", "dev": "tsc --watch", "lint": "eslint src/", "lint:fix": "eslint src/ --fix", "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/candidate/**/*.mjs\" \"docs/**/*.md\" \".github/**/*.{md,yml,yaml}\" \"*.{json,md,yml,yaml}\"", "format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/candidate/**/*.mjs\" \"docs/**/*.md\" \".github/**/*.{md,yml,yaml}\" \"*.{json,md,yml,yaml}\"", "verify:governance": "node scripts/candidate/verify-agent-guidance.mjs", "metadata:set": "node scripts/release/metadata.mjs", "metadata:check": "node scripts/release/metadata.mjs --check", "typecheck": "tsc --noEmit", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "validate": "npm run verify:governance && npm run typecheck && npm run lint && npm run format:check && npm run test", "ci": "npm run build && npm run validate && npm run test:coverage && npm run verify:package-boundary", "check": "npm run validate", "prepublishOnly": "npm run metadata:check && npm run ci", "bench:result": "node scripts/benchmark/result-delivery.mjs", "bench:compression": "node scripts/benchmark/content-projection.mjs", "bench:compression:verify": "node scripts/benchmark/complete-task.mjs && node scripts/benchmark/content-projection.mjs && node scripts/benchmark/automatic-stress.mjs && node scripts/benchmark/verify-compression.mjs", "bench:stress": "npm run build && node scripts/benchmark/automatic-stress.mjs", "bench:task": "node scripts/benchmark/complete-task.mjs", "eval": "node scripts/evaluation/evaluation-cli.mjs", "bench:security-accuracy": "node scripts/evaluation/security-accuracy.mjs", "demo:alpha": "npm run build && node scripts/demo/alpha-demo.mjs", "smoke:protocol": "node scripts/integration/protocol-smoke.mjs", "smoke:codex-config": "node scripts/integration/codex-config-smoke.mjs", "smoke:agent-search-audit": "npm run build && node scripts/integration/agent-search-audit-smoke.mjs", "smoke:real-servers": "npm run build && node scripts/integration/real-server-smoke.mjs", "smoke:package": "npm run build && node scripts/integration/package-smoke.mjs", "smoke:package:extreme": "npm run build && node scripts/integration/package-smoke.mjs --mode extreme", "smoke:package-native-real": "node scripts/integration/package-native-real-server-smoke.mjs", "verify:package-boundary": "node scripts/candidate/verify-npm-package.mjs", "snapshot:source": "node scripts/candidate/create-source-snapshot.mjs", "prepare": "husky" }, "lint-staged": { "src/**/*.ts": [ "eslint --fix", "prettier --write" ], "tests/**/*.ts": [ "prettier --write" ], "scripts/candidate/**/*.mjs": [ "prettier --write" ], "docs/**/*.md": [ "prettier --write" ], ".github/**/*.{md,yml,yaml}": [ "prettier --write" ], "*.{json,md,yml,yaml}": [ "prettier --write" ] }, "dependencies": { "@modelcontextprotocol/sdk": "^1.30.0", "commander": "^13.1.0", "js-yaml": "^4.1.0", "micromatch": "^4.0.8", "open": "^11.0.0", "pino": "^9.6.0" }, "devDependencies": { "@eslint/js": "^10.0.1", "@types/js-yaml": "^4.0.9", "@types/micromatch": "^4.0.10", "@types/node": "^22.0.0", "@vitest/coverage-v8": "^3.2.7", "eslint": "^10.0.0", "husky": "^9.1.7", "lint-staged": "^15.5.2", "prettier": "^3.9.6", "tiktoken": "^1.0.22", "typescript": "^5.7.0", "typescript-eslint": "^8.65.0", "vitest": "^3.0.0" } }