Shared memory for Cline
Cline is the open-source autonomous coding agent that lives in your editor and is willing to do real work, reading files, running commands, editing across a project under your approval. It supports MCP, letting you register servers it can call mid-task. The catch is the one every agent shares: Cline starts every task with no memory of what it, or a teammate's Cline, learned before. It re-derives the same constraints, rediscovers the same gotchas, and asks you the same questions. Glen, shared memory for AI agents, fixes that by giving every Cline in your organization a single shared memory they read from and write to.
Register Glen as an MCP server in Cline and the agent gains one tool that retrieves and records in the same round trip. Before Cline plans a change, it pulls the context relevant to the task, the patterns to follow, the commands that are safe, the things never to touch, so its autonomous steps are grounded in what your team already knows instead of in guesses. When it discovers something new while working, that fact is written back into the org's shared store.
Because Cline runs with a long leash, accurate accumulated context is what keeps its autonomy useful rather than risky: the more it knows about your system's real constraints, the better its unattended steps land. And because Glen is org-scoped, that knowledge is not trapped on one developer's machine. One person's Cline learns why a migration must run in a specific order, and the next teammate's Cline inherits it automatically. Glen works with any MCP client, so the memory Cline writes is also readable by your Cursor, VS Code, or Claude Code agents, the knowledge follows the work, not the tool. Setup is a single MCP server entry authenticated over OAuth or an API key.
Add Glen to Cline
Add to cline_mcp_settings.json
{
"mcpServers": {
"glen": {
"url": "https://tryglen.com/api/mcp",
"disabled": false,
"alwaysAllow": [],
"networkTimeout": 60000
}
}
}FAQ
- Can Cline call Glen during an autonomous task?
- Yes. Glen is a standard MCP server, so Cline can retrieve relevant context before it acts and write new facts back mid-task, all in one tool round trip.
- Does the memory stay on my machine?
- No. Glen memory is scoped to your organization and stored centrally, so every teammate's Cline, and any other MCP client they use, shares the same knowledge.