Mixedbread

VS Code

Learn how to set up the Mixedbread MCP server with Visual Studio Code.

Prerequisites

Before we configure VS Code, make sure you have the following:

Configuration

VS Code configures MCP servers via a configuration file named mcp.json.

  1. Open the configuration file

    From the Command Palette, run:

    MCP: Configure Servers

    This will open mcp.json for your current scope.

  2. Add a Mixedbread server entry

    Add the following to your mcp.json:

    {
      "servers": {
        "mixedbread": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote@latest",
            "https://www.mcp.mixedbread.com/api/mcp",
            "--header",
            "Authorization:${MXBAI_AUTH_HEADER}"
          ],
          "env": {
            "MXBAI_AUTH_HEADER": "Bearer YOUR_MIXEDBREAD_API_KEY"
          }
        }
      }
    }
    • command runs mcp-remote via npx.
    • args specify the Mixedbread MCP endpoint and authentication header.
    • env sets an environment variable with your API key.

    Replace YOUR_MIXEDBREAD_API_KEY with your actual key from the .

Enable and Use in Agent Mode

  1. Open Copilot Chat in Agent Mode.

  2. Select the Tools button and ensure Mixedbread is enabled.

  3. Test the connection with a simple command:

    Create a new store called "my-knowledge-base"

Now you can manage your Stores and perform Search directly from VS Code.

References

Last updated: March 5, 2026