@lorrylurui/code-intelligence-mcp 1.1.7 → 1.1.8

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/dist/.env +24 -0
  2. package/package.json +1 -1
package/dist/.env ADDED
@@ -0,0 +1,24 @@
1
+ MYSQL_ENABLED=true
2
+ MYSQL_HOST=127.0.0.1
3
+ MYSQL_PORT=3306
4
+ MYSQL_USER=root
5
+ # 与 docker-compose.yml 中 MYSQL_ROOT_PASSWORD 一致(默认 devpassword,仅本地开发)
6
+ MYSQL_PASSWORD=devpassword
7
+ MYSQL_DATABASE=code_intelligence
8
+ MYSQL_SYMBOLS_TABLE=symbols
9
+ EMBEDDING_SERVICE_URL=http://127.0.0.1:8765
10
+
11
+ # MCP Server 传输模式:stdio | http
12
+ MCP_TRANSPORT=stdio
13
+ # HTTP 模式监听地址,0.0.0.0 支持局域网访问,公网用公网IP
14
+ MCP_HOST=0.0.0.0
15
+ # HTTP 模式端口
16
+ MCP_PORT=3000
17
+ # Docker Compose 可选:与 .env 同步(compose 会读环境变量覆盖默认值)
18
+ # MYSQL_ROOT_PASSWORD=devpassword
19
+
20
+ # Phase 2 索引(npm run index)
21
+ # INDEX_ROOT=
22
+ # INDEX_GLOB=src/**/*.{ts,tsx}
23
+ # INDEX_IGNORE=**/generated/**,**/*.spec.ts
24
+ GIT_CI_MOCK_SERVER=false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lorrylurui/code-intelligence-mcp",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "private": false,
5
5
  "description": "MCP server 提供仓库内可复用代码块(ts/tsx/js/jsx/css/less)的索引和查询能力,支持基于代码上下文的智能推荐。",
6
6
  "type": "module",