agentleFS
dockholddockhold/mcp/AGENTS.md

mcp

AGENTS.md0 starsChanged 51 days agoMITView on GitHub

Dockhold is a hosting platform: it takes a folder or a GitHub repository, builds it, and serves it at a live HTTPS URL. This repository holds the plugin and setup metadata. There is no server code here and none is needed. 1. A local folder: the CLI. dockhold on npm. npx dockhold deploy uploads the current folder, builds it, and prints the URL when the app is live. This is the default for "put this online": it needs no GitHub…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 31,843 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the code is only a local folder, run npx dockhold deploy and report the URL it prints.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Rules for AI agents

Dockhold is a hosting platform: it takes a folder or a GitHub repository, builds it, and serves it at a live HTTPS URL. This repository holds the plugin and setup metadata. There is no server code here and none is needed.

Two paths, one sign-in

  1. A local folder: the CLI. dockhold on npm. npx dockhold deploy uploads the current folder, builds it, and prints the URL when the app is live. This is the default for "put this online": it needs no GitHub account and no repository. Other commands: logs, list, open. Do not invent flags that are not in npx dockhold --help.
  2. A GitHub repository, and every other operation: the MCP tools. deploy_app deploys a repository by URL (a private repository also needs github_installation_id from list_github_repos). Status, logs, variables, resizing, storage, and restarts all go through the tools; call list_apps first to get an app id.

Both use the same sign-in. npx dockhold login opens the browser once and stores an access token on the machine. The MCP server this repository configures is npx -y dockhold mcp, a local process that forwards each request to Dockhold with that stored token. No token is pasted into any client config, and you must never write one into a file or print one. If a tool call reports that the user is not signed in, run npx dockhold login in a terminal (a browser tab opens) and call the tool again.

Workflow for "put this app online"

If the code is only a local folder, run npx dockhold deploy and report the URL it prints. If the code is on GitHub, call deploy_app with the repository URL, poll get_app_status until it is reachable, and report the HTTPS URL. Deploys on every push happen only when the repository is connected: pass the github_installation_id that list_github_repos returns (if the repository is not listed, the user connects it in the dashboard first). A repository deployed by URL alone builds once and does not follow pushes. On failure, read the build log (npx dockhold logs --type build) or the runtime log (get_app_logs) and fix the app, not the platform. Never report a URL as live before the deploy has finished.

Builds: a Dockerfile at the project root is used when present, or the one named under "build": {"dockerfile": "<path>"} in dockhold.json. Without either, Dockhold builds the stacks it recognises on every account (Next.js standalone, Vite, Node with a start script, static sites, FastAPI), and accounts with compute added get automatic builds for any other stack. A stack it does not recognise on a free account is declined within seconds with the fix named; apply it, or add a Dockerfile (examples: https://dockhold.eu/docs/concepts/dockerfiles). Do not write CI pipelines for deployment.

Secrets

API keys, passwords, and connection strings never go through set_app_variable (the tool rejects them) or --env. Direct the user to the Secrets section of the dashboard, where they add the value and attach it to the app. The sign-in the CLI creates can deploy but cannot write secrets, so do not attempt it through this connection.

Clients that need a remote server

For a client that cannot run a local command and needs a remote HTTP MCP server, the same tools are served at https://api.dockhold.eu/mcp (Streamable HTTP) with a bearer token the user creates in the dashboard under Settings, then API tokens. That is the only setup that carries a token in a config file; treat it as a secret.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.