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
- Have an n8n or PostgreSQL app (in the panel: new service → One-click apps).
- Connect Remote MCP and approve
apps:readandapps:write. If you connected before, sign in again once (in Claude Code:/mcp→ hostino → Re-authenticate). - Ask: “Is my n8n up?”
To load only these tools, use https://mcp.hostino.ai/mcp/apps.
Tools
| Tool | Permission | What it does |
|---|---|---|
app_list | apps:read | Your n8n and PostgreSQL apps: status (running / exited), health, plan (CPU/RAM), URL, creation date |
app_access | apps:read | n8n: its address. PostgreSQL: host, port, database and user; the password and a ready postgresql://… connection string only with include_password: true |
app_control | apps:write | action: start, stop or restart |
app_logs | apps:read | The 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_controlrestart, thenapp_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_accesswithinclude_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:readcan’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 code | Meaning |
|---|---|
app_not_found | Not one of your n8n / PostgreSQL apps; use app_list |
invalid_action | Only start, stop and restart are allowed |
request_failed | The 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
.envasDATABASE_URL.” - “Stop my test PostgreSQL. I’ll start it again tomorrow.”