ChatGPT Integration
Manual Setup Required
ChatGPT Custom GPTs cannot self-configure via agent link. Follow the steps below to set up manually.
Give any Custom GPT persistent memory powered by Mnemoverse. Same memory as Claude Code, Cursor, and every other tool.
How It Works
You → ChatGPT → GPT Action (HTTP) → core.mnemoverse.com
│
X-Api-Key: mk_live_xxxChatGPT calls the Mnemoverse API directly through GPT Actions. No middleware, no proxy. Your GPT stores and recalls memories using the same API key as your other tools.
Setup (5 minutes)
Step 1. Get Your API Key
Sign up at console.mnemoverse.com and create a free API key. It starts with mk_live_.
If you already have a key from Claude Code or Cursor — use the same one. That's the point.
Step 2. Create a Custom GPT
- In chatgpt.com (logged in, ChatGPT Plus or Team), open the side menu → My GPTs → Create a GPT (direct URL:
chatgpt.com/gpts/editor, login-required, opens after step 2's "Create a GPT" button) - Click Create a GPT
Step 3. Configure Actions
- Scroll down to Actions → Create new action
- Set Authentication:
- Type: API Key
- API Key: paste your
mk_live_YOUR_KEY - Auth Type: Custom
- Custom Header Name:
X-Api-Key
- In the Schema box, click Import from URL and paste:
https://mnemoverse.com/docs/openapi-gpt.yamlYou should see 4 actions appear: writeMemory, readMemory, giveFeedback, getMemoryStats.
Step 4. Set the System Prompt
Paste this into the Instructions field (customize to your needs):
You have persistent long-term memory via Mnemoverse.
RULES:
1. BEFORE answering any question about preferences, past decisions, project
setup, people, or anything that might have been discussed before — call
readMemory first.
2. When the user shares a preference, makes a decision, teaches you something,
or tells you something important — call writeMemory immediately. Don't wait
to be asked.
3. After using memories to answer a question, call giveFeedback to report
whether they were helpful (1.0) or not (-1.0).
4. Your memory persists across sessions and across tools. What you learn here
is available in Claude Code, Cursor, and everywhere else.
WHAT TO REMEMBER:
- Preferences ("I prefer Railway over Heroku")
- Decisions ("We chose PostgreSQL for this project")
- Lessons ("Exponential backoff fixed the timeout issue")
- People ("Alice owns the design system")
- Project context ("Deploy target is staging.example.com")
WHAT NOT TO REMEMBER:
- Trivial small talk
- Temporary context ("open this file")
- Information already in the current conversationStep 5. Test It
Say to your GPT:
"Remember that I always deploy to Railway using
railway up"
The GPT calls writeMemory. Then start a new conversation and ask:
"How do I deploy?"
The GPT calls readMemory and recalls your preference. Same memory, new session.
Cross-Tool Proof
The real magic: this memory is shared with every other tool.
- In Claude Code: "Remember that the staging URL is staging.acme.com"
- In ChatGPT: "What's the staging URL?"
- ChatGPT recalls it. One memory, everywhere.
┌── Claude Code (MCP)
├── Cursor (MCP)
Mnemoverse API ──├── VS Code (MCP)
(one memory) ├── ChatGPT (Actions) ← you are here
├── Python SDK
└── REST APIAvailable Actions
Your GPT gets 4 actions:
| Action | What it does |
|---|---|
writeMemory | Store a preference, decision, or lesson |
readMemory | Search memories by natural language query |
giveFeedback | Report if a memory was helpful (+1) or wrong (-1) |
getMemoryStats | Check how many memories are stored |
These are the same operations available in Claude Code, Cursor, and the Python SDK — just exposed through GPT Actions.
Tips
Make it proactive. The system prompt tells the GPT to store memories without being asked. This is key — users won't say "remember this", they'll just state preferences.
Use domains. If your GPT serves a specific project, add "domain": "project:acme" to writes and reads. This keeps memories organized.
Feedback matters. The giveFeedback action trains the memory system. Memories that get positive feedback rank higher in future searches. Over time, the most useful memories surface first.
Limitations
- GPT Actions have a timeout (~30 seconds). Mnemoverse responds in <200ms, so this is never an issue.
- ChatGPT may not call actions on every turn. The system prompt guides it, but GPT-4 is better at following action instructions than GPT-3.5.
- Rate limits apply per API key. Free tier: 1,000 queries/day. Upgrade for more.
OpenAPI Spec
The full spec is at /openapi-gpt.yaml. It defines 4 endpoints:
POST /memory/write— store a memoryPOST /memory/read— search memoriesPOST /memory/feedback— rate usefulnessGET /memory/stats— memory statistics
This is a curated subset of the full API. For batch operations, consolidation, and advanced queries, use the REST API or Python SDK directly.
Related
- Claude Code & Desktop — Claude integrations
- Cursor, VS Code & Windsurf — editor integrations
- Python SDK — for scripts and backends
- API Reference — full endpoint documentation
- Getting Started — first API call in 2 minutes