Connect · IDE agent extension

Cline / Roo Code

AlwaysOn Memory connects to Cline / Roo Code (IDE agent extension) over Streamable HTTP MCP using a connection key in mcp_settings.json / .roo/mcp.json. Once connected, Cline / Roo Code can read, search, write, and hand off project memory across fresh sessions and other connected tools.

How do I connect Cline / Roo Code to AlwaysOn Memory?#

Connect Cline / Roo Code over Streamable HTTP MCP with your workspace URL (https://always-on.cloud/t/YOUR-WORKSPACE/mcp) and a workspace-scoped awm_ connection key in mcp_settings.json / .roo/mcp.json. Create the key under Setup or Connections, paste the config below, and reload Cline / Roo Code to load all 16 memory tools.

Cline / Roo Code
IDE agent extension Connection key
Transport
Streamable HTTP MCP (2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05)
Authentication
Workspace-scoped Bearer connection key (awm_...) in the Authorization header. Cursor and VS Code also support one-click browser OAuth 2.1.
Config location
mcp_settings.json / .roo/mcp.json
Universal OAuth URL
https://always-on.cloud/mcp
Workspace URL
https://always-on.cloud/t/YOUR-WORKSPACE/mcp
  1. Add AlwaysOn to Cline / Roo Code

    In Cline or Roo Code, open MCP Servers → Remote Servers (or edit mcp_settings.json / .roo/mcp.json).

    mcp_settings.json / .roo/mcp.json
    {
      "mcpServers": {
        "alwayson": {
          "type": "streamableHttp",
          "url": "https://always-on.cloud/t/YOUR-WORKSPACE/mcp",
          "headers": { "Authorization": "Bearer YOUR_CONNECTION_KEY" }
        }
      }
    }
  2. Load the memory tools in Cline / Roo Code

    Add the alwayson Streamable HTTP server below and save — Cline connects automatically.

How do I verify Cline / Roo Code recalls memory across sessions?#

Save one harmless decision, open a brand-new session so chat history is empty, and ask Cline / Roo Code to recall it. If it comes back accurately, the setup works—and the dashboard Setup screen logs the save, the new initialize handshake, and the retrieval.

  1. Save one test decision

    In Cline / Roo Code, ask: "Save to AlwaysOn memory as a project decision: we ship the smallest useful version first."

  2. Check recall in a fresh session

    Open a new chat or restart Cline / Roo Code, then ask: "Check AlwaysOn memory: what did we decide about the first release?"

  3. Confirm it in the dashboard

    Open Memory or Setup in AlwaysOn to see the saved memory page and the server-observed MCP events.

Optional terminal MCP initialize check
curl -fsS -X POST "https://always-on.cloud/t/YOUR-WORKSPACE/mcp" -H "Authorization: Bearer YOUR_CONNECTION_KEY" -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -d '{"jsonrpc":"2.0","id":"setup","method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"cline","version":"1.0"}}}' >/dev/null && echo "✓ AlwaysOn connection verified!"

How do I fix common Cline / Roo Code connection errors?#

Most Cline / Roo Code setup problems come down to four things: a mistyped or revoked connection key (HTTP 401), hitting the Free browser-approved app limit (HTTP 402), a wrong workspace slug (HTTP 403), or a session that hasn't reloaded mcp_settings.json / .roo/mcp.json yet.

Why does Cline / Roo Code get HTTP 401 from AlwaysOn Memory?

HTTP 401 means the connection key is missing, mistyped, or revoked. Create a new connection key under Connections in AlwaysOn, replace YOUR_CONNECTION_KEY in mcp_settings.json / .roo/mcp.json, and reload Cline / Roo Code.

Does Cline / Roo Code need a separate connection key for each repo?

No. One connection key connects Cline / Roo Code to your whole workspace, and you separate repos with the project parameter (for example project: "billing-api"). Every plan includes up to 25 active connection keys.

Why didn't Cline / Roo Code show AlwaysOn tools right after I edited mcp_settings.json / .roo/mcp.json?

Most editors and CLIs read MCP config only when a session starts. Reload the window, refresh the MCP panel, or open a new Cline / Roo Code session so it runs a fresh initialize and tools/list handshake.

Updated 2026-12-01 View as Markdown (.md)

Search AlwaysOn Memory Documentation

↑ ↓ navigate · ↵ open · Esc close Agents: /docs/mcp