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.
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
- Check that
node -vandpython3 --versionwork, and install whatever is missing with Homebrew. - Add the server with
claude mcp add, following the server's own instructions. - Type
/mcpin Claude Code to see the connection status and complete authorization as prompted. - Pass tokens in through environment variables instead of hard-coding them in config files that go into version control.
- Have it perform one read-only operation as a check before enabling tools that write.
Related questions
- Remote Mac mini for heavy Claude Code use: an always-on workstation, not account insurance
- Can I install Node, Homebrew and Docker on a rented Mac mini myself?
- Can the rental provider see the code on my machine?
- Can I run Playwright and browser automation on a remote Mac mini?
- Can an AI agent control the screen and browser on a rented Mac?
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:
- Can I clone private company repos on a rented Mac mini, and where do keys go?
- Can several people on a team share one remote Mac mini?
- Do I have to sign in with an Apple ID to run Claude Code on a remote Mac mini?
- Can I schedule Claude Code to run unattended (headless) on a remote Mac mini?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support