MCP Server
mere mcp serve exposes the manifest-backed command surface over stdio MCP.
Default mode registers only read-only and diagnostic tools. This is the recommended agent mode:
mere mcp serveWrite mode is explicit:
mere mcp serve --allow-writes
MERE_MCP_ALLOW_WRITES=1 mere mcp serveDo not use write mode as a default. It exposes write/destructive/external tools from app manifests, but app guardrails still apply.
Tool names follow:
mere_<app>_<command_path>Examples:
mere_projects_project_listmere_email_threads_searchmere_video_rooms_listmere_zone_stripe_status
Tool inputs support:
argsworkspacebaseUrlprofilejsondatadataFileyesconfirm
Destructive and external tools still require yes: true. If a manifest says requiresConfirm, pass the exact target in confirm.
Agent Workflow
- Start with read-only MCP.
- Use tools/list to discover generated tools.
- Prefer read/audit/list/show tools before mutation.
- For writes, restart the server with
--allow-writesonly after the task explicitly requires writes. - Use
datafor structured JSON payloads; useargsfor positionals that follow the command path. - Preserve product selectors such as
workspace,profile, and app-specific positionals.
The MCP server uses the same resolved app adapters as the terminal entrypoint: env override, bundled adapter, local repo dist, then PATH. Product auth tokens remain in app-local stores, and root MCP invocations are logged to ~/.local/state/mere/audit.ndjson.
Smoke
pnpm smoke:mcpThis starts mere mcp serve over stdio with the MCP SDK client and verifies tools/list returns at least one tool.