nikships/keep-agent-mem/keep-agent-mem
Claude Code and agent skill by nikships/keep-agent-mem
- community
Checking that the SKILL.md file is still in the repository.
Set up the keep-agent-mem Google Keep MCP server for an AI agent. Use when a user wants credentials guidance, Google Keep master-token generation, or a complete MCP config entry or Claude Code `claude mcp add` command.
Install
npx vskill@latest install nikships/keep-agent-mem/keep-agent-memSKILL.md
keep-agent-mem setup
This skill helps you configure the keep-agent-mem mcp server for yourself (The AI). It will arm you with persistant memory accross sessions, devices, and harnesses.
What to do
- Identify your target client and config file:
- Droid/Cursor/Claude-style JSON: usually
~.factory/mcp.jsonor anothermcp.jsonor~.claude.json. - Codex TOML: usually
~.codex/config.toml. - Claude Code CLI: add with
claude mcp add.
- Get the user's Google email.
- Ask for the email.
- Help or automate obtaining the user's Google Keep master token.
- Generate and merge the MCP entry, preserving all existing servers.
- Verify the server after the user restarts/reloads the agent.
Required server values
- Command:
uvx - Args:
["keep-agent-mem"] - Environment:
GOOGLE_EMAILGOOGLE_MASTER_TOKEN
Do not use a local Python interpreter path like .venv\Scripts\python.exe -m server. The README says to run the published command through uvx keep-agent-mem.
Exact config templates
Claude Code CLI command
Claude Code should be configured with claude mcp add, not by manually editing JSON unless the user faces difficulty. The command shape is:
JSON MCP config
Use this shape inside the existing top-level object. If mcpServers already exists, merge only the keep-agent-mem entry.
TOML MCP config
Getting the Google master token
- Open
https://accounts.google.com/EmbeddedSetup. - Open browser DevTools.
- Sign in with the target Google account and approve the flow.
- Go to Application/Storage -> Cookies ->
https://accounts.google.com. - Copy the
oauth_tokencookie value. (Dev tools -> Application -> Cookies -> https://accounts.google.com -> oauth_token)
- It usually starts with
oauth2_4/. - It is one-time use. If the exchange fails, get a fresh cookie.
- Exchange it with
gpsoauth.exchange_token(email, oauth_token, android_id). - Write the master token to a local file.
You can use the bundled helper:
Then read the file locally and insert the token into the user's MCP config. Delete or secure the file after use.
Verification
After updating config:
- Ask the user to restart or reload their AI agent so MCP servers are reloaded.
- Check whether
keep-agent-memtools appear. - Use a non-destructive tool first, such as
findwith a harmless query. - If the user explicitly wants a write test, create a small test note, then offer to delete it.
Troubleshooting
| Symptom | Likely cause | Fix | |
|---|---|---|---|
KeyError: 'Token' during exchange | The oauth_token was expired, consumed, or invalid | Get a fresh oauth_token from EmbeddedSetup | |
BadAuthentication | Password login or deprecated auth flow was used | Use the EmbeddedSetup/oauth_token alternative flow | |
DeviceManagementRequiredOrSyncDisabled | Google account has mobile management restrictions | Visit https://admin.google.com/ac/devices/settings/general and turn off mobile management/unmanaged mode if permitted | |
| MCP server launches but tools are missing | Agent has not reloaded MCP config | Restart/reload the agent | |
Claude Code command fails or treats uvx as an option | Missing -- separator | Use claude mcp add keep-agent-mem ... -- uvx keep-agent-mem | |
| Config uses local Python path | Wrong launch command | Replace with command = "uvx" / "command": "uvx" and args = ["keep-agent-mem"] | |
| Token appears as asterisks in terminal output | Secret redaction masked stdout | Write secrets to a file or secret store instead of printing |
What not to do
- Do not fabricate API behavior or config keys.
- Do not commit real Google master tokens.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/keep-agent-mem/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nikships/keep-agent-mem/keep-agent-mem)