Skip to main content
Use VS Code when Fortress should be available to GitHub Copilot Agent mode.

Choose config location

VS Code MCP configuration can live in the user profile or in a workspace file:
.vscode/mcp.json
Use user-level config for personal bearer tokens. If you use workspace config, keep .vscode/mcp.json out of version control unless the token is replaced with a secure input variable.

Add Fortress

Generate a VS Code setup snippet in Fortress and paste it into mcp.json:
{
  "servers": {
    "fortress-agent": {
      "type": "http",
      "url": "https://api.fortressproductivity.com/mcp?agent_id=<agent-id>",
      "headers": {
        "Authorization": "Bearer ft_<token>"
      }
    }
  }
}
VS Code uses servers, not mcpServers, and HTTP servers require type: "http".

Verify

Open Copilot Chat, switch to Agent mode, enable the Fortress server in the tools picker, and ask Copilot to read fortress://workspace/overview. See VS Code’s MCP configuration reference.