DocsOperationsAgents and MCP

Agents and MCP

The console works through a browser and through an AI assistant. Connect it once, then manage infrastructure in plain language: “show me why the deploy failed”, “restart the service”, “back up the volume before the update”.

The connection uses the open MCP standard (Model Context Protocol), supported by modern AI assistants and code editors.

Prepare the Dockerfile before deploying source code#

A Dockerfile is required for projects deployed from source code, from Git or an archive. Follow the deployment instructions for agents. Your coding assistant prepares source files; Muerte MCP operates the platform and does not edit your repository.

  1. 1
    Inspect the source
    Read the project and its build and startup requirements. If source files are unavailable, request repository access or an archive before deploying code.
  2. 2
    Preserve or prepare the Dockerfile
    Keep a valid Dockerfile and .dockerignore; create or fix them only as needed. Use cacheable build layers, define startup through CMD or ENTRYPOINT, and keep secrets outside the image and build context.
  3. 3
    Check with available tools
    Validate the build and startup configuration, including the configured port and a 0.0.0.0 listener for web services. Build and test locally when possible; say which checks could not run instead of claiming an untested local build passed.
  4. 4
    Deploy the prepared source version
    Include the Dockerfile and .dockerignore in the target source version. For an upload, package that version and separately exclude secrets, .env files, .git and unnecessary local dependencies or build output from the archive; .dockerignore alone does not filter an uploaded archive. Select build_type: "dockerfile". Deploy, then check build logs, service state and the application response.

Prebuilt Docker images, managed databases and read-only operations do not need a new project Dockerfile. Optionally add a short reminder linking to these instructions in the project's AGENTS.md, preserving existing instructions, to help assistants that read the file.

What the agent can do#

FieldDescription
ObservationServices and projects, statuses, deploy history, build and application logs, CPU and memory metrics, domains.
Environment variablesView, add, change and delete variables.
DatabasesRetrieve connection parameters for managed databases.
OperationsStart, stop, restart and redeploy, change build type and port, upload a new archive.
CreationNew services and databases, volumes, backup schedules, scheduled jobs.
RecoveryList rollback points and roll a service back to a chosen build.
DeletionDelete services, volumes, schedules and jobs.

The agent sees only your services and acts strictly on your behalf.

Connecting an assistant#

  1. 1
    Ask your assistant to connect or add the MCP server

    Send your assistant: “Read https://muerte.cloud/agents.md and help me connect Muerte.” Alternatively, use Add connector / Add MCP server in the assistant and enter https://muerte.cloud/mcp. Clients that use a configuration file can use the example below.

  2. 2
    Sign in and choose permissions in the browser
    The connection opens an OAuth authorization page at muerte.cloud/dashboard. Sign in, check the application requesting access, select only the permission groups you need, and press Allow. The assistant receives permission-scoped access on your behalf; your password is never shared.
  3. 3
    Test the link
    Ask the assistant: “List my services.” You should get names, statuses and addresses back. If the list is empty but services exist, check you signed in with the same account.
mcp.json
json
{
  "mcpServers": {
    "muerte-cloud": {
      "type": "http",
      "url": "https://muerte.cloud/mcp"
    }
  }
}

Available permissions

FieldDescription
ReadServices and projects, statuses, deploys, logs, metrics, domains. Always on.
Read env variablesView variable values.
Write env variablesAdd, change and delete variables.
Database credentialsHost, port, user, password and connection string.
Operate and deployStart, stop, restart, redeploy, build type, port, archive upload.
Create services and databasesCreate new resources.
DeleteDelete services and related resources.

If a permission is off, the matching action answers with forbidden and services stay untouched. Permissions can be changed at any moment — no reconnection needed.

Recommended starting set
Read + Operate and deploy. Enable deletion and database credentials only while you actually need them.

Managing sessions#

Every active assistant connection is listed under Settings → Sessions, where you can revoke one connection or all of them. After revocation the assistant stops working with the console until it signs in again. Revoke access if you connected an assistant on someone else's or a temporary device, the tool is no longer used, or you have any security doubt.

Example prompts#

  • “Which services are down right now?”
  • “Show the last 200 log lines of the api service.”
  • “Why did the site's last deploy fail?”
  • “Add LOG_LEVEL=debug to the worker service and redeploy it.”
  • “Back up the volume before the update.”
  • “Roll the service back to the previous successful build.”
  • “Create a scheduled job: clear the cache nightly at 04:00.”

Security#

  • The agent acts only within granted permissions — they are checked by the console on every action, not by the assistant.
  • Secrets and passwords never reach the model unless reading them is enabled.
  • Access can be narrowed under MCP or fully revoked under Sessions at any time.
  • Before irreversible operations (deletion, rollback) ask the assistant to show its plan and confirm consciously.

FAQ#

Do I need to install anything?

No. The connection uses the console URL; no local components are required.

Can I connect several assistants?

Yes. Each connection shows up separately under Sessions and is revoked independently.

Will the agent see other people's projects?

No. Access is limited to your account.

The assistant answers “forbidden”?

The required permission is off. Enable it in Settings → MCP and retry.

The assistant answers “unavailable”?

The action is temporarily unavailable — for example the service is stopped and there are no logs for the current run. Check the service state and retry.