swiftapplications

MCP on macOS

MCP (Model Context Protocol) explained for Mac developers

What the Model Context Protocol is: hosts, clients and servers; tools, resources and prompts; stdio and Streamable HTTP; and what that means on a Mac.

Updated 8 October 2026 3 min read

The short answer

MCP is an open protocol that lets AI apps (hosts like Claude Desktop, Claude Code, Cursor or Codex) connect to servers that offer tools, resources and prompts. Messages are JSON-RPC 2.0. A local server usually runs as a subprocess over stdio; a remote one uses Streamable HTTP. On a Mac, that means config files listing the servers to launch, and processes running as you.

Hosts, clients and servers

  • Host: the AI app you use (Claude Desktop, Claude Code, Cursor, Codex, VS Code).
  • Client: the connection the host keeps to one server.
  • Server: a program that exposes capabilities: a database, Stripe, your file system, a Mac app.

What a server offers

  • Tools: functions the model may call (create_refund, search_orders). The powerful part, and the risky part.
  • Resources: data the host can read into context (files, records).
  • Prompts: reusable templates a user can pick.

How they talk

Local servers are usually launched by the host and speak over stdio (stdin and stdout). Remote servers use Streamable HTTP: one endpoint taking POST requests, with optional streaming. The older HTTP+SSE transport is deprecated. More in MCP transports on a Mac.

What it means on a Mac

Every local server is a process running as you, with your files and network, started from a config file in your home folder. That config is also where API keys tend to end up in plain text. The rest of this field guide is about doing it safely.

The safe way to do this

MoltenRock Connect

One local MCP server for 30 business platforms

Connect holds every key; your agents read Stripe, Shopify and 28 more over MCP and never see one. On Stripe they can only propose, and you approve with Touch ID.

Get MoltenRock Connect

Questions developers ask

Who created MCP?

Anthropic introduced the Model Context Protocol in November 2024 as an open standard; it’s now supported by many AI apps and tools.

Is MCP the same as function calling?

MCP builds on it: function calling is how a model asks for a tool; MCP standardises how tools are discovered and called across apps.

Do MCP servers run locally or in the cloud?

Both. Local servers usually run over stdio on your machine; remote servers use Streamable HTTP.