> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getcore.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Copilot CLI

> Connect GitHub Copilot CLI to CORE's memory system via MCP

### Prerequisites

* GitHub Copilot CLI installed
* CORE account (sign up at [app.getcore.me](https://app.getcore.me))

### Step 1: Configure CORE MCP Server

Add the following to your `~/.copilot/mcp-config.json` file:

```json theme={null}
{
  "mcpServers": {
    "core": {
      "type": "http",
      "url": "https://app.getcore.me/api/v1/mcp?source=Copilot-CLI",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
```

### Step 2: Generate API Key

1. Log in to your CORE dashboard at [app.getcore.me](https://app.getcore.me)
2. Navigate to **Settings** → **API Key**
3. Click **Generate new key**
4. Name it "copilot-cli"
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 Copilot CLI: `Can you search my memory for [something you've previously stored]?`

2. **Check connection status**: Verify that core appears in your MCP servers list

3. **Test operations**: Ask Copilot CLI to store and retrieve information across sessions

## Troubleshooting

**Connection Issues:**

* Verify your API key is correct and not expired
* Ensure the mcp-config.json file is properly formatted
* Restart Copilot CLI after configuration changes
* Check that you're logged into your CORE account

### Need Help?

Join our [Discord community](https://discord.gg/dVTC3BmgEq) 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.
