@liangshanli/mcp-server-project-standards 1.2.1 → 2.0.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/README.md +15 -0
- package/bin/cli.js +1 -1
- package/package.json +8 -4
- package/src/server-final.js +297 -268
- package/src/utils/api_common.js +137 -0
- package/src/utils/api_config.js +217 -0
- package/src/utils/api_debug.js +130 -604
- package/src/utils/api_login.js +165 -0
package/README.md
CHANGED
|
@@ -4,6 +4,21 @@ A MCP (Model Context Protocol) server for project standards management, designed
|
|
|
4
4
|
|
|
5
5
|
## 📋 Version Updates
|
|
6
6
|
|
|
7
|
+
### v2.0.0 (2024-12-19) - Major Release
|
|
8
|
+
|
|
9
|
+
#### 🚀 New Tools & Features
|
|
10
|
+
- **API Login Tool** (`api_login`): Direct login authentication using environment variables
|
|
11
|
+
- **API Debug Tool** (`api_debug`): Simplified API request execution
|
|
12
|
+
- **API Config Tool** (`api_config`): Comprehensive configuration management
|
|
13
|
+
- **Code Refactoring**: Eliminated duplicate code with shared utilities
|
|
14
|
+
- **Enhanced Environment Variable Support**: Flexible login body formats (JSON/string)
|
|
15
|
+
|
|
16
|
+
#### 🔧 Technical Improvements
|
|
17
|
+
- **Reduced Code Duplication**: ~70% reduction in duplicate code
|
|
18
|
+
- **Better Error Handling**: Unified error management across tools
|
|
19
|
+
- **Improved Performance**: Faster module loading and execution
|
|
20
|
+
- **Enhanced Maintainability**: Centralized configuration management
|
|
21
|
+
|
|
7
22
|
### v1.1.0 (2024-12-19)
|
|
8
23
|
|
|
9
24
|
#### 🆕 New Features
|
package/bin/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liangshanli/mcp-server-project-standards",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "MCP Project Standards server with project info, structure, API standards, development standards and
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "MCP Project Standards server with project info, structure, API standards, development standards, API debugging, login authentication and configuration management tools",
|
|
5
5
|
"main": "bin/cli.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"mcp-server-project-standards": "bin/cli.js"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "node bin/cli.js",
|
|
11
11
|
"dev": "node --inspect bin/cli.js",
|
|
12
|
-
"test": "node
|
|
12
|
+
"test": "node src/server-final.js --test",
|
|
13
13
|
"start-managed": "node start-server.js",
|
|
14
14
|
"daemon": "node start-server.js",
|
|
15
15
|
"server": "node src/server-final.js"
|
|
@@ -20,7 +20,11 @@
|
|
|
20
20
|
"standards",
|
|
21
21
|
"api",
|
|
22
22
|
"development",
|
|
23
|
-
"tools"
|
|
23
|
+
"tools",
|
|
24
|
+
"debugging",
|
|
25
|
+
"authentication",
|
|
26
|
+
"login",
|
|
27
|
+
"configuration"
|
|
24
28
|
],
|
|
25
29
|
"author": "liliangshan",
|
|
26
30
|
"license": "MIT",
|