mandate0
MCP

Gemini CLI

Install the mandate0 extension for Gemini CLI and sign in to sandbox.

The mandate0 extension adds the mandate0 MCP server and a skill that teaches Gemini to shop inside your limits and report the result. It holds no keys and asks for no settings.

Install

Install from a copy of the extension folder or its release archive:

gemini extensions install <path-or-release-url>
gemini extensions list

Gemini asks whether to trust the folder; answer yes. A public release is prepared, not published yet, so the extension folder comes from the mandate0 repository for now. Antigravity installs the same folder with agy plugin install <path>.

gemini extensions list should show mandate0 with one MCP server, the GEMINI.md context file and the shop-within-mandate skill. Gemini CLI loads MCP servers only in folders you have trusted.

Sign in

Start gemini and run:

/mcp auth mandate0

Your browser opens the mandate0 consent screen. Sign in and approve. Gemini registers itself on first use, so there is no client id or secret to paste. New connections use sandbox mode until you choose live on the consent screen.

Without the extension

Add the server to ~/.gemini/settings.json yourself, using the platform MCP URL as httpUrl (streamable HTTP; url would mean SSE), then run /mcp auth mandate0:

{ "mcpServers": { "mandate0": { "httpUrl": "<platform MCP URL>" } } }

Verified install (optional)

The extension connects remotely. For tier 1, add the local m0 mcp bridge to ~/.gemini/settings.json as a stdio server and disable the extension's remote server so only one mandate0 loads. @mandate0/cli is not on npm yet (coming soon). See Know Your Agent.

Verify

Ask Gemini what you can spend with mandate0. It should call m0_get_purchase_authority and answer with your stores and limits.

On this page