← API reference

VS Code setup

Connect ziptie.ai to VS Code (with GitHub Copilot or another MCP-capable extension) so the AI can query your project data while you code.

Prerequisites

Configuration

VS Code reads MCP servers from a dedicated mcp.json file (not from settings.json) under the top-level key servers. Create one of:

Paste:

{
  "servers": {
    "ziptie": {
      "type": "http",
      "url": "https://api.ziptie.ai/mcp",
      "headers": {
        "Authorization": "Bearer zt_live_<your-token>"
      }
    }
  }
}

Replace zt_live_<your-token> with your actual token value. To avoid committing the token, use an input prompt:

{
  "inputs": [
    {"id": "ziptie_token", "type": "promptString", "password": true,
     "description": "ziptie.ai API token"}
  ],
  "servers": {
    "ziptie": {
      "type": "http",
      "url": "https://api.ziptie.ai/mcp",
      "headers": {"Authorization": "Bearer ${input:ziptie_token}"}
    }
  }
}

Start the server

After saving mcp.json, VS Code surfaces a Start code lens above the server entry. Click it (or run MCP: List Servers > ziptie > Start) to register the server. The ziptie.ai tools become available to Copilot Chat in agent mode.

Verify the connection

Open the Copilot Chat panel (or your MCP extension's interface) and ask:

"List my ziptie.ai prompts for project PROJECT_ID"

The extension will call the list_prompts tool and stream the results.

Troubleshooting

-32001 Unauthorized The token is expired or revoked. Create a new token and update the Authorization header in your settings. Read error.data.code for which of those it is; the HTTP status is 200 either way.

-32004 with data.code API_ADDON_INACTIVE or PAYMENT_REQUIRED The token is valid; the workspace is not entitled. API_ADDON_INACTIVE means the API & MCP access add-on is off - it lapsed, or the subscription was cancelled - and PAYMENT_REQUIRED means the subscription payment is overdue. Entitlement is checked before any tool runs, so the server fails to start and no tools reach Copilot Chat. Fix it in workspace billing settings; the token does not need replacing. See MCP overview.

Server not connecting Confirm the file is named mcp.json (not settings.json) and the root key is servers (not mcpServers). Third-party MCP-capable extensions (Continue, etc.) read their own config; check that extension's docs if you are not using Copilot Chat's built-in MCP client.

Tools visible but calls error The token scope may be insufficient for the requested tool. Write operations require write scope; delete operations require admin scope.