@liangshanli/mcp-server-project-standards 2.0.4 → 2.0.6

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.
Files changed (2) hide show
  1. package/bin/cli.js +2 -2
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -29,8 +29,8 @@ function startServer() {
29
29
  // Create environment object
30
30
  const env = {
31
31
  ...process.env,
32
- // Set CONFIG_DIR if specified, otherwise use default
33
- CONFIG_DIR: process.env.CONFIG_DIR || './.setting',
32
+ // Set CONFIG_DIR to .setting folder in current working directory
33
+ CONFIG_DIR: path.join(process.cwd(), '.setting'),
34
34
  // API Debug environment variables
35
35
  API_DEBUG_ALLOWED_METHODS: process.env.API_DEBUG_ALLOWED_METHODS || 'GET',
36
36
  API_DEBUG_LOGIN_URL: process.env.API_DEBUG_LOGIN_URL || '/api/login',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liangshanli/mcp-server-project-standards",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
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": {