forked from DollhouseMCP/mcp-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
209 lines (209 loc) · 10.1 KB
/
Copy pathpackage.json
File metadata and controls
209 lines (209 loc) · 10.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
{
"name": "@dollhousemcp/mcp-server",
"version": "2.0.0-rc.2",
"description": "DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.",
"type": "module",
"main": "dist/index.js",
"bin": {
"dollhousemcp": "dist/index.js",
"mcp-server": "dist/index.js"
},
"scripts": {
"prebuild": "npm run build:safety && node scripts/generate-version.js",
"build:safety": "cd packages/safety && npm install && npm run build",
"build": "tsc",
"postbuild": "cp -r src/seed-elements dist/ && cp -r src/web/public dist/web/public",
"web": "node dist/index.js --web",
"start": "node dist/index.js",
"dev": "tsx watch src/index.ts",
"inspector": "npx @modelcontextprotocol/inspector node dist/index.js",
"inspector:dev": "npx @modelcontextprotocol/inspector tsx src/index.ts",
"clean": "rm -rf dist",
"rebuild": "npm run clean && npm run build",
"setup": "npm install && npm run build",
"prepublishOnly": "cp README.md README.md.backup 2>/dev/null || true && cp README.npm.md README.md && BUILD_TYPE=npm npm run build",
"postpublish": "if [ -f README.md.backup ]; then mv README.md.backup README.md; else echo 'No backup found, README.md unchanged'; fi",
"test": "cross-env \"NODE_OPTIONS=$NODE_OPTIONS --experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs",
"test:watch": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs --watch",
"test:coverage": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs --coverage",
"test:ci": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs --ci --coverage --watchAll=false",
"build:test": "tsc -p tests/tsconfig.test.json",
"test:compiled": "npm run build:test && cross-env NODE_OPTIONS='--experimental-vm-modules' jest --config tests/jest.config.compiled.cjs",
"test:compiled:ci": "npm run build:test && cross-env NODE_OPTIONS='--experimental-vm-modules' jest --config tests/jest.config.compiled.cjs --ci --watchAll=false",
"test:integration": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.integration.config.cjs",
"test:integration:watch": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.integration.config.cjs --watch",
"test:integration:coverage": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.integration.config.cjs --coverage",
"test:integration:crud": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs tests/integration/crud/ --no-coverage",
"test:crud": "npm run test:integration:crud",
"test:crud:watch": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs tests/integration/crud/ --no-coverage --watch",
"test:crud:ci": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs tests/integration/crud/ --no-coverage --ci --watchAll=false",
"test:performance": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.performance.config.cjs",
"test:cross-platform": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs tests/unit/cross-platform",
"test:all": "npm test && npm run test:performance && npm run test:integration",
"test:all:coverage": "npm run test:coverage && npm run test:integration:coverage",
"lint": "eslint --max-warnings=0 --ext .ts src tests scripts",
"lint:fix": "eslint --ext .ts src tests scripts --fix",
"security:critical": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs tests/security/tests --testNamePattern=\"(Command Injection|Path Traversal|YAML)\" --maxWorkers=4",
"security:rapid": "npm run security:critical -- --testTimeout=30000",
"security:all": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs tests/security --coverage",
"security:regression": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.config.cjs tests/security/regression --maxWorkers=4",
"security:report": "node scripts/security-test-runner.js all --report",
"security:generate": "node scripts/generate-security-tests.js",
"security:audit": "tsx scripts/run-security-audit.ts",
"security:audit:json": "tsx scripts/run-security-audit.ts --json",
"security:audit:verbose": "tsx scripts/run-security-audit.ts --verbose",
"typecheck:scripts": "tsc --noEmit --project tsconfig.scripts.json",
"pre-commit": "npm run security:rapid && npm run typecheck:scripts && npm audit --audit-level=high",
"test:e2e": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.e2e.config.cjs",
"test:e2e:watch": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.e2e.config.cjs --watch",
"test:e2e:verbose": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest --config tests/jest.e2e.config.cjs --verbose",
"test:roundtrip": "npm run test:e2e",
"test:roundtrip:manual": "./scripts/test-roundtrip-workflow.sh",
"test:roundtrip:cleanup": "./scripts/test-roundtrip-workflow.sh cleanup",
"qa:direct": "node scripts/qa-direct-test.js",
"test:e2e:real": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest test/e2e/real-github-integration.test.ts --verbose",
"test:e2e:real:mcp": "cross-env \"NODE_OPTIONS=--experimental-vm-modules --no-warnings\" jest test/e2e/mcp-tool-flow.test.ts --verbose",
"test:e2e:real:all": "npm run test:e2e:real && npm run test:e2e:real:mcp",
"test:e2e:cleanup": "tsx test/e2e/cleanup-test-data.ts",
"qa:inspector": "node scripts/qa-inspector-cli-test.js",
"qa:all": "npm run qa:direct && npm run qa:inspector",
"qa:simple": "node scripts/qa-simple-test.js",
"update:version": "node scripts/update-version.mjs",
"version:bump": "node scripts/update-version.mjs",
"version:check": "node scripts/update-version.mjs --dry-run",
"tools:count": "node scripts/count-tools.js",
"tools:list": "node scripts/count-tools.js --json",
"memory:cleanup:duplicates": "tsx src/utils/cleanup-duplicate-memories.ts",
"calibration:local": "tsx tests/calibration/run-local.ts",
"calibration:docker": "./scripts/run-calibration.sh docker",
"calibration:compare": "tsx tests/calibration/compare-results.ts",
"calibration:build": "./scripts/run-calibration.sh build",
"calibration:clean": "./scripts/run-calibration.sh clean"
},
"keywords": [
"mcp",
"model-context-protocol",
"ai",
"persona",
"prompt",
"claude",
"ai-assistant",
"roleplay",
"character",
"behavioral-profiles",
"dynamic-prompting",
"typescript",
"dollhouse",
"marketplace"
],
"author": {
"name": "Mick Darling",
"email": "mick@dollhousemcp.com",
"url": "https://github.com/mickdarling"
},
"contributors": [
{
"name": "Todd Dibble",
"url": "https://github.com/insomnolence"
},
{
"name": "Jeet Singh",
"url": "https://github.com/jeetsingh008"
}
],
"license": "AGPL-3.0-or-later",
"licenseNotice": "SUBJECT TO ADDITIONAL TERMS - See LICENSE file for complete terms including dual licensing, platform stability commitments, and creator protections. All terms are binding under AGPL Section 7.",
"repository": {
"type": "git",
"url": "git+https://github.com/DollhouseMCP/mcp-server.git"
},
"bugs": {
"url": "https://github.com/DollhouseMCP/mcp-server/issues"
},
"homepage": "https://dollhousemcp.com",
"mcpName": "io.github.DollhouseMCP/mcp-server",
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map",
"data/personas/**/*.md",
"data/skills/**/*.md",
"data/templates/**/*.md",
"data/agents/**/*.md",
"data/memories/**/*.md",
"data/ensembles/**/*.md",
"!dist/__tests__/**",
"!dist/**/*.test.*",
"server.json",
"oauth-helper.mjs",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"provenance": true
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/mickdarling"
},
"dependencies": {
"@dollhousemcp/safety": "file:packages/safety",
"@modelcontextprotocol/sdk": "^1.25.1",
"@types/dompurify": "^3.2.0",
"@types/uuid": "^10.0.0",
"chalk": "^5.6.2",
"dompurify": "^3.3.1",
"dotenv": "^17.2.3",
"express": "^5.2.1",
"extract-zip": "^2.0.1",
"graphql": "^16.12.0",
"graphql-tag": "^2.12.6",
"gray-matter": "^4.0.3",
"js-yaml": "^4.1.1",
"jsdom": "^24.1.3",
"node-fetch": "^3.3.2",
"posthog-node": "^5.24.17",
"uuid": "^11.1.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/js": "^9.38.0",
"@jest/globals": "^30.2.0",
"@modelcontextprotocol/inspector": "^0.20.0",
"@types/archiver": "^7.0.0",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
"@types/js-yaml": "^4.0.9",
"@types/jsdom": "^21.1.7",
"@types/node": "^24.10.0",
"@types/semver": "^7.7.1",
"@types/supertest": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.48.1",
"archiver": "^7.0.1",
"cross-env": "^10.1.0",
"eslint": "^9.38.0",
"globals": "^17.0.0",
"jest": "^30.2.0",
"supertest": "^7.2.2",
"ts-jest": "^29.4.5",
"ts-jest-resolver": "^2.0.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"overrides": {
"gray-matter": {
"js-yaml": "3.14.2"
},
"@istanbuljs/load-nyc-config": {
"js-yaml": "3.14.2"
}
}
}