Remove all MCP server configurations and update whitelists for security hardening

This commit is contained in:
stevef 2026-04-14 10:16:14 +02:00
parent f7c4820a84
commit bfdc9734f5
3 changed files with 7 additions and 80 deletions

View file

@ -314,55 +314,7 @@
"use_bm25": true,
"use_regex": false
},
"servers": {
"context7": {
"enabled": false,
"type": "http",
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "ctx7sk-xx"
}
},
"filesystem": {
"enabled": false,
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
},
"github": {
"enabled": false,
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
}
},
"brave-search": {
"enabled": false,
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
"env": {
"BRAVE_API_KEY": "YOUR_BRAVE_API_KEY"
}
},
"postgres": {
"enabled": false,
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://user:password@localhost/dbname"
]
},
"slack": {
"enabled": false,
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "YOUR_SLACK_BOT_TOKEN",
"SLACK_TEAM_ID": "YOUR_SLACK_TEAM_ID"
}
}
}
"servers": {}
},
"exec": {
"enabled": true,

View file

@ -476,14 +476,7 @@
"interval_minutes": 5
},
"mcp": {
"enabled": true,
"discovery": {
"enabled": false,
"ttl": 5,
"max_search_results": 5,
"use_bm25": true,
"use_regex": false
},
"servers": {}
},
"whitelist": [
@ -496,9 +489,7 @@
"append_file",
"message",
"weather",
"summarize",
"github",
"search_tool"
"summarize"
],
"whitelist_enabled": true,
"append_file": {

View file

@ -497,28 +497,14 @@ data:
"ttl_seconds": 300
}
},
"media_cleanup": {
"media_cleanup": {
"enabled": true,
"max_age_minutes": 30,
"interval_minutes": 5
},
"mcp": {
"enabled": true,
"discovery": {
"enabled": false,
"ttl": 5,
"max_search_results": 5,
"use_bm25": true,
"use_regex": false
},
"servers": {
"hdn-server": {
"enabled": true,
"command": "",
"type": "sse",
"url": "http://hdn-server:8080/mcp"
}
}
"servers": {}
},
"whitelist": [
"spawn",
@ -531,9 +517,7 @@ data:
"exec",
"message",
"weather",
"summarize",
"github",
"hdn-server"
"summarize"
],
"whitelist_enabled": true,
"append_file": {