coolify-mcp: Instructions file for Codex

AGENTS.md

coolify-mcp AGENTS.md is an instructions file for Codex, OpenCode from 0xtlt/coolify-mcp. It costs 779 tokens per session, scanned B, original, MIT.

Project instructions for developing and testing coolify-mcp, a TypeScript MCP server that connects coding tools to Coolify’s REST API. They describe setup, commands, environment variables, and tests that do not need a live Coolify system.

In plain words
What is it for?
Use them when changing the server, running its type checks or unit tests, checking formatting, or starting it with a configured Coolify instance.
Why use it?
They give coding agents consistent project rules and explain which checks are safe to run locally.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is 0xtlt/coolify-mcp's own configuration. It tells Codex and OpenCode how to work on coolify-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything coolify-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 0xtlt/coolify-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/0xtlt/coolify-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/0xtlt/coolify-mcp

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for coolify-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/0xtlt/coolify-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/0xtlt/coolify-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/0xtlt/coolify-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/0xtlt/coolify-mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for coolify-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/0xtlt/coolify-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/0xtlt/coolify-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 779 This file is loaded in full into every session.
When invoked 779 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00779 $0.00779
Opus 5.5 $0.00312 $0.00312
Sonnet 5.5 $0.00156 $0.00156
Haiku 4.5 $0.00078 $0.00078

Measured 1mo ago against content hash ece19c6ba11b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

coolify-mcp AGENTS.md scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Docker is **not** part of the update script and is **not** running by default. Install Docker (Docker CE + compose plugin) and start `dockerd` yourself. In this VM the working storage driver is `fuse-overlayfs` (set in
AGENTS.md · 21 lines

How it starts

The opening of the file, as written. The whole thing — 21 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Cursor Cloud specific instructions

coolify-mcp (npm mcp-coolify) is a stdio-based MCP server (TypeScript, ESM, pnpm) that wraps the Coolify v4.3+ REST API. It exposes 136 tools / 7 resources / 4 prompts. It has no HTTP server and opens no port — it speaks the MCP protocol over stdin/stdout and is launched by an MCP client. At runtime it needs COOLIFY_API_URL and COOLIFY_TOKEN and network access to a reachable Coolify instance; it process.exit(1)s immediately if either is missing/invalid.

Standard dev commands live in package.json scripts and README.md (pnpm run dev, pnpm start, pnpm run build, pnpm run typecheck, pnpm test/pnpm run test:unit). Lint/format is Biome; CI runs pnpm exec biome check . (no --write) — note pnpm run check uses biome check --write and will modify files. Dependencies are refreshed automatically by the startup update script (pnpm install).

Running the server / unit tests (no external services)

  • pnpm run test:unit, pnpm run typecheck, and pnpm exec biome check . need no Docker and no Coolify instance.
  • To smoke-test the server itself you must give it a live Coolify instance (see below) and drive it as an MCP client over stdio (node dist/index.js or pnpm start).

End-to-end / integration tests require Docker + a real Coolify (non-obvious)

GitHub Actions (.github/workflows/integration.yml) runs the integration suite against a real Coolify API — not mocks. Locally, the same path (pnpm run test:integration*) spins up a real Coolify + Postgres + Redis via docker-compose.test.yml. Unit tests in .github/workflows/ci.yml stay mocked and do not need Coolify.

  • Docker is not part of the update script and is not running by default. Install Docker (Docker CE + compose plugin) and start dockerd yourself. In this VM the working storage driver is fuse-overlayfs (set in /etc/docker/daemon.json) and iptables must be iptables-legacy; start the daemon in a tmux session with sudo dockerd. Add the ubuntu user to the docker group (sudo usermod -aG docker ubuntu) and, because the current shell won't pick up the new group, run docker-dependent commands via sg docker -c "...".
  • Compose project name must be coolify-mcp. scripts/integration-setup.ts hardcodes docker exec coolify-mcp-coolify-1, which only exists when the Compose project is named coolify-mcp. Since this repo is checked out at /workspace, Compose otherwise derives the project name workspace and the bootstrap step times out with "InstanceSettings not ready". Always export COMPOSE_PROJECT_NAME=coolify-mcp for every integration command (setup, run, teardown), e.g. sg docker -c "COMPOSE_PROJECT_NAME=coolify-mcp pnpm run test:integration:setup".
  • Setup writes the minted API token and seeded resource UUIDs to /tmp/coolify-integration-state.json; the test Coolify API is at http://localhost:8099/api/v1. Teardown: COMPOSE_PROJECT_NAME=coolify-mcp pnpm run test:integration:teardown.

Read the full file on GitHub · 21 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed ece19c6ba11b
  2. 1mo ago Changed d1248ff3795a
  3. 2mo ago First seen · 21 lines · 779 tokens per session scan B 82487dd845e1

Subscribe to this mod's changes

coolify-mcp AGENTS.md is an instructions file published in the GitHub repository 0xtlt/coolify-mcp (0 stars, last pushed 20d ago), licensed MIT. It adds 779 tokens to every session, about $0.0031 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

coolify-mcp AGENTS.md compared with instructions from other repositories

coolify-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coolify-mcp AGENTS.md0xtlt/coolify-mcpInstructions file020d agoMITB779Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot