Connect VS Code to Postwyre

VS Code connects with a key you make in Postwyre. It asks for the key once and keeps it, so the file holds no secret.

With a key

Set it up

  1. In Postwyre, make a key from the Connect your agent card on the Accounts screen. Postwyre shows it once. It starts with sk_live_.

  2. Put this in .vscode/mcp.json, or run the command MCP: Open User Configuration (MCP is the Model Context Protocol, how agents connect) for every project.

    {
      "inputs": [
        {
          "type": "promptString",
          "id": "postwyre-key",
          "description": "Postwyre API key",
          "password": true
        }
      ],
      "servers": {
        "postwyre": {
          "type": "http",
          "url": "https://postwyre.com/api/mcp",
          "headers": {
            "Authorization": "Bearer ${input:postwyre-key}"
          }
        }
      }
    }
  3. VS Code asks for your key the first time the server starts. Paste it there.

  4. Click Check connection in the Connect your AI panel, then start or reload your agent. The panel shows Connected once your agent reaches Postwyre.

Your agent can draft posts, schedule them for each platform and report how they did. Ask it to hold a post for approval and nothing goes out until a person in the brand approves it. The agent can ask for approval but cannot give it.

The same steps in the docs

Other agents

Names and logos are trademarks of their owners. Listing them implies no partnership or endorsement.

Start Postwyre, then connect VS Code

Your agent works in the brands you are in. It can read them as soon as it connects, and it can post once the brand has a plan.