One command installs the MCP server, wires Claude Desktop, Claude Code, Cursor, Codex, Zed, Continue into your Cosmos graph, and keeps iMessage, browser history, and calendar syncs moving in the background on macOS.
curl -fsSL https://mcp.polarity-lab.com/install.sh | sh
On macOS this installs the full stack. On linux and windows it installs the MCP server; the Sync app is macOS only right now.
--dry-run.- Checks for Node 20+. On macOS it can install Node through Homebrew if needed.
- Installs
@polarity-lab/cosmos-mcpfrom npm. The package exposes the stdio MCP server and local sync commands. - Drops
Cosmos Sync.appinto/Applications. The app runs the local daemon at login on macOS. - Registers
cosmos-mcp://. The browser can hand a fresh key into your macOS keychain without showing it on screen. - Merges cosmos into every MCP client it finds. Claude Desktop, Claude Code, Cursor, Codex, Zed, Continue. Existing servers stay in place and every edited config gets a backup.
- Opens the Cosmos connectors page. Sign in, mint a key, then let the browser hand it to cosmos-mcp.
curl -fsSL https://mcp.polarity-lab.com/install.sh | sh -s -- --dry-run
curl -fsSL https://mcp.polarity-lab.com/install.sh | sh -s -- --no-app
--dry-run prints every file, command, and config merge before anything changes. --no-app installs only the MCP server and skips the macOS background app.
Reads local Messages history, resolves people through AddressBook, filters junk, and writes real conversation turns into your graph.
Syncs local browser history with noise filters, so the graph sees useful pages instead of tab churn and OAuth redirects.
Reads local Apple Calendar events and attendee context, then lands them as source pages your agents can retrieve later.
Claude Code, Claude Desktop, Cursor, Codex, Zed, and Continue all read and write through the same key.
Install the package, add it to your MCP client, then provision a key from Cosmos.
npm install -g @polarity-lab/cosmos-mcp
claude mcp add cosmos --scope user -- npx -y @polarity-lab/cosmos-mcp
npx -y @polarity-lab/cosmos-mcp provision pmk_xxx
For Claude Desktop and Cursor, the server entry is the same JSON shape under mcpServers.cosmos. For Codex, use a [mcp_servers.cosmos] block in ~/.codex/config.toml.
why mcp.polarity-lab.com matters
mcp.polarity-lab.com is the stable public doorway for the package. The app lives at cosmos.polarity-lab.com, but registries, npm readers, shell installers, and people checking whether an MCP server is legitimate need one small canonical surface that says what the server is, where it installs from, which domain mints keys, and which metadata crawlers should trust.