mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 02:15:51 +00:00
fix(mcp): change enable/disable endpoints from GET to POST and fix service/app listing
- `/mcp/enable` and `/mcp/disable` now use POST (state-mutating ops) - `ListServices` queries DB directly instead of loading all projects into memory - `ListApplications` validates tag arg rejects empty string (not just falsy)
This commit is contained in:
1 parent
d5e34c2249
commit
45f65481e6
7 files changed
+28
-27
No files matched your search
+2
-2
@@ -8651,7 +8651,7 @@
|
||||
}
|
||||
},
|
||||
"\/mcp\/enable": {
|
||||
"get": {
|
||||
"post": {
|
||||
"summary": "Enable MCP Server",
|
||||
"description": "Enable the MCP server endpoint at \/mcp (only with root permissions).",
|
||||
"operationId": "enable-mcp",
|
||||
@@ -8703,7 +8703,7 @@
|
||||
}
|
||||
},
|
||||
"\/mcp\/disable": {
|
||||
"get": {
|
||||
"post": {
|
||||
"summary": "Disable MCP Server",
|
||||
"description": "Disable the MCP server endpoint at \/mcp (only with root permissions).",
|
||||
"operationId": "disable-mcp",
|
||||
|
||||
Reference in new issue
Block a user