Skip to content
Agent Process
All agents

Connect VS Code

One block of settings gives VS Code your processes, the data and email templates you've allowed, and a way to wait for your approval.

Setup

  1. Get your address and an access token

    In your workspace, open Agents and create an access token. The page shows your exact MCP address and fills it, and the token, into these settings for you. Tokens are shown once, so keep yours somewhere safe.

  2. Add this to .vscode/mcp.json, then start the server from that file. VS Code asks for your access token and keeps it out of the file.

    Configuration
    {
      "inputs": [
        {
          "type": "promptString",
          "id": "process-flow-token",
          "description": "Agent Process access token",
          "password": true
        }
      ],
      "servers": {
        "process-flow": {
          "type": "http",
          "url": "https://<your-mcp-endpoint>/mcp",
          "headers": {
            "Authorization": "Bearer ${input:process-flow-token}"
          }
        }
      }
    }
  3. Check it's connected

    Ask VS Code: “What processes can you see?” It should list the published processes in your workspace. If it can't reach the server, check the address and that the token hasn't been revoked.

This setup is written from VS Code's own MCP documentation.