UNPKG

random-tables-mcp

Version:

An MCP (Model Context Protocol) server for managing and rolling on random-table assets used in tabletop RPGs. Create, update, and roll on random tables with support for nested tables, weighted entries, and range-based results.

84 lines (83 loc) 2.4 kB
{ "name": "random-tables-mcp", "version": "0.9.1-beta.2", "main": "dist/index.js", "type": "module", "bin": { "random-tables-mcp": "./dist/index.js" }, "scripts": { "build": "tsc", "start": "node dist/index.js", "dev": "ts-node src/index.ts", "test": "jest", "test:watch": "jest --watch", "generate-paths": "ts-node scripts/generate-paths.ts", "prepublishOnly": "npm run build", "clean": "rimraf dist", "prebuild": "npm run clean", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "format": "prettier --write \"**/*.{ts,js,json,md}\"", "format:check": "prettier --check \"**/*.{ts,js,json,md}\"", "check": "npm run lint && npm run format:check && npm run test" }, "repository": { "type": "git", "url": "https://github.com/MikeORed/random-tables-mcp" }, "homepage": "https://github.com/MikeORed/random-tables-mcp#readme", "bugs": { "url": "https://github.com/MikeORed/random-tables-mcp/issues" }, "files": [ "dist", "LICENSE", "README.md" ], "publishConfig": { "access": "public" }, "keywords": [ "mcp", "random-tables", "rpg", "ttrpg", "pathfinder", "pf2e", "dnd", "dungeons-and-dragons", "tabletop", "game-master", "claude", "model-context-protocol" ], "author": "Michael Flanagan", "license": "MIT", "description": "An MCP (Model Context Protocol) server for managing and rolling on random-table assets used in tabletop RPGs. Create, update, and roll on random tables with support for nested tables, weighted entries, and range-based results.", "engines": { "node": ">=20.0.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.15.29", "@types/uuid": "^10.0.0", "@typescript-eslint/eslint-plugin": "^8.34.0", "@typescript-eslint/parser": "^8.34.0", "eslint": "^9.28.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-prettier": "^5.4.1", "jest": "^29.7.0", "prettier": "^3.5.3", "rimraf": "^5.0.5", "ts-jest": "^29.3.4", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.12.1", "uuid": "^11.1.0", "zod": "^3.25.49", "zod-to-json-schema": "^3.24.5" } }