Memex Plugin
This is the Memex plugin for Memex.Garden, a bookmarking second brain for humans and agents. You can save, transcribe, summarize and search anything you come across. Websites, notes, web highlights, YouTube, X, TikTok, Instagram, PDFs, Reddit or images. Here is our Privacy Policy and our docs.How to install
- Download the plugin
- Extract the zip, or clone this repo and use it directly.
- Start Codex from the extracted directory or repo root.
- Open Codex’s plugin directory.
- Select the
Memex Pluginsmarketplace. - Install
Memex. - Connect Memex when your client prompts for authentication.
- You’re done. You can now use Memex from your agent.
Example prompts
Search my Memex library for pages about MCP authentication and summarize the top results.Save https://docs.memex.garden/general/authentication into Memex, and tag it with #tutorials
Handoff command
The plugin exposes a dedicated slash command for unprocessed handoffs:read_action. It fetches pending handoffs by default, resolves the
saved Codex project for each handoff, and creates one fresh task per handoff.
The coordinator never performs or drains the handoff itself. Each created task
owns only its handoff and drains it after the requested work is complete.
Authentication
The default hosted Memex MCP endpoint is:https://memex.garden/api/mcp
Memex Codex plugin and, when custom registration metadata is supported,
include memex_client_source: "memex_codex_plugin" so Memex can show the
connection as this plugin rather than a generic Codex cloud agent. In Codex
CLI, use:
- OAuth is the default path when supported by the client
MEMEX_BEARER_TOKENis the first fallback when present- otherwise the MCP server may use
MEMEX_API_KEY MEMEX_USER_IDis optionalMEMEX_MCP_URLdefaults tohttps://memex.garden/api/mcp
https://memex.garden/api/mcp for production or http://localhost:8787/mcp
for local development.
Docs
- The plugin invokes discovered handoff-listing actions through
read_actionand handoff-draining actions throughwrite_action. - Handoff command:
/memex:fetch-handoffs - Available endpoints
- Response shape
- Buy credits

