@liangshanli/mcp-server-project-standards 1.2.2 → 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 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
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  const { spawn } = require('child_process');
3
3
  const path = require('path');
4
4
  const fs = require('fs');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@liangshanli/mcp-server-project-standards",
3
- "version": "1.2.2",
4
- "description": "MCP Project Standards server with project info, structure, API standards, development standards and custom tools",
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 test-simple.js",
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",