Docs
Connect Gemini CLI
Connect Gemini CLI to your workspace memory. The server is https://agentics.you/mcp, named agentics in every tool, so an admin can allowlist one name.
One click from the desktop app
In the Agentics desktop app, Connect your agents lists Gemini CLI with its state. Nothing changes until you confirm.
- Click Connect. Before anything changes, the app shows what it will do: “Add Agentics to Gemini CLI for your user (~/.gemini/settings.json).” With it are the command it runs and the file it changes.
- Click Confirm. The app saves a backup of the file beside it (
<file>.agentics-backup-<timestamp>, readable by you only), runsgemini mcp add --transport http -s user agentics https://agentics.you/mcp, then runsgemini mcp listto check thatagenticsis there.
If Gemini CLI isn't installed, its row says so and offers nothing to click. Once it has agentics, the row says Connected and offers Disconnect.
The app is for macOS and Windows. Get it from Download, which lists each build once a release is published.
By hand
Run this in a terminal. It is the command the app runs:
gemini mcp add --transport http -s user agentics https://agentics.you/mcpThe entry it writes to ~/.gemini/settings.json includes:
{
"mcpServers": {
"agentics": {
"url": "https://agentics.you/mcp",
"type": "http"
}
}
}~ is your home folder.
Sign in
Gemini CLI asks you to sign in the first time it calls Agentics. To sign in now, run /mcp auth agentics in Gemini CLI.
A console API key (ak_…) does not work here. Production answers HTTP 401 {"error":"invalid_token"} to one.
Check it worked
Run gemini mcp list. It lists agentics at https://agentics.you/mcp.
Then ask your agent to use it:
Paste this into your agent
Call the remember tool with content "The customer prefers email over phone." Then call recall with the query "how does the customer like to be contacted?" and tell me the receipt_hash.remember answers with saved true and a receipt_hash. recall returns that memory in results. Open the verify_url: the check does not show the memory's text.
Disconnect
In the desktop app, click Disconnect, then Confirm. It backs up the file, runs gemini mcp remove -s user agentics, then runs gemini mcp list to check that agentics is gone.
By hand, run:
gemini mcp remove -s user agenticsIf your organization manages Gemini CLI
Before it changes anything, the app reads these files. One that blocks agentics stops the connect: the row says “Blocked by your organization's policy” and names the file. One that already provides agentics means there is nothing to add. A file that exists but can't be read stops the connect too.
- Gemini CLI's system settings.
mcp.allowedandmcp.excludedname the servers that may run. The app looks at/Library/Application Support/GeminiCli/settings.jsonon macOS,C:\ProgramData\gemini-cli\settings.jsonon Windows and/etc/gemini-cli/settings.jsonon Linux, or whereverGEMINI_CLI_SYSTEM_SETTINGS_PATHpoints.
What the app can't check
- Gemini CLI turns off user-level servers in a folder you haven't trusted. Run gemini trust in your project folder.
If it does not connect
| What you see | What it means |
|---|---|
| Not installed | The app found no Gemini CLI on this computer. Install it, then click Check again. |
| Another agentics server | Gemini CLI already has a different server named agentics. The app won't replace it: remove that one in Gemini CLI first. |
| Can't read its settings | The app couldn't read Gemini CLI's config or a policy file, so it changes nothing. The row names the file and why. |
| Blocked by policy | A policy file blocks agentics. The row names it; see the policy files. |
| Provided by your organization | Your organization already gives Gemini CLI agentics, so there is nothing to add. |
HTTP 401 {"error":"invalid_token"} | Sign-in did not finish, or a console key (ak_…) was sent. Sign in again, or send an agent key (agk_mcp_…). |
HTTP 405 {"error":"Use POST for JSON-RPC"} | Something sent GET, as a browser tab does. Clients send POST to https://agentics.you/mcp. |
HTTP 403, code -32000, Token lacks the mcp:tools scope | The sign-in can't use the server. Remove agentics, add it again, and choose Allow. |
Unknown tool: remember | The tool list is stale. Reconnect agentics so the tools are read again after sign-in. |
This connection cannot use remember. | The grant is missing actions:record. Connect again and choose Allow. |
content is required. (code -32602) | remember needs content as a string. |
Unknown field: … (code -32602) | That argument is not one remember takes. |
HTTP 429 {"error":"Too many requests. Try again in a minute.","retry_after":…} | 120 calls a minute on that sign-in. Wait Retry-After seconds. |
This workspace has used its 10,000 actions for this month on Free. New actions are paused until the 1st (UTC). | Free is at its monthly write cap. recall still works. |
More errors are on Connect any MCP client.