package.json•3.5 kB
{
"name": "@nervusdb/mcp",
"version": "0.1.21",
"description": "Official MCP server for NervusDB - Code knowledge graph with repomix integration",
"private": false,
"type": "module",
"keywords": [
"mcp",
"model-context-protocol",
"nervusdb",
"knowledge-graph",
"code-analysis",
"repomix",
"claude",
"ai-tools"
],
"homepage": "https://github.com/nervusdb/nervusdb-mcp#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/nervusdb/nervusdb-mcp.git"
},
"bugs": {
"url": "https://github.com/nervusdb/nervusdb-mcp/issues"
},
"license": "MIT",
"author": "NervusDB Contributors",
"files": [
"dist",
"bin",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"bin": {
"nervusdb-mcp": "bin/nervusdb-mcp.js"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=20.0.0",
"pnpm": ">=8.0.0"
},
"scripts": {
"clean": "rimraf dist .tsbuildinfo",
"clean:rust": "cargo clean",
"build:rust": "cargo build --release --package synapse-parser-napi --all-features && cp target/release/libsynapse_parser_napi.dylib target/release/synapse_parser_napi.node && mkdir -p dist/native && cp target/release/synapse_parser_napi.node dist/native/",
"fmt": "prettier --write \"**/*.{ts,js,json,md}\"",
"fmt:check": "prettier --check \"**/*.{ts,js,json,md}\"",
"fmt:rust": "cargo fmt --all",
"lint": "eslint \"src/**/*.ts\"",
"lint:rust": "cargo clippy --all-targets --all-features -- -D warnings",
"test": "vitest run",
"test:watch": "vitest",
"test:rust": "cargo test --workspace",
"bench:rust": "cargo bench --workspace",
"build:rust:dev": "cargo build --manifest-path Cargo.toml",
"build": "pnpm clean && pnpm build:rust && tsc --project tsconfig.build.json && chmod +x dist/server/stdio.js",
"build:http": "tsup src/server/index.ts --format esm --dts --out-dir dist",
"start": "tsx src/server/index.ts",
"start:stdio": "MCP_TRANSPORT=stdio tsx src/server/stdio.ts",
"synapse:index": "tsx src/cli/index.ts",
"depcheck": "dependency-cruiser --config .dependency-cruiser.cjs src",
"check": "pnpm fmt:check && pnpm lint && pnpm test:run",
"check:all": "pnpm check && pnpm lint:rust && pnpm test:rust",
"prepare": "husky"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.20.0",
"@nervusdb/core": "0.1.3",
"@octokit/rest": "^21.0.0",
"@types/glob": "^9.0.0",
"commander": "^11.1.0",
"express": "^4.18.2",
"glob": "^11.0.3",
"minimatch": "^10.0.3",
"pino": "^10.0.0",
"repomix": "^1.7.0",
"simple-git": "^3.21.0",
"vitest": "^1.6.1",
"zod": "^3.25.76"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/minimatch": "^6.0.0",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"dependency-cruiser": "^16.5.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.4",
"pino-pretty": "^13.1.2",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"tsconfig-paths": "^4.2.0",
"tsup": "^7.2.0",
"tsx": "^4.7.0",
"typescript": "^5.3.0"
},
"lint-staged": {
"*.{ts,js,json,md}": [
"prettier --write"
],
"src/**/*.ts": [
"eslint --fix"
]
}
}