UNPKG

@kpritam/gremlin-mcp

Version:

A Gremlin MCP server that allows for fetching status, schema, and querying using Gremlin for any Gremlin-compatible graph database (TypeScript implementation).

91 lines (90 loc) 2.63 kB
{ "name": "@kpritam/gremlin-mcp", "version": "0.0.4", "description": "A Gremlin MCP server that allows for fetching status, schema, and querying using Gremlin for any Gremlin-compatible graph database (TypeScript implementation).", "type": "module", "main": "dist/server.js", "bin": { "gremlin-mcp": "dist/server.js" }, "scripts": { "build": "tsc && chmod +x dist/server.js", "dev": "tsx src/server.ts", "start": "node dist/server.js", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:it": "GREMLIN_ENDPOINT=localhost:8182/g jest tests/integration --testPathIgnorePatterns=\"/node_modules/|/dist/\" --forceExit --detectOpenHandles", "lint": "eslint src tests --ext .ts", "lint:fix": "eslint src tests --ext .ts --fix", "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"*.{js,json,md}\"", "format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\" \"*.{js,json,md}\"", "type-check": "tsc --noEmit", "validate": "npm run format && npm run lint && npm run type-check && npm test", "clean": "rm -rf dist", "prepare": "husky", "prepublishOnly": "npm run clean && npm run build && npm run validate", "prepack": "npm run build", "postinstall": "chmod +x dist/server.js || true" }, "keywords": [ "mcp", "model-context-protocol", "apache-tinkerpop", "gremlin", "graph", "database" ], "author": { "name": "Gremlin MCP Contributors" }, "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "^1.13.0", "@types/gremlin": "^3.6.7", "gremlin": "^3.7.3", "winston": "^3.17.0", "zod": "^3.25.67" }, "devDependencies": { "@eslint/js": "^9.29.0", "@types/jest": "^30.0.0", "@types/node": "^24.0.3", "audit-ci": "^7.1.0", "eslint": "^9.29.0", "eslint-config-prettier": "^10.1.5", "husky": "^9.1.7", "jest": "^30.0.2", "lint-staged": "^16.1.2", "prettier": "^3.5.3", "ts-jest": "^29.4.0", "tsx": "^4.20.3", "typescript": "^5.8.3", "typescript-eslint": "^8.34.1" }, "engines": { "node": ">=18.0.0" }, "repository": { "type": "git", "url": "https://github.com/kpritam/gremlin-mcp.git" }, "bugs": { "url": "https://github.com/kpritam/gremlin-mcp/issues" }, "homepage": "https://github.com/kpritam/gremlin-mcp#readme", "files": [ "dist/", "README.md", "LICENSE" ], "lint-staged": { "*.{ts,js}": [ "eslint --fix", "prettier --write" ], "*.{json,md}": [ "prettier --write" ] } }