# VS Code

> Add Geniffy to VS Code for GitHub Copilot and MCP extensions, in one click or with .vscode/mcp.json.

In VS Code, GitHub Copilot's agent and any extension that speaks MCP can use your Geniffy memory.

<p><a class="btn dark" href="vscode:mcp/install?%7B%22name%22%3A%22geniffy%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.geniffy.com%2Fmcp%22%7D">Install in VS Code</a></p>

### 1. Add the server


Use the button, run **MCP: Add Server** from the Command Palette, or add this to `.vscode/mcp.json` in your
workspace:

```json
{
  "servers": {
    "geniffy": {
      "type": "http",
      "url": "https://api.geniffy.com/mcp"
    }
  }
}
```

### 2. Start it and sign in


Start the server from the file or from the MCP servers list. VS Code asks to sign in: sign in to Geniffy and
press **Allow**.


## With an API key

Where signing in is not an option, VS Code can ask for a Geniffy API key once and send it as a header. The
key is stored by VS Code, not in the file:

```json
{
  "inputs": [
    { "type": "promptString", "id": "geniffy-key", "description": "Geniffy API key", "password": true }
  ],
  "servers": {
    "geniffy": {
      "type": "http",
      "url": "https://api.geniffy.com/mcp",
      "headers": { "Authorization": "Bearer ${input:geniffy-key}" }
    }
  }
}
```

Source: https://docs.geniffy.com/mcp/vscode
