优化消息同步处理逻辑,提升系统性能和稳定性。
This commit is contained in:
11
Moncter/MCP/mcp.json
Normal file
11
Moncter/MCP/mcp.json
Normal 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
5
Moncter/MCP/package.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"mongodb-mcp-server": "^1.2.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
15
Moncter/MCP/数据库账户密码.md
Normal file
15
Moncter/MCP/数据库账户密码.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# 账户密码
|
||||||
|
```
|
||||||
|
HOST 192.168.1.106
|
||||||
|
PORT 27017
|
||||||
|
ACCOUNT:ckb
|
||||||
|
DBNAME:ckb
|
||||||
|
PASSWROD:123456
|
||||||
|
```
|
||||||
|
|
||||||
|
==================
|
||||||
|
# 环境准备
|
||||||
|
需要安装一个全局环境否则无法运行
|
||||||
|
node版本为22.12.0
|
||||||
|
|
||||||
|
npm i mongodb-mcp-server -g
|
||||||
Reference in New Issue
Block a user