Skip to content

Commit 20e4e8c

Browse files
committed
feat: Enhance create-mcp CLI with modern features and improved architecture
- Added support for OAuth authentication and DNS protection in the CLI options. - Introduced new configuration management for server settings, including stateless mode and sampling options. - Updated README.md to reflect the new architecture and features, emphasizing the unified example for data analysis. - Refactored template files to include advanced data analysis tools and services. - Removed deprecated files and streamlined the project structure for better maintainability. - Enhanced error handling and logging throughout the CLI for improved user experience. - Updated package.json and package-lock.json with new dependencies and versions.
1 parent 46c9e83 commit 20e4e8c

49 files changed

Lines changed: 7211 additions & 3232 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 331 additions & 89 deletions
Large diffs are not rendered by default.

bin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env node
22

33
// Binary entry point for create-mcp CLI
4-
require('../dist/cli/index.js');
4+
import '../lib/cli/index.js';

package-lock.json

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,41 @@
66
"bin": {
77
"create-mcp": "./bin/index.js"
88
},
9-
"main": "./dist/cli/index.js",
9+
"main": "./lib/cli/index.js",
1010
"scripts": {
1111
"build": "tsc",
12-
"start": "node dist/cli/index.js",
12+
"start": "node lib/cli/index.js",
1313
"dev": "npx tsx src/cli/index.ts",
1414
"test": "jest",
1515
"lint": "eslint src/**/*.ts",
1616
"prepublishOnly": "npm run build"
1717
},
1818
"dependencies": {
19-
"commander": "^11.1.0",
20-
"inquirer": "^9.2.12",
2119
"chalk": "^5.3.0",
20+
"commander": "^11.1.0",
21+
"figlet": "^1.7.0",
2222
"fs-extra": "^11.1.1",
23+
"inquirer": "^9.2.12",
2324
"ora": "^7.0.1",
2425
"semver": "^7.5.4",
25-
"figlet": "^1.7.0"
26+
"validate-npm-package-name": "^6.0.2"
2627
},
2728
"devDependencies": {
29+
"@types/figlet": "^1.5.8",
2830
"@types/fs-extra": "^11.0.4",
2931
"@types/inquirer": "^9.0.7",
3032
"@types/node": "^20.10.0",
3133
"@types/semver": "^7.5.6",
32-
"@types/figlet": "^1.5.8",
33-
"typescript": "^5.3.0",
34-
"tsx": "^4.6.0",
35-
"jest": "^29.7.0",
34+
"@types/validate-npm-package-name": "^4.0.2",
3635
"@typescript-eslint/eslint-plugin": "^6.13.0",
3736
"@typescript-eslint/parser": "^6.13.0",
38-
"eslint": "^8.54.0"
37+
"eslint": "^8.54.0",
38+
"jest": "^29.7.0",
39+
"tsx": "^4.6.0",
40+
"typescript": "^5.3.0"
3941
},
4042
"files": [
41-
"dist",
43+
"lib",
4244
"templates",
4345
"bin"
4446
],
@@ -51,17 +53,17 @@
5153
"ai",
5254
"llm"
5355
],
54-
"author": "MCP CLI Team",
56+
"author": "LinuxDevil",
5557
"license": "MIT",
5658
"engines": {
5759
"node": ">=18.0.0"
5860
},
5961
"repository": {
6062
"type": "git",
61-
"url": "https://github.com/modelcontextprotocol/create-mcp.git"
63+
"url": "https://github.com/LinuxDevil/Create-MCP"
6264
},
6365
"bugs": {
64-
"url": "https://github.com/modelcontextprotocol/create-mcp/issues"
66+
"url": "https://github.com/LinuxDevil/Create-MCP#issues"
6567
},
66-
"homepage": "https://github.com/modelcontextprotocol/create-mcp#readme"
67-
}
68+
"homepage": "https://github.com/LinuxDevil/Create-MCP#readme"
69+
}

0 commit comments

Comments
 (0)