Creative-Systems-Engineering/oracle-mcp-memory
If you are the rightful owner of oracle-mcp-memory and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Oracle MCP Memory Server is a cutting-edge solution for persistent AI memory, leveraging Oracle Cloud's robust infrastructure to ensure seamless and reliable memory operations across devices.
Oracle MCP Memory Server
š Enterprise-Grade AI Memory with Oracle Cloud
A revolutionary Model Context Protocol (MCP) memory server that provides persistent, cloud-backed AI memory using Oracle Object Storage. Never lose your AI context again - work seamlessly across devices with enterprise-grade reliability.
š File Structure
oracle-mcp-memory/
āāā oracle-memory-server.js # Custom MCP memory server with built-in Oracle sync
āāā package.json # Node.js dependencies for MCP server
āāā package-lock.json # Locked dependency versions
āāā README.md # This documentation
š Quick Start (5 Minutes)
š SECURITY NOTICE: You MUST create your own Oracle Cloud account and storage bucket. Do NOT use URLs from this documentation - they are examples only!
š Security Checklist: Review for complete security guidelines before you start.
Step 1: Clone & Install
git clone https://github.com/Creative-Systems-Engineering/oracle-mcp-memory.git
cd oracle-mcp-memory
npm install
Step 2: Get Free Oracle Cloud Storage
- Sign up at Oracle Cloud Free Tier
- Create bucket in Object Storage
- Generate pre-authenticated URL (valid for 1 year)
- Copy the URL - you'll need it for configuration
š” Detailed Oracle setup guide: See for complete step-by-step instructions with screenshots.
š§ VS Code setup guide: See for full configuration instructions.
Step 3: Configure VS Code MCP
Edit your MCP config file:
- Linux:
~/.config/Code/User/mcp.json
- macOS:
~/Library/Application Support/Code/User/mcp.json
- Windows:
%APPDATA%\Code\User\mcp.json
{
"mcpServers": {
"memory": {
"type": "stdio",
"command": "node",
"args": ["/full/path/to/oracle-memory-server.js"],
"env": {
"ORACLE_BASE_URL": "https://objectstorage.region.oraclecloud.com/p/YOUR-ACTUAL-TOKEN/n/YOUR-NAMESPACE/b/YOUR-BUCKET/o/",
"MEMORY_FILE_PATH": "/full/path/to/local-backup/copilot-memory.json"
}
}
}
}
ā ļø REPLACE PLACEHOLDER VALUES: The URL above is an example. You must replace
YOUR-ACTUAL-TOKEN
,YOUR-NAMESPACE
, andYOUR-BUCKET
with values from YOUR Oracle account.
Step 4: Test It Works
- Restart VS Code
- Create a memory: Ask Copilot to remember something
- Check Oracle Console - you should see
copilot-memory.json
in your bucket - Multi-device test: Access the same memory from another VS Code instance
š Done! Your AI now has persistent, cloud-backed memory that survives across sessions, devices, and VS Code reinstalls.
š Why Oracle Cloud?
Oracle Cloud offers the most generous free tier for AI memory storage:
š Always Free Benefits
- 20GB Object Storage - Never expires, no credit card expiration worries
- 20,000 API requests/month - More than enough for AI memory operations
- 10TB egress/month - Massive bandwidth allowance
- Global availability - 44 regions worldwide
- Enterprise SLA - 99.95% uptime guarantee
š Compared to Alternatives
Provider | Free Storage | Expires? | API Limits | Enterprise Grade |
---|---|---|---|---|
Oracle | 20GB | Never | 20K/month | ā Yes |
Google Drive | 15GB | Never | 100/day | ā No |
Dropbox | 2GB | Never | 120/hour | ā No |
AWS S3 | 5GB | 12 months | 2K/month | ā Yes |
Azure Blob | 5GB | 12 months | Limited | ā Yes |
š Enterprise Security
- Pre-authenticated URLs - Secure, time-limited access
- Object versioning - Recover from accidental changes
- Encryption at rest - Your data is always encrypted
- Audit logging - Track all access patterns
- GDPR compliant - Meets international data protection standards
āļø How It Works
- Native Integration:
oracle-memory-server.js
replaces the standard MCP memory server - Automatic Sync: Every memory read loads from Oracle Cloud, every write saves to Oracle Cloud
- Transparent Operation: VS Code uses this exactly like normal memory but with cloud backing
- Enterprise Storage: 20GB Oracle Object Storage with pre-authenticated URLs
- Zero Maintenance: No external scripts, services, or manual sync required
š§ Configuration
MCP Configuration (~/.config/Code - Insiders/User/mcp.json
):
{
"memory": {
"type": "stdio",
"command": "node",
"args": ["/path/to/oracle-memory-server.js"],
"env": {
"MEMORY_FILE_PATH": "/path/to/local/memory/copilot-memory.json",
"ORACLE_BASE_URL": "https://your-oracle-bucket-url/o/"
}
}
}
Oracle Object Storage:
- Bucket: Your Oracle Cloud bucket name
- Storage: 20GB free tier
- Authentication: Pre-authenticated URLs
- Object:
copilot-memory.json
šļø Memory Location
- Local Backup: Configurable local path
- Cloud Primary: Oracle Object Storage bucket
š Evolution Journey
This solution evolved through 5 phases:
- Google Drive API (failed - OAuth complexity)
- Supabase PostgreSQL (race conditions)
- Bidirectional Sync (file corruption issues)
- Dropbox Manual (working but limited)
- Oracle Native (current - optimal solution)
ā Benefits
- ā Enterprise reliability with Oracle Cloud infrastructure
- ā Native MCP integration - no external processes
- ā Automatic sync on every memory operation
- ā 20GB storage for unlimited memory growth
- ā Zero maintenance required
- ā Atomic operations eliminate race conditions
- ā Fallback safety with local file backup
š¤ Multi-Agent AI Integration
Revolutionary shared memory network - your Oracle MCP Memory Server can serve as the central intelligence hub for multiple AI agents:
š Agent-Zero Integration
- Shared consciousness across different AI systems
- Agent-Zero learns from VS Code Copilot experiences and vice versa
- Cross-platform intelligence that follows you everywhere
- Collective learning where AI agents teach each other
š Agent-Zero Setup: See for complete integration guide
š Multi-Agent Scenarios
- Code Development: Agent-Zero analyzes requirements ā Copilot writes code ā shared learnings
- Research Pipeline: Agent-Zero researches ā Copilot documents ā universal knowledge base
- Cross-Device Tasks: Mobile AI creates tasks ā Agent-Zero executes ā Copilot assists ā all agents remember
This creates a shared AI consciousness where every AI interaction contributes to a growing, persistent intelligence network.
š Acknowledgments
This project was born from real frustration with AI context loss and evolved through collaborative problem-solving:
- Original Vision & Persistence: [Your GitHub Username] - identified the problem, drove iteration through multiple approaches, and envisioned the Agent-Zero integration
- Technical Implementation: GitHub Copilot - helped translate ideas into working code and documentation
- Community Inspiration: Oracle Cloud's generous free tier, MCP protocol innovation, and Agent-Zero's dynamic agent framework
"I have no idea what I'm doing..." ā Revolutionary AI memory system š
Sometimes the best innovations come from admitting we don't know everything and iterating until we find something that works!
šÆ Status: Production Ready
This system is actively running and automatically syncing all memory operations to Oracle Cloud. No further maintenance or external scripts are required.