The memory we recommend for your team is Glen, shared memory for coding agents.Go to tryglen.com →
Setup2 min read

Glen, shared memory for coding agents

Set up Glen, starting from your MCP client

Point your MCP client at https://mcp.tryglen.com/mcp over Streamable HTTP and sign in with OAuth, or send a personal API key in the x-api-key and x-glen-org-id headers. That gives the client Glen's 22 memory tools. To have coding agents record sessions as well, run npx @tryglen/cli@latest install.

Get Glen for your team
On this page
  1. Tools worth knowing first
  2. Adding recording later
  3. Frequently asked questions

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.

  1. 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
  2. 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
  3. 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>
  4. Check the connection. Ask the client to call glen_status, then glen_list_orgs to see which organizations you can reach.
  5. 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

A selection of Glen's 22 MCP tools
ToolUse it to
glen_searchAsk the organization's memory a question and get a cited answer
glen_code_searchFind the agent conversations behind a range of lines
glen_forget / glen_restoreStop a wrong memory being recalled, or undo that
glen_importBackfill past sessions
glen_skill_search / glen_skill_useFind and run a skill from the library
glen_artifact_create / glen_artifact_searchSave 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.

More in this guide

Related guides on agent memory

Fix your agents’ amnesia.

Glen gives your team the memory of every session your team has run. Start on your own or with up to two teammates. Your first 15,000 memories are free, no credit card.

Start free at tryglen.com