# Blogs by Samik Choudhury

> Guides on MCP servers for Windows, Linux and macOS, VM test automation, SSH, RDP and VNC.

- URL: https://www.prosamik.com/blogs

- [How to Use a UTM MCP Server for Windows App Test Automation](https://www.prosamik.com/blogs/utm-mcp-server-windows-test-automation.md): Use UTM as the test rig for an agent-driven Windows MCP server: pick the network mode, find the IP, reset with snapshots, script UTM from the Mac.
- [How to Use a UTM MCP Server for macOS App Test Automation](https://www.prosamik.com/blogs/utm-mcp-server-macos-test-automation.md): Run a macOS guest in UTM, enable SSH, install a macOS MCP server inside it, grant the permissions once by hand, and drive app tests from your host agent.
- [How to Use a UTM MCP Server for Linux App Test Automation](https://www.prosamik.com/blogs/utm-mcp-server-linux-test-automation.md): Run an Ubuntu ARM64 guest in UTM on Apple Silicon, put a desktop-control MCP server inside it, and let a Mac agent test a Linux GUI app.
- [How to Set Up a Windows MCP Server on a Mac (UTM Windows 11 VM)](https://www.prosamik.com/blogs/windows-mcp-server-for-mac-utm-vm.md): Turn a Windows 11 ARM VM in UTM into a Windows MCP server that your Mac agent controls over HTTP. Exact commands, the build errors I hit, and fixes.
- [How to Set Up a Linux MCP Server to Control an Ubuntu Desktop](https://www.prosamik.com/blogs/linux-mcp-server-ubuntu-desktop-control.md): Install a Linux desktop-control MCP server on Ubuntu, compare the real options, pick X11 over Wayland, and reach it from a Mac agent over an SSH tunnel.
- [How to Set Up a macOS MCP Server for AI Computer Use](https://www.prosamik.com/blogs/macos-mcp-server-computer-use.md): Install a macOS MCP server, grant Accessibility and Screen Recording, wire it into Claude Code or Cursor, and learn if you can bundle one in an Electron app.
- [How to Set Up a Virtual Machine MCP Server for Windows Test Automation](https://www.prosamik.com/blogs/virtual-machine-mcp-server-windows-test-automation.md): A hypervisor-agnostic way to let an agent test Windows apps: architecture, test-case design, golden images, what runs where, and the limits of GUI agents.
- [How to Set Up a Virtual Machine MCP Server for macOS Test Automation](https://www.prosamik.com/blogs/virtual-machine-mcp-server-macos-test-automation.md): Compare UTM, Tart, Parallels, VMware Fusion and Lume for macOS guests, then build a repeatable golden image and test loop for an agent with an MCP server.
- [How to Set Up a Virtual Machine MCP Server for Linux Test Automation](https://www.prosamik.com/blogs/virtual-machine-mcp-server-linux-test-automation.md): Pick a hypervisor or a dedicated Ubuntu box, give it a desktop, and design agent-driven Linux GUI tests with evidence, golden images and flake control.
- [How to SSH into a Windows VM from a Mac (OpenSSH Server on Windows 11)](https://www.prosamik.com/blogs/ssh-into-windows-vm-from-mac.md): Install OpenSSH Server on a Windows 11 VM, fix the stuck install and admin key gotchas, then SSH from your Mac to restart your MCP server and read logs.
- [How to SSH into a Linux VM from a Mac](https://www.prosamik.com/blogs/ssh-into-linux-vm-from-mac.md): Install OpenSSH on Ubuntu, find the VM IP, log in from macOS with ed25519 keys, harden sshd, and tunnel to an MCP server bound to localhost.
- [How to Use RDP from a Mac to Control Linux](https://www.prosamik.com/blogs/rdp-from-mac-to-linux.md): Set up xrdp with XFCE on Ubuntu, connect from macOS with Windows App, fix the black screen, and know when GNOME Remote Desktop or VNC fits better.
- [VNC vs RDP: Differences, Security and Which to Use From a Mac](https://www.prosamik.com/blogs/vnc-vs-rdp.md): VNC vs RDP explained: protocols, ports, security defaults, performance, session model, and which to pick from a Mac for Windows, Linux or macOS targets.
- [How to Move a Next.js App from Vercel to Coolify (Railpack and Dockerfile)](https://www.prosamik.com/blogs/move-nextjs-from-vercel-to-coolify.md): Move a Next.js app from Vercel to Coolify with Railpack or a Dockerfile. Covers env var scope, crons, migrations, healthchecks, standalone output and rollback.
- [How to Run Cron Jobs for a Next.js App in Coolify (Scheduled Tasks)](https://www.prosamik.com/blogs/coolify-cron-jobs-nextjs-scheduled-tasks.md): Replace Vercel crons with Coolify Scheduled Tasks for Next.js: the 255-character command, a bearer-token route, testing, logs and a local cron.
- [How to Add a Healthcheck to a Next.js App in Coolify (Docker and Railpack)](https://www.prosamik.com/blogs/coolify-healthcheck-nextjs-docker-railpack.md): Add a /api/health route and a Coolify healthcheck for Next.js on Docker or Railpack. Fix curl errors, HOSTNAME pitfalls and slow-start deploys.
- [How to Serve Next.js Images and Assets from Cloudflare R2 on Your Own Domain with Wrangler](https://www.prosamik.com/blogs/nextjs-cloudflare-r2-cdn-wrangler.md): Put a Cloudflare R2 bucket on a custom domain, upload versioned files with wrangler, load them with next/image, and optionally serve _next/static from the CDN.
- [How to Deploy Your Own MCP Server in a Next.js App on Coolify](https://www.prosamik.com/blogs/deploy-mcp-server-nextjs-coolify.md): Add a stateless, OAuth-protected MCP endpoint to a Next.js route handler, deploy it on Coolify, test it with curl, and connect Claude Code or Codex.
- [How to Host a Next.js App on Your Own VPS with Coolify](https://www.prosamik.com/blogs/host-nextjs-on-vps-with-coolify.md): Install Coolify on a Linux VPS, deploy a Next.js app from Git with Railpack or a Dockerfile, add a domain with HTTPS, and lock down the server.
- [How to Add Multiple Servers to Coolify (Remote and Build Servers)](https://www.prosamik.com/blogs/add-multiple-servers-coolify.md): Connect a second VPS to Coolify over SSH, validate it, deploy a Next.js app to it, and optionally add a build server so builds stop slowing production.
- [How to Organize Coolify Projects and Environments for Next.js](https://www.prosamik.com/blogs/coolify-projects-environments-nextjs.md): Learn what Coolify projects, environments and resources are, how to lay them out for a Next.js app with a database, and how shared variables fit in.
- [How to Use a Linux VPS for Self-Hosting: Commands, htop and Docker Cleanup Cron](https://www.prosamik.com/blogs/basic-linux-vps-commands-self-hosting.md): Linux VPS commands for Coolify or Docker: SSH, updates, htop, disk checks, logs, a ufw firewall, and a cron job that prunes Docker images and build cache.
- [Hostinger vs Hetzner VPS for Self-Hosting Next.js with Coolify](https://www.prosamik.com/blogs/hostinger-vs-hetzner-vps-self-hosting.md): Hostinger vs Hetzner VPS for Coolify and Next.js: pricing structure, locations, backups, firewalls, and why a first VPS should start on Hetzner.
- [Cheapest Domain Registrar for Developers: Spaceship, Cloudflare, Porkbun, Namecheap](https://www.prosamik.com/blogs/cheapest-domain-registrar-for-developers.md): My ranking of domain registrars for developers: Spaceship, Cloudflare, Porkbun, Namecheap. Compare renewals, WHOIS privacy, DNS and domain transfer rules.
- [How to Transfer a Domain from Namecheap to Another Registrar](https://www.prosamik.com/blogs/transfer-domain-namecheap-to-another-registrar.md): Step-by-step transfer of a domain out of Namecheap: eligibility, unlock, Auth Code, DNS and DNSSEC prep, the 5-day release window, and what to check after.
- [How to See Next.js Logs in Coolify (Runtime Logs, Deployment Logs, Log Drains)](https://www.prosamik.com/blogs/nextjs-logs-in-coolify.md): Find Next.js runtime and deployment logs in Coolify, write JSON logs that the viewer can expand, read them with docker logs, and forward them with log drains.
- [How to Set Up Vercel Log Drains for a Next.js App (With a Signed Receiver)](https://www.prosamik.com/blogs/vercel-log-drains-nextjs.md): Configure a Vercel Log Drain, build a Next.js route handler that verifies x-vercel-signature, parse the NDJSON payload, and control cost with sampling.
- [Vercel Observability Alternatives for Next.js: How to Choose Logs, Traces and Errors](https://www.prosamik.com/blogs/vercel-observability-alternatives.md): Compare Vercel Observability, Vercel Drains, Coolify log drains, OpenTelemetry and PostHog for Next.js logs, traces and errors, with a decision table.
- [How to Build a Safe Events Route in Next.js (First-Party Trace and Analytics Proxy)](https://www.prosamik.com/blogs/nextjs-trace-events-route.md): Build a Next.js route handler that receives client events, validates and rate limits them, then forwards to your backend. Includes the PostHog rewrite option.
- [How to Send Next.js Server Logs to PostHog (posthog-node and OpenTelemetry)](https://www.prosamik.com/blogs/posthog-server-logs-nextjs.md): Send Next.js server logs to PostHog with the native posthog-node logger or OpenTelemetry, start them from instrumentation.ts, and keep secrets out of logs.
- [How to Use PgBouncer with Self-Hosted Postgres and Next.js](https://www.prosamik.com/blogs/pgbouncer-self-hosted-postgres-nextjs.md): Put PgBouncer in front of self-hosted Postgres for a Next.js app: transaction pooling, a minimal config, migrations on a direct URL, and the limits.
- [How to Back Up Postgres in Coolify and Test the Restore](https://www.prosamik.com/blogs/postgres-backups-coolify.md): Set up scheduled Postgres backups in Coolify, set retention, then restore a dump into a disposable database with pg_restore to prove it works.
- [How to Send Coolify Backups to S3 or Cloudflare R2](https://www.prosamik.com/blogs/coolify-backups-s3-r2.md): Add Cloudflare R2 or S3 storage to Coolify backups, attach it to schedules, verify uploads, then automate it with the Coolify API, Wrangler and an AI prompt.
- [How to Self-Host Plunk with Amazon SES](https://www.prosamik.com/blogs/self-host-plunk-amazon-ses.md): Self-host the Plunk email platform with Docker Compose and Amazon SES: domains, environment variables, IAM, SNS webhooks, sandbox exit and DNS checks.
- [How to Self-Host OpenSEO with Docker (Open-Source Semrush Alternative)](https://www.prosamik.com/blogs/self-host-openseo.md): Self-host OpenSEO with Docker Compose: what it is, the DataForSEO key, required env vars, first-admin signup, reverse proxy, backups and upgrades.
- [How to Self-Host Postiz on Coolify (Social Media Scheduler)](https://www.prosamik.com/blogs/self-host-postiz-coolify.md): Self-host Postiz with Docker Compose or Coolify: required env vars, ports, Temporal, closing registration, storage, upgrades and an agent-safe checklist.
- [How to Deploy Payload CMS with Next.js on Coolify (Docker, Postgres)](https://www.prosamik.com/blogs/payload-cms-nextjs-coolify.md): Deploy Payload CMS inside a Next.js app on Coolify: standalone Dockerfile, PAYLOAD_SECRET and DATABASE_URL, Postgres, uploads storage and a healthcheck.
- [How to Launch an iOS App on the App Store with Codex (Archive to Review)](https://www.prosamik.com/blogs/launch-ios-app-app-store-with-codex.md): A safe workflow for shipping an iOS app with Codex CLI: app record, archive, upload to TestFlight, submit for review, and what to keep from the agent.
- [How to Add an MCP Server to Codex CLI (config.toml and codex mcp add)](https://www.prosamik.com/blogs/codex-mcp-server-setup.md): Add stdio and remote MCP servers to OpenAI Codex with codex mcp add or config.toml, use bearer tokens and OAuth login, set timeouts and limit tools.
- [How to Set Up a Daily Email Automation with Codex (Scheduled Tasks)](https://www.prosamik.com/blogs/codex-daily-email-automation.md): Schedule a daily Codex task that writes a digest, choose sandbox and approval settings, and deliver it by email safely, with a codex exec and cron fallback.
- [How to Use the macOS Terminal: Essential Commands for Developers](https://www.prosamik.com/blogs/macos-terminal-commands-for-developers.md): The macOS Terminal commands developers use daily: files, processes with top, network checks, ssh, df and du, Homebrew, cache cleanup, and cron vs launchd.
- [How to Use PowerShell on Windows: Essential Commands for Developers](https://www.prosamik.com/blogs/windows-powershell-commands-for-developers.md): PowerShell commands developers need on Windows: Get-ChildItem, Get-Process, Test-NetConnection, ssh, winget, scheduled tasks, disk usage, and a WSL tip.
- [How to Self-Host with Coolify: Hetzner or Hostinger VPS Install Checklist](https://www.prosamik.com/blogs/hetzner-hostinger-vps-coolify-install-checklist.md): A step-by-step checklist to set up a Hetzner or Hostinger VPS and install Coolify: SSH key, firewall, official script, domain, HTTPS, first app, backups.
- [New Relic vs Sentry for Next.js on Coolify: How to Choose](https://www.prosamik.com/blogs/new-relic-vs-sentry-nextjs-coolify.md): Compare New Relic and Sentry for a self-hosted Next.js app on Coolify: log drain support, UI, error tracking, pricing model and when to pick each.
- [How to Use PostHog for Error Tracking in Next.js on Coolify or Vercel](https://www.prosamik.com/blogs/posthog-error-tracking-coolify-vercel.md): Use PostHog as a Sentry alternative for Next.js errors on Coolify or Vercel: capture client and server exceptions, proxy through your domain, and control cost.
- [How to Let an AI Agent Control Your Coolify Server Safely](https://www.prosamik.com/blogs/ai-agent-control-coolify-server.md): Give an AI agent scoped access to Coolify through its API: least-privilege tokens, read-only first, a three-tier permission model and a copy-paste prompt.
- [How to Let an AI Agent Manage Cloudflare DNS, R2 and Workers with Wrangler](https://www.prosamik.com/blogs/ai-agent-control-cloudflare-wrangler.md): Let an AI agent manage Cloudflare R2, Workers and DNS with Wrangler and scoped API tokens: read-only first, tiered permissions and a copy-paste prompt.
- [How to Use Cloudflare Tunnel: Expose Local Apps, Home PCs and Coolify](https://www.prosamik.com/blogs/cloudflare-tunnel-guide.md): Set up Cloudflare Tunnel with cloudflared to expose a local app, home computer or Coolify server without opening ports, plus Access rules and safe limits.
- [How to Use Tailscale: Link VPS Servers, Phones and Laptops Privately](https://www.prosamik.com/blogs/tailscale-guide.md): A complete Tailscale guide: install on servers, Mac, Windows and phones, link several VPS servers, use exit nodes as a VPN, explain ping, and avoid blocked IPs.
