All Posts

21 posts

5 min read
Helping Claude Use MCP Well: Six Prompting Tips and One Core Principle

Connecting Claude to MCP does not mean it already understands your project. It must call tools first to obtain context. This article explains six prompting techniques for working efficiently with MCP-enabled Claude: establish context, name tools, narrow scope, chain tool calls, use templates, and describe goals.

Post AI
5 min read
Self-Hosted DERP Relay: Stable 20ms Domestic Fallback for Headscale

Tailscale / Headscale prefers WireGuard P2P, but NAT traversal often fails and traffic falls back to overseas official DERP relays with 100ms+ latency. This post records how I added a domestic self-hosted DERP relay to Headscale, including source modification, self-signed certificates, and anti-abuse setup.

Post Homelab
4 min read
Adding a Web UI to Headscale: headscale-ui Setup Notes

Headscale is CLI-only by default. Adding nodes, approving devices, creating users, and checking routes all require SSH commands. headscale-ui is a static web frontend that calls the Headscale API and moves these operations into the browser. This post records installation, reverse proxy setup, and login pitfalls.

Post Homelab
4 min read
What Is Tailscale: A Practical Introduction to P2P Private Networking

Access your home NAS remotely, connect back to an office network, or build a private mesh across devices. Tailscale makes this feel like 'log in and you are on the same LAN': automatic networking, NAT traversal, and peer-to-peer WireGuard connections. This prologue explains how it works and how it relates to self-hosted Headscale.

Post Homelab