30% extra credits on top-ups within 24 hours of signup.

Connect VS Code to Hail over MCP

MCP support in VS Code is generally available. VS Code runs the OAuth sign-in. Copilot agent mode can then use the Hail tools.

Works in Copilot Chat, Agent Mode, and VS Code CLI.

Setup

1

Add Hail to VS Code

Add the Hail MCP server with the snippet below. Open the Command Palette, run MCP: Add Server, then select HTTP.

.vscode/mcp.json
{
  "servers": {
    "hail": {
      "type": "http",
      "url": "https://mcp.hail.so"
    }
  }
}
2

Approve access and send a test prompt

Reload the client. On first use, the client opens a browser tab. Sign in to Hail or create an account. Click Allow. Then send the prompt below. The setup works if Hail places the call or sends the message.

Copilot Chat (agent mode): "Use hail to email the on-call about the incident."

Notes

Key nameTop-level key is servers. mcpServers fails silently.
OAuthAutomatic on first start. Manage it in Accounts, then Manage Trusted MCP Servers.
ScopeGlobal, or Workspace via .vscode/mcp.json (shareable in git).
CLIcode --add-mcp '{"name":"hail","type":"http","url":"https://mcp.hail.so"}'
Org policyBusiness/Enterprise: an admin must enable the MCP servers policy.
PrivacyHail does not receive chat history. Hail receives only tool arguments.
ManageRevoke or manage this app at hail.so/console/apps.
Self-hostSet HAIL_API_KEY as the bearer. See docs/mcp.

Place your first call from VS Code

Self-host with your own carrier, or use a managed number from Hail.

Create accountRead the VS Code MCP docs