Skip to content
Pancake Stack
ChaptersPancake Stack Manual
Getting started
  1. 1Welcome to Pancake
  2. 2A tour of the window
  3. 3Your first site
Building sites
  1. 4Working with sites
  2. 5Files, the editor and design
  3. 6Bringing sites in
  4. 7Databases
Sharing and publishing
  1. 8Putting sites online
  2. 9On my network and local HTTPS
  3. 10Mail from your sites
  4. 11Deploying
Running your stack
  1. 12Backups and save points
  2. 13Services, tasks and workers
  3. 14The Assistant and MCP
Reference
  1. 15Settings, templates and plug-ins
  2. 16Plans and subscription
  3. 17Troubleshooting
  4. 18Privacy and your data

Pancake Stack › Pancake Stack Manual

Keep it fresh · Running your stack

The Assistant and MCP

Ask Pancake about your sites in plain words and let it do things for you, on Apple Intelligence or an AI of your choice, and connect Claude Code, Cursor, Codex and Claude Desktop.

The Assistant: ask a question, and it answers using Pancake's own tools.
Figure 14.1The Assistant: ask a question, and it answers using Pancake's own tools.

14.1Asking the Assistant

Open the Assistant pane, type a question in Ask Pancake… and press ⌘Return. Try:

When the Assistant uses one of Pancake's tools, the chat says so ("Used sites list"). Clear starts a new conversation.

14.2Where the answers come from

The line under the pane's title always says which AI is answering.

Apple Intelligence on this Mac (the default)
Free, private and offline: nothing leaves your Mac. It needs a Mac with Apple silicon and Apple Intelligence turned on in System Settings. It works best with short, specific questions.
Private Cloud Compute
Apple's larger model, for longer requests and every tool. Requests are processed privately and never stored. It needs macOS 27 or later and has a daily limit per Apple Account; the pane says when you're close to it.
A cloud AI provider
Your own key for Anthropic (Claude), OpenAI, Google Gemini or OpenRouter, or VibeProxy on this Mac, which uses the Claude, ChatGPT or Gemini subscriptions you've connected in it, with no key. Off unless you switch it on.

To choose, turn on Advanced in the Assistant pane. Pick On this Mac (private, offline) or Private Cloud Compute, or turn on Send requests to a cloud AI provider, choose the Provider and Model, paste your API key and click Save (Get a key opens the provider's page).

Note

With a cloud provider, your messages and the tools' answers (site names, settings, log lines) go straight from your Mac to that provider, never through Enfour. Passwords, keys and tokens are removed first. The provider's own terms apply.

If you use KeyRotate, keys can come from it, and a key you type into Pancake is handed to it. See Keys and KeyRotate.

14.3Look only, or allow changes

At the end of the Assistant pane's Advanced settings, choose what the Assistant and connected AI tools may do:

Turning Outside Access off is always allowed, because it only takes sites off the internet. Every tool call is written to assistant.log (in the Logs window), with who made it.

14.4Connecting Claude Code, Cursor, Codex and Claude Desktop

Pancake's MCP server lets AI coding tools on this Mac use the same tools as the Assistant: list your sites, read logs, start the servers, create a site, design a page, deploy. It listens on this Mac only, at http://127.0.0.1:19810/mcp, and every request needs a token.

  1. In the Assistant pane (Advanced), switch on MCP server for Claude Code, Cursor, Codex, Claude Desktop.
  2. Click Connect a Client… and choose your tool.
  3. Click Copy and paste the configuration where Pancake says. It includes your token.
Claude Code
Run the copied command in Terminal: claude mcp add --transport http pancake http://127.0.0.1:19810/mcp --header "Authorization: Bearer …"
Cursor
Add the copied pancake entry to ~/.cursor/mcp.json.
Codex
Add the copied [mcp_servers.pancake] section to ~/.codex/config.toml.
Claude Desktop
Choose Claude ▸ Settings ▸ Developer ▸ Edit Config and add the copied entry. It runs a small helper inside Pancake that connects to the server.

What the tools may do follows the Look only / Allow changes choice. New Token… replaces the token; every connected tool stops working until you paste the new configuration.

Careful

The token lets any program on this Mac use Pancake's tools. Keep it out of shared files and Git repositories.

14.5The tools

ToolWhat it doesNeeds Allow changes
help_searchSearches Pancake's Help.
stack_statusWhether the servers run, the port, Outside Access and the plan.
sites_list, site_infoYour sites, and one site's details.
logs_readThe last lines of a site's or server's log.
databases_listDatabases with their size and tables.
mail_listThe latest captured mail.
deploy_targetsWhere sites are deployed.
site_file_readLists or reads a site's files.
live_site_importOpens New Site ▸ From a live website.
stack_start, stack_stopStart or stop every server.Yes
outside_accessSwitch Outside Access on or off.To turn on
site_onlineSwitch a site Online.Yes
site_createCreate a PHP or static site.Yes
site_php, site_autoindexChange a site's PHP version or AutoIndex.Yes
deploy_runDeploy a site to a saved target.Yes
design_pageDesign a page from a description (save point first).Yes
site_file_writeWrite a text file in a site (save point first; the old version is kept as .pancake-bak).Yes