This guide is for someone whose agent speaks MCP: a custom agent, an IDE assistant, or a desktop client. Connecting is enough to search memory. Recording sessions needs a Glen plugin, which comes with the CLI.
- Create your account with the installer. Needs Node.js. The installer signs you in, creates or joins an organization, and offers the Glen plugin to any coding agents it finds. Skip the plugins if you only want MCP for now.
npx @tryglen/cli@latest install - Add the remote MCP server. In your client's MCP settings, add Glen as a remote server using Streamable HTTP.
https://mcp.tryglen.com/mcp - Sign in with OAuth, or use an API key. Clients that support OAuth 2.1 register themselves (dynamic client registration with PKCE, no client secret) and open a sign-in page. Clients without OAuth can send a personal API key instead.
x-api-key: <your personal API key> x-glen-org-id: <your organization id> - Check the connection. Ask the client to call
glen_status, thenglen_list_orgsto see which organizations you can reach. - Search memory. Ask a question through
glen_search. The answer cites a source for every claim, and the call has a 60 second limit.
Tools worth knowing first
| Tool | Use it to |
|---|---|
glen_search | Ask the organization's memory a question and get a cited answer |
glen_code_search | Find the agent conversations behind a range of lines |
glen_forget / glen_restore | Stop a wrong memory being recalled, or undo that |
glen_import | Backfill past sessions |
glen_skill_search / glen_skill_use | Find and run a skill from the library |
glen_artifact_create / glen_artifact_search | Save or find a document |
Requests are capped at 4.5 MB, and organization membership is rechecked on every call, so removing someone from the org cuts off their client too. Client-specific notes are in Glen's MCP docs and on memorymcp.dev.
Adding recording later
An MCP connection is for reading memory; recording comes from the agent plugins. When you want coding-agent sessions in the store, rerun the installer and pick your agents, or run glen install --agent grok for Grok Build. Then glen import backfills old local sessions. The Claude and ChatGPT connectors behave like MCP here: they search the memory and never record chats.
Frequently asked questions
What is Glen's MCP server URL?
https://mcp.tryglen.com/mcp, over Streamable HTTP. Sign in with OAuth 2.1 or send a personal API key with your organization id in headers.
Does connecting over MCP record my conversations?
Not on its own. The Claude and ChatGPT connectors search memory without recording chats, and session recording comes from Glen's agent plugins.
How many tools does Glen's MCP server have?
22, including glen_search, glen_code_search, glen_forget, glen_restore, glen_import and the skill and artifact tools.