@liangshanli/mcp-server-project-standards 1.2.1 → 1.2.2
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/package.json +1 -1
- package/src/server-final.js +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liangshanli/mcp-server-project-standards",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "MCP Project Standards server with project info, structure, API standards, development standards and custom tools",
|
|
5
5
|
"main": "bin/cli.js",
|
|
6
6
|
"bin": {
|
package/src/server-final.js
CHANGED
|
@@ -54,7 +54,7 @@ console.error('==============================================');
|
|
|
54
54
|
class ProjectStandardsMCPServer {
|
|
55
55
|
constructor() {
|
|
56
56
|
this.name = 'project-standards-mcp-server';
|
|
57
|
-
this.version = '1.2.
|
|
57
|
+
this.version = '1.2.2';
|
|
58
58
|
this.initialized = false;
|
|
59
59
|
this.config = getConfig();
|
|
60
60
|
this.needsProjectFolder = this.config === null;
|
|
@@ -499,7 +499,7 @@ class ProjectStandardsMCPServer {
|
|
|
499
499
|
);
|
|
500
500
|
|
|
501
501
|
// 构建 API 调试工具描述
|
|
502
|
-
let apiDebugDescription = 'API debugging tool for testing and executing API requests. Use URL to identify APIs instead of index numbers.';
|
|
502
|
+
let apiDebugDescription = 'API debugging tool for testing and executing API requests. You can directly execute any API URL without needing to add it to the configuration first. Use URL to identify APIs instead of index numbers.';
|
|
503
503
|
|
|
504
504
|
// 检查是否设置了登录接口环境变量
|
|
505
505
|
const loginUrl = process.env.API_DEBUG_LOGIN_URL;
|
|
@@ -524,6 +524,7 @@ class ProjectStandardsMCPServer {
|
|
|
524
524
|
}
|
|
525
525
|
|
|
526
526
|
apiDebugDescription += '\n\n💡 Usage Instructions:';
|
|
527
|
+
apiDebugDescription += '\n- You can directly execute any API URL without adding it to configuration first';
|
|
527
528
|
apiDebugDescription += '\n- Use URL to identify APIs for execute and delete operations (not index numbers)';
|
|
528
529
|
apiDebugDescription += '\n- Login API automatically uses environment variable configuration';
|
|
529
530
|
apiDebugDescription += '\n- Non-login APIs must use allowed methods only';
|