VS Code + GitHub Copilot

Add Memcone memory to GitHub Copilot Chat in VS Code.

Requires: VS Code 1.99 or later · GitHub Copilot extension · Copilot Chat enabled


Run this in your project directory:

bash
npx @memcone/cli link
npx @memcone/cli link

link detects VS Code, writes .vscode/mcp.json, and scopes memory to your project automatically. Reload VS Code and you're done.

You need a Memcone API key from dashboard → API keys. The CLI will prompt for it on first run and save it to ~/.memcone/credentials.


Manual config

If you prefer to configure manually, create .vscode/mcp.json in your project root:

json
{
  "servers": {
    "memcone": {
      "type": "http",
      "url": "https://memcone.com/api/mcp",
      "headers": {
        "Authorization": "Bearer mem_live_YOUR_KEY_HERE"
      }
    }
  }
}
{
  "servers": {
    "memcone": {
      "type": "http",
      "url": "https://memcone.com/api/mcp",
      "headers": {
        "Authorization": "Bearer mem_live_YOUR_KEY_HERE"
      }
    }
  }
}

For a personal config (not committed to the repo), open the Command Palette and run MCP: Open User Configuration, then paste the same JSON.


Enable in Copilot Chat

  1. Open Copilot Chat — Cmd+Shift+I (Mac) or Ctrl+Alt+I (Windows/Linux)
  2. Click the Tools button at the bottom of the chat input
  3. Confirm memcone appears and is toggled on

If Memcone doesn't appear, reload the window (Cmd+Shift+PDeveloper: Reload Window).


Using it

Copilot calls Memcone automatically at the start of relevant tasks. You can also prompt directly:

"What do you know about my stack?"

"Remember that we use pnpm and Drizzle in this project."

| Tool | When Copilot uses it | |---|---| | memcone.context | Start of any coding task | | memcone.remember | When you share a preference or decision | | memcone.recall | When you reference a past session |


Troubleshooting

Memcone doesn't appear in the Tools list → Confirm VS Code is 1.99+. Reload the window after saving the config.

401 Unauthorized → Verify your key at dashboard → API keys. It must start with mem_live_.

Tools appear but return no memory → Nothing is stored yet. Ask Copilot to remember something first, or check dashboard → Memory.