Skip to main content
Get from zero to a successful retrieve_memory call. Choose the path that matches your client.

Prerequisites

Before you begin:
  • A PAM account with at least one connected memory source
  • Memory readiness in Ready state (see Memory MCP in the PAM app)
  • An MCP-compatible client

Desktop agents (Cursor, Claude Code, VS Code)

1

Generate an agent API key

Open Setup, choose Desktop app or script, and click Generate key.Copy the full key when shown — you cannot view the secret again after leaving the page. Keys use the format pam_mkey_<key>.
2

Add the MCP server to your client

Paste this configuration into your MCP client settings. Replace the placeholder with your full key.
See Client setup → Desktop agents → Cursor (or Claude Code / VS Code tabs) for platform-specific steps.
3

Add agent instructions

Add this snippet to your agent system prompt so it knows when to retrieve memory:
4

Run a hello world prompt

Ask your agent:
Your agent should call retrieve_memory with your prompt. A successful call marks your key as MCP verified on Setup.

Browser LLM connectors (ChatGPT, Claude web)

1

Copy your MCP server URL

Open Setup, choose Web browser LLM, and copy the MCP server URL.
2

Add a custom connector

In ChatGPT or Claude web, add a custom MCP connector and paste the URL. No OAuth client ID is required — the connector registers via DCR automatically.Follow Client setup → Browser LLM → ChatGPT, Claude web, or Perplexity. No OAuth client ID is required when discovery is enabled.
3

Approve access in PAM

Sign in to PAM if prompted, then click Approve on the consent screen (e.g. “chatgpt.com will be able to read your PAM memory.”).Cancel returns you to the browser LLM without granting access.
4

Run a hello world prompt

Ask your browser LLM the same hello world question as above and confirm the call appears in Request Log.
Setup complete when your agent returns company context from a successful retrieve_memory call.
Need the full protocol reference? See MCP reference and retrieve_memory.