Cline Setup

Configure MemPad with the Cline VS Code extension for persistent AI memory.

Prerequisites

Installation

Cline supports Streamable HTTP MCP servers natively. Add MemPad to your Cline settings:

Step 1: Open Cline Settings

  1. Open VS Code Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  2. Search for "Cline: Open Settings"
  3. Navigate to the MCP Servers section

Step 2: Add MemPad Configuration

Add the following to your Cline MCP servers configuration:

{
  "mcpServers": {
    "mempad": {
      "url": "https://api.mempad.ai/mcp",
      "type": "streamableHttp"
    }
  }
}

Step 3: Save and Reload

Save the settings and reload VS Code to apply the configuration.

Authentication

OAuth authentication triggers automatically when Cline connects to MemPad:

  1. Start a conversation in Cline that uses MemPad
  2. A browser window opens for authentication
  3. Sign in with your MemPad email and password
  4. Approve the authorization request
  5. Return to VS Code - authentication complete!

Usage

Once configured, use these commands in your Cline conversations:

mp!

Load your memory into the conversation

mp:

Save the current context to your memory

Example

You: mp!
Cline: Memory loaded. You prefer Vue 3 with Composition API,
you're working on an e-commerce project, and you like detailed
code comments.

You: Add that I'm now using Pinia for state management
Cline: Updated! I've added Pinia to your preferences. mp:

Memory saved successfully.

Troubleshooting

MCP Server Not Connecting

Check that the type is set correctly:

  • Use "type": "streamableHttp" (case-sensitive)
  • Ensure the URL is exactly https://api.mempad.ai/mcp

Reload After Config Changes

After modifying MCP settings, always reload VS Code:

  1. Open Command Palette
  2. Run "Developer: Reload Window"

References

Next Steps