Home/Q&A/Can Claude Code on a remote Mac mini use MCP servers?

Can Claude Code on a remote Mac mini use MCP servers?

Updated · airankrush

Direct answer

Yes. Local MCP servers are child processes started by Claude Code, and remote ones only need the machine to reach outward. Neither kind needs an inbound port, so neither touches the network configuration you are not allowed to change.

Basis

  • Local stdio servers: the server is registered as a command and Claude Code starts it when needed. It usually depends on a Node or Python runtime, so install the runtime first.
  • Remote HTTP servers: add them with claude mcp add --transport http <name> <url> as the official docs describe. Services that require authorization open a browser, and you complete that inside the remote desktop.
  • Servers that need to drive desktop apps (browsers, design tools, Xcode-related ones) are where this machine earns its keep: it has a real macOS desktop, which a command-line-only host cannot offer.
  • The configuration lives in this machine's user directory and project directories and loads automatically with each session. Disconnecting from the remote desktop does not affect it.

Information as of .

Boundaries: when the answer is different

In one case the answer is the opposite: you want to run an MCP server on this machine and have other computers outside connect to it. That needs an externally reachable entry point, while the machine's public exit may be shared with other machines and the network configuration is not yours to change, so do not design around that idea. On security: an MCP server gets everything your user can do, so install third-party servers only if you have read the source or trust where they come from. Tokens written into configuration are equivalent to passwords; do not commit them to a repository, and revoke each one before the rental ends. The platform's operational monitoring sees runtime information such as processes and network connections; it does not record the content of your business data.

How to do it

  1. Check that node -v and python3 --version work, and install whatever is missing with Homebrew.
  2. Add the server with claude mcp add, following the server's own instructions.
  3. Type /mcp in Claude Code to see the connection status and complete authorization as prompted.
  4. Pass tokens in through environment variables instead of hard-coding them in config files that go into version control.
  5. Have it perform one read-only operation as a check before enabling tools that write.

Use case

This question belongs to the use case: Remote Mac mini for heavy Claude Code use: an always-on workstation, not account insurance

Other questions in the same use case:

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · All Q&A