Skip to content

AI & MCP

n8n and PostgreSQL with AI

Copy page

Check, start, stop and restart your one-click n8n and PostgreSQL apps, get their access details and read their logs from your AI tool

Four tools of Remote MCP cover the everyday jobs for your one-click n8n and PostgreSQL apps: is it up, how do I connect, restart it, and why does it fail. For now they work with these two apps. Ordering a new app, changing its plan, rebuilding and deleting stay in the panel (Services → Applications).

Quick start

  1. Have an n8n or PostgreSQL app (in the panel: new service → One-click apps).
  2. Connect Remote MCP and approve apps:read and apps:write. If you connected before, sign in again once (in Claude Code: /mcp → hostino → Re-authenticate).
  3. Ask: “Is my n8n up?”

To load only these tools, use https://mcp.hostino.ai/mcp/apps.

Tools

ToolPermissionWhat it does
app_listapps:readYour n8n and PostgreSQL apps: status (running / exited), health, plan (CPU/RAM), URL, creation date
app_accessapps:readn8n: its address. PostgreSQL: host, port, database and user; the password and a ready postgresql://… connection string only with include_password: true
app_controlapps:writeaction: start, stop or restart
app_logsapps:readThe last 10 to 500 log lines (default 100), with passwords, tokens and keys masked

n8n

  • The first visit to the n8n address creates the owner account, so there is no preset password. Your webhook URLs start with the same address.
  • If workflows stop running or the editor doesn’t load: “Restart my n8n and check the logs.” The tool calls app_control restart, then app_logs.
  • n8n needs the Standard plan or higher. On the Starter plan it runs out of memory, and the logs show JavaScript heap out of memory. Change the plan in the panel.

PostgreSQL

  • “Give me the connection details of my PostgreSQL” returns host, port, database and user. Ask for the password explicitly and the tool calls app_access with include_password: true.
  • Put the connection string in an environment variable (DATABASE_URL), never in code or a Git commit.
  • Restarting or stopping drops open connections. Apps reconnect when it’s back.

Security

  • Only your own apps are reachable. Another account’s app returns app_not_found.
  • apps:read can’t change anything. Stopping an app takes it offline, so the tool asks you first.
  • The tools can’t delete, rebuild or order an app.
  • A stopped app still counts toward its monthly plan.

Errors

Error codeMeaning
app_not_foundNot one of your n8n / PostgreSQL apps; use app_list
invalid_actionOnly start, stop and restart are allowed
request_failedThe app server didn’t accept the action; details in detail

Example prompts

  • “Is my n8n up? If it’s stuck, restart it.”
  • “Look at the n8n logs and tell me why my workflow fails.”
  • “Give me my PostgreSQL connection details and add them to this project’s .env as DATABASE_URL.”
  • “Stop my test PostgreSQL. I’ll start it again tomorrow.”