@moikas/code-audit-mcp
Version:
AI-powered code auditing via MCP using local Ollama models for security, performance, and quality analysis
130 lines (129 loc) • 3.46 kB
JSON
{
"name": "@moikas/code-audit-mcp",
"version": "1.0.7",
"description": "AI-powered code auditing via MCP using local Ollama models for security, performance, and quality analysis",
"main": "dist/server/index.js",
"type": "module",
"bin": {
"code-audit": "./bin/code-audit.js",
"code-audit-mcp": "./bin/mcp-wrapper.js"
},
"preferGlobal": true,
"scripts": {
"dev": "tsx --watch src/server/server.ts",
"build": "tsc && chmod +x bin/code-audit.js",
"start": "node dist/server/server.js",
"setup": "tsx src/cli/setup.ts",
"test-audit": "tsx --test tests/*.test.ts",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"format:src": "prettier --write src/**/*.{ts,js}",
"type-check": "tsc --noEmit",
"quality-check": "npm run lint && npm run format:check && npm run type-check",
"quality-fix": "npm run lint:fix && npm run format",
"ci-check": "node scripts/ci-check.js",
"prepublishOnly": "npm run quality-check && npm run build",
"prepare": "husky",
"pack-test": "npm pack && npm install -g code-audit-mcp-1.0.0.tgz",
"test-local": "node tests/test-local.js",
"test-local-verbose": "node tests/test-local.js --verbose",
"test-publish": "node scripts/test-publish.js",
"clean": "rm -rf dist/ *.tgz",
"reinstall": "npm run clean && npm install",
"full-test": "npm run clean && npm install && npm run test-local"
},
"keywords": [
"mcp",
"code-audit",
"ollama",
"typescript",
"ai",
"security",
"code-analysis",
"static-analysis",
"code-quality",
"cli",
"global",
"model-context-protocol"
],
"author": {
"name": "Warren Gates",
"email": "warren@example.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/moikas-code/code-audit-mcp.git"
},
"bugs": {
"url": "https://github.com/moikas-code/code-audit-mcp/issues"
},
"homepage": "https://github.com/moikas-code/code-audit-mcp#readme",
"files": [
"dist/",
"bin/",
"templates/",
"README.md",
"LICENSE"
],
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.0",
"boxen": "^8.0.1",
"chalk": "^5.3.0",
"commander": "^12.1.0",
"conf": "^13.0.1",
"execa": "^9.5.1",
"inquirer": "^12.0.0",
"listr2": "^8.2.5",
"node-fetch": "^3.3.2",
"ollama": "^0.5.9",
"ora": "^8.1.1",
"semver": "^7.6.3",
"update-notifier": "^7.3.1"
},
"devDependencies": {
"@types/inquirer": "^9.0.7",
"@types/node": "^22.10.2",
"@types/semver": "^7.5.8",
"@types/update-notifier": "^6.0.8",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"eslint": "^9.17.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"prettier": "^3.4.2",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
"lint-staged": {
"src/**/*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"bin/**/*.js": [
"eslint --fix",
"prettier --write"
],
"scripts/**/*.js": [
"eslint --fix",
"prettier --write"
],
"tests/**/*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"engines": {
"node": ">=18.0.0"
},
"os": [
"darwin",
"linux",
"win32"
]
}