@fndchagas/coolify-mcp 0.1.0 → 0.1.2
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.
- package/README.md +5 -5
- package/dist/server.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ npx -y @fndchagas/coolify-mcp
|
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
28
|
claude mcp add coolify \
|
|
29
|
-
--env COOLIFY_BASE_URL="https://
|
|
29
|
+
--env COOLIFY_BASE_URL="https://coolify.example.com" \
|
|
30
30
|
--env COOLIFY_TOKEN="<token>" \
|
|
31
31
|
-- npx -y @fndchagas/coolify-mcp
|
|
32
32
|
```
|
|
@@ -41,7 +41,7 @@ Optional: disable write tools (deploy/upsert) by adding:
|
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
43
|
codex mcp add coolify \
|
|
44
|
-
--env COOLIFY_BASE_URL="https://
|
|
44
|
+
--env COOLIFY_BASE_URL="https://coolify.example.com" \
|
|
45
45
|
--env COOLIFY_TOKEN="<token>" \
|
|
46
46
|
-- npx -y @fndchagas/coolify-mcp
|
|
47
47
|
```
|
|
@@ -52,7 +52,7 @@ Or edit `~/.codex/config.toml`:
|
|
|
52
52
|
[mcp_servers.coolify]
|
|
53
53
|
command = "npx"
|
|
54
54
|
args = ["-y", "@fndchagas/coolify-mcp"]
|
|
55
|
-
env = { COOLIFY_BASE_URL = "https://
|
|
55
|
+
env = { COOLIFY_BASE_URL = "https://coolify.example.com", COOLIFY_TOKEN = "<token>" }
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
## Install (dev)
|
|
@@ -70,7 +70,7 @@ npm run generate:openapi
|
|
|
70
70
|
## Run (stdio)
|
|
71
71
|
|
|
72
72
|
```bash
|
|
73
|
-
COOLIFY_BASE_URL="https://
|
|
73
|
+
COOLIFY_BASE_URL="https://coolify.example.com" \
|
|
74
74
|
COOLIFY_TOKEN="<token>" \
|
|
75
75
|
MCP_TRANSPORT=stdio \
|
|
76
76
|
npm run dev
|
|
@@ -79,7 +79,7 @@ npm run dev
|
|
|
79
79
|
## Run (HTTP)
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
|
-
COOLIFY_BASE_URL="https://
|
|
82
|
+
COOLIFY_BASE_URL="https://coolify.example.com" \
|
|
83
83
|
COOLIFY_TOKEN="<token>" \
|
|
84
84
|
MCP_TRANSPORT=http \
|
|
85
85
|
PORT=7331 \
|
package/dist/server.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
3
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
3
4
|
import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
@@ -7,7 +8,7 @@ import { COOLIFY_OPENAPI_REF, COOLIFY_STRICT_VERSION, MCP_HTTP_PORT, MCP_TRANSPO
|
|
|
7
8
|
import { getVersion } from './coolify/client.js';
|
|
8
9
|
const server = new McpServer({
|
|
9
10
|
name: 'coolify-mcp',
|
|
10
|
-
version: '0.1.
|
|
11
|
+
version: '0.1.2',
|
|
11
12
|
});
|
|
12
13
|
registerCoolifyTools(server);
|
|
13
14
|
function normalizeVersion(value) {
|