@mcptoolshop/file-forge 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +125 -0
- package/build/config/index.d.ts +29 -0
- package/build/config/index.d.ts.map +1 -0
- package/build/config/index.js +229 -0
- package/build/config/index.js.map +1 -0
- package/build/index.d.ts +9 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +23 -0
- package/build/index.js.map +1 -0
- package/build/security/index.d.ts +8 -0
- package/build/security/index.d.ts.map +1 -0
- package/build/security/index.js +8 -0
- package/build/security/index.js.map +1 -0
- package/build/security/read-only.d.ts +32 -0
- package/build/security/read-only.d.ts.map +1 -0
- package/build/security/read-only.js +62 -0
- package/build/security/read-only.js.map +1 -0
- package/build/security/sandbox.d.ts +60 -0
- package/build/security/sandbox.d.ts.map +1 -0
- package/build/security/sandbox.js +231 -0
- package/build/security/sandbox.js.map +1 -0
- package/build/server.d.ts +20 -0
- package/build/server.d.ts.map +1 -0
- package/build/server.js +63 -0
- package/build/server.js.map +1 -0
- package/build/tools/metadata.d.ts +11 -0
- package/build/tools/metadata.d.ts.map +1 -0
- package/build/tools/metadata.js +423 -0
- package/build/tools/metadata.js.map +1 -0
- package/build/tools/read.d.ts +11 -0
- package/build/tools/read.d.ts.map +1 -0
- package/build/tools/read.js +335 -0
- package/build/tools/read.js.map +1 -0
- package/build/tools/scaffold.d.ts +11 -0
- package/build/tools/scaffold.d.ts.map +1 -0
- package/build/tools/scaffold.js +345 -0
- package/build/tools/scaffold.js.map +1 -0
- package/build/tools/search.d.ts +11 -0
- package/build/tools/search.d.ts.map +1 -0
- package/build/tools/search.js +250 -0
- package/build/tools/search.js.map +1 -0
- package/build/tools/write.d.ts +11 -0
- package/build/tools/write.d.ts.map +1 -0
- package/build/tools/write.js +538 -0
- package/build/tools/write.js.map +1 -0
- package/build/types.d.ts +402 -0
- package/build/types.d.ts.map +1 -0
- package/build/types.js +146 -0
- package/build/types.js.map +1 -0
- package/build/utils/errors.d.ts +43 -0
- package/build/utils/errors.d.ts.map +1 -0
- package/build/utils/errors.js +125 -0
- package/build/utils/errors.js.map +1 -0
- package/build/utils/index.d.ts +10 -0
- package/build/utils/index.d.ts.map +1 -0
- package/build/utils/index.js +9 -0
- package/build/utils/index.js.map +1 -0
- package/build/utils/logger.d.ts +88 -0
- package/build/utils/logger.d.ts.map +1 -0
- package/build/utils/logger.js +166 -0
- package/build/utils/logger.js.map +1 -0
- package/build/utils/validation.d.ts +43 -0
- package/build/utils/validation.d.ts.map +1 -0
- package/build/utils/validation.js +196 -0
- package/build/utils/validation.js.map +1 -0
- package/package.json +64 -0
- package/templates/typescript-starter/package.json +18 -0
- package/templates/typescript-starter/src/index.ts +9 -0
- package/templates/typescript-starter/template.json +24 -0
- package/templates/typescript-starter/tsconfig.json +14 -0
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mcptoolshop/file-forge",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "MCP server for file operations and project scaffolding - Windows-first, secure, sandboxed",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./build/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"mcp-file-forge": "./build/index.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc",
|
|
12
|
+
"dev": "tsc --watch",
|
|
13
|
+
"start": "node ./build/index.js",
|
|
14
|
+
"test": "vitest run",
|
|
15
|
+
"test:watch": "vitest",
|
|
16
|
+
"lint": "eslint src --ext .ts",
|
|
17
|
+
"clean": "rimraf build"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"mcp",
|
|
21
|
+
"model-context-protocol",
|
|
22
|
+
"file-operations",
|
|
23
|
+
"project-scaffolding",
|
|
24
|
+
"claude",
|
|
25
|
+
"anthropic"
|
|
26
|
+
],
|
|
27
|
+
"author": {
|
|
28
|
+
"name": "mcp-tool-shop",
|
|
29
|
+
"email": "64996768+mcp-tool-shop@users.noreply.github.com"
|
|
30
|
+
},
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/mcp-tool-shop-org/mcp-file-forge.git"
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/mcp-tool-shop-org/mcp-file-forge/issues"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://github.com/mcp-tool-shop-org/mcp-file-forge#readme",
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=18.0.0"
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"build",
|
|
45
|
+
"templates"
|
|
46
|
+
],
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
49
|
+
"glob": "^11.0.0",
|
|
50
|
+
"minimatch": "^10.0.0",
|
|
51
|
+
"zod": "^3.23.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/node": "^22.0.0",
|
|
55
|
+
"eslint": "^9.0.0",
|
|
56
|
+
"rimraf": "^6.0.0",
|
|
57
|
+
"typescript": "^5.6.0",
|
|
58
|
+
"vitest": "^2.0.0"
|
|
59
|
+
},
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"access": "public",
|
|
62
|
+
"registry": "https://registry.npmjs.org"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "{{PROJECT_NAME}}",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "{{DESCRIPTION}}",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"dev": "tsc --watch",
|
|
10
|
+
"start": "node ./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"author": "{{AUTHOR_NAME}}",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"@types/node": "^22.0.0",
|
|
16
|
+
"typescript": "^5.6.0"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "typescript-starter",
|
|
3
|
+
"description": "Basic TypeScript project with Node.js",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"author": "mcp-tool-shop",
|
|
6
|
+
"category": "nodejs",
|
|
7
|
+
"variables": [
|
|
8
|
+
{
|
|
9
|
+
"name": "PROJECT_NAME",
|
|
10
|
+
"description": "Name of the project",
|
|
11
|
+
"required": true
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "AUTHOR_NAME",
|
|
15
|
+
"description": "Author name",
|
|
16
|
+
"default": "Developer"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "DESCRIPTION",
|
|
20
|
+
"description": "Project description",
|
|
21
|
+
"default": "A TypeScript project"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "Node16",
|
|
5
|
+
"moduleResolution": "Node16",
|
|
6
|
+
"outDir": "./dist",
|
|
7
|
+
"rootDir": "./src",
|
|
8
|
+
"strict": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"skipLibCheck": true
|
|
11
|
+
},
|
|
12
|
+
"include": ["src/**/*"],
|
|
13
|
+
"exclude": ["node_modules"]
|
|
14
|
+
}
|