Skip to main content

Prerequisites

Step 1: Configure CORE MCP Server

Add the following to your Opencode configuration:
{
  "mcp": {
    "core-memory": {
      "type": "remote",
      "url": "https://core.heysol.ai/api/v1/mcp?source=Opencode",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      },
      "enabled": true
    }
  }
}

Step 2: Generate API Key

  1. Log in to your CORE dashboard at core.heysol.ai
  2. Navigate to SettingsAPI Key
  3. Click Generate new key
  4. Name it “opencode”
  5. Copy the generated API key
  6. Replace YOUR_API_KEY in the configuration above with your actual API key

Step 3: Verify Connection

Test your setup to ensure everything is working correctly:
  1. Test memory search: Ask Opencode: Can you search my memory for [something you've previously stored]?
  2. Check connection status: Verify that core-memory appears as enabled in your MCP configuration
  3. Test operations: Ask Opencode to store and retrieve information across sessions

Troubleshooting

Connection Issues:
  • Verify your API key is correct and not expired
  • Ensure the configuration is properly formatted and enabled is set to true
  • Restart Opencode after configuration changes
  • Check that you’re logged into your CORE account

Need Help?

Join our Discord community and ask questions in the #core-support channel. Our team and community members are ready to help you get the most out of CORE’s memory capabilities.