优化消息同步处理逻辑,提升系统性能和稳定性。

This commit is contained in:
乘风
2025-12-03 16:54:21 +08:00
parent 9c5bccb23c
commit 3708f5a61e
3 changed files with 31 additions and 0 deletions

11
Moncter/MCP/mcp.json Normal file
View File

@@ -0,0 +1,11 @@
{
"mcpServers": {
"MongoDB": {
"command": "npx",
"args": ["-y", "mongodb-mcp-server@latest", "--readOnly"],
"env": {
"MDB_MCP_CONNECTION_STRING": "mongodb://ckb:123456@192.168.1.106:27017/ckb"
}
}
}
}

5
Moncter/MCP/package.json Normal file
View File

@@ -0,0 +1,5 @@
{
"dependencies": {
"mongodb-mcp-server": "^1.2.0"
}
}

View File

@@ -0,0 +1,15 @@
# 账户密码
```
HOST 192.168.1.106
PORT 27017
ACCOUNTckb
DBNAMEckb
PASSWROD123456
```
==================
# 环境准备
需要安装一个全局环境否则无法运行
node版本为22.12.0
npm i mongodb-mcp-server -g