Download for Mac Sign in

Use

How do I use NativeCluster from an MCP client?

Since 0.4.24, nativecluster mcp is the nativecluster command as an MCP server. An app that takes MCP servers, such as Claude Desktop or Cursor, starts it on your own Mac and talks to it over stdio, with no network port. Its 21 tools are the command's own commands, run as you, with the same refusals. Before NativeCluster is on a Mac, NativeCluster's public MCP server, https://www.nativecluster.com/mcp, answers from this site.

View as MarkdownUpdated
On this page

What it is

  • The command, as an MCP server. Each tool call runs one of the nativecluster commands, with --json and with nobody at a terminal, as for an agent. It does what the command lets the person signed in on this Mac do, and refuses what the command refuses, with the same code, words, next word and exit code. See The nativecluster command.
  • On your own Mac, over stdio. The MCP app starts nativecluster mcp itself and speaks the Model Context Protocol on its stdin and stdout (JSON-RPC 2.0, one message a line). It runs as the person who started the app.
  • No network port. It opens no listener and no port, and sends only what its commands send. It opens no browser either.
  • Your Mac runs NativeCluster. It needs NativeCluster on this Mac (macOS on Apple silicon), as the command does. The model calls it makes run on your cluster's computers, in the same line as everyone's.

Add it to your MCP app

Put NativeCluster in the app's list of MCP servers, under "mcpServers" and a name such as "nativecluster". In Claude Desktop that list is in Settings › Developer › Edit Config; in Cursor, mcp.json.

JSON
{
  "mcpServers": {
    "nativecluster": {
      "command": "/Applications/NativeCluster.app/Contents/Resources/nativecluster",
      "args": ["mcp"]
    }
  }
}

If NativeCluster is in your own Applications folder, the path begins with your home folder instead (/Users/<you>/Applications/…). which nativecluster in a terminal names the command.

Sign in once first. The MCP server opens no browser, so on a Mac a person set up, sign in in a terminal (or in NativeCluster's window) before the app uses it:

Terminal
nativecluster login

Until then its login tool answers person_signs_in (next: login). On a Mac an AI agent set up, its login tool signs the agent in again with no browser, as nativecluster login does there. On a Mac nobody has set up, it answers next: setup, and the setup tool starts it (below).

The 21 tools

Each tool is the command named beside it. Every input is a string unless the table says otherwise; inputs in bold are required.

Looking (they change nothing)

ToolRunsInputs
statusstatusnone
doctordoctornone
models_listmodels listnone
models_placesmodels places <model>model
apps_listapps listnone
apps_storeapps storenone
members_listmembers listnone
keys_listkeys list (never a key's secret)none
cluster_devicescluster devicesnone
usage_nowusage now (owners and administrators)none
usage_callsusage calls (owners and administrators; never a call's words)since, limit (integer), app, person

Asking a model

ToolRunsInputs
runrun <model> <prompt>: one question, one answermodel, prompt; a picture as image_data (base64) with image_mime_type (image/png, image/jpeg, image/gif or image/webp), or as image_path (an absolute path to a file you own); no_get (boolean)

A model your cluster lacks is downloaded into this Mac's own models folder only when it fits this Mac, as for any agent, and never with no_get. A picture to a model that doesn't read pictures is refused (model_cannot_see), in words naming a model of your cluster that does.

Starting a Mac for an agent

ToolRunsInputs
setupsetup, on a Mac nobody has set upaccept_terms (boolean: true accepts NativeCluster's Terms of Service and Privacy Policy), name, email
loginlogin, with no browser (above)none
claimclaim: the link for the person the agent names to claim the clusteremail

See An agent starts it for what these do.

Getting and giving

ToolRunsInputs
models_getmodels get <model>: downloads a modelmodel, computer, folder
apps_getapps get <app>: downloads and installs an appapp, mine, wait (booleans), folder
apps_updateapps update <app>, or --allapp, or all (boolean)
apps_askapps ask <app>: asks your administrators for itapp
keys_createkeys create <name>: makes an API keyname, days (integer), for
members_invitemembers invite <email>...: invites people to your groupemails (a list), role (user, developer or admin), group

keys_create answers with the path of the file that holds the key, readable only by you, never the key itself.

What an agent can't do alone through it

  • No tool deletes or revokes anything, ends a sign-in, or closes a running app. apps_update on a running app installs nothing and answers app_running: the person closes it, or updates it on Apps.
  • It asks nothing and confirms nothing for a person. A step that needs a person answers as the command does for an agent, with its next word: confirm_on_screen for a step the person confirms on the Mac's own screen, claim on a cluster an agent started that nobody has claimed yet, open_app for what is done in NativeCluster's window, ask_admin for what an owner or administrator does. See The steps that need a person.
  • It accepts no Terms nobody gave. setup starts a Mac only with accept_terms set to true.
  • It never acts beyond your role. Each tool is the command, signed in as you: what your role can't do from a terminal, it can't do here.

What it answers

  • Each tool's result carries the command's --json answer, with its exit code beside it ("exit"), as structured content, and as text the words the command prints for a person, or a refusal's message followed by [<code>, exit <n>, next <word>]. A result whose exit isn't 0 is marked as an error. A missing input, or one of the wrong type, is refused before any command runs (usage, exit 2).
  • Its own log goes to stderr: each call's tool, exit, refusal code and time. Never an input, a prompt, an answer or a key.
  • Protocol. It speaks MCP revisions 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05, and offers tools only. It stops when the app closes its stdin.

Before you install: NativeCluster's public MCP server

Since 0.4.24, NativeCluster's website is an MCP server too, for an AI tool on a Mac where NativeCluster isn't yet, or on any other computer: https://www.nativecluster.com/mcp. It needs no sign-in and no NativeCluster.

  • Read-only, from this site. It answers only from what this site publishes: these docs, llms.txt and llms-full.txt, the Store's apps, and the model list the Models pages are built from. It is built with the site, so its answers are the site's, word for word. It installs nothing, makes no account, and sees no Mac and no one's data.
  • Streamable HTTP. Each JSON-RPC message is one POST, and a request's answer is one JSON object. It speaks MCP revision 2025-11-25, and 2025-06-18 and 2025-03-26 for clients of those, and offers tools only. There's no session, no cookie and no stream: a GET answers 405.
  • What it keeps. Nothing about a call beyond what its per-address rate limit counts (past it, HTTP 429); never its arguments.
ToolWhat it answersInputs
aboutWhat NativeCluster is, in this site's wordsnone
check_macWhether NativeCluster runs on a Mac (Apple silicon, M1 or later, on macOS 13 Ventura or later), and which models fit its memory, as the Models pages judge itchip (such as M3 Pro), memory_gb (a number), macos (such as 15.1)
modelsThe models NativeCluster offers: what each does, its download size, its license and the memory a Mac needs to run itmemory_gb (a number), ability (text, vision, speech or search)
installThe install line, Homebrew's line and the dmg, as Install gives them, run only with the person's OK, and how an AI agent sets up a new Mac alonenone
storeThe apps in NativeCluster's Storenone
search_docsThe docs' sections that hold your words: each one's page, heading, link and a short excerptquery, limit (an integer, 1 to 10)
sign_upThe link to create a NativeCluster account, and what the account is fornone

Add it to an MCP app as a remote server, by its URL. Or try it from a terminal:

Terminal
curl -s https://www.nativecluster.com/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-11-25' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check_mac","arguments":{"chip":"M3 Pro","memory_gb":36,"macos":"15.1"}}}'

Once NativeCluster is on the Mac, nativecluster mcp (above) is the MCP server for your cluster itself.