Use Arcade in Visual Studio Code
In this guide, you’ll learn how to connect Visual Studio Code to an Arcade Gateway.
Prerequisites
- Create an Arcade
- Get an Arcade API key
- Create an Arcade MCP Gateway and select the you want to use
Set up Visual Studio Code
- Download and open Visual Studio Code (version 1.100.0 or higher)
- Open the command palette and select : Add Server…
- Choose HTTP
- Paste the URL of your Gateway. You may see a warning about Dynamic Client Registration. You can ignore this.
- Give your server a name, like
mcp-arcade
- Add the as the bearer token within the
Authorization
header, and the email address that you used to sign up for the Arcade as theArcade-User-ID
header
Visual Studio Code will update your mcp.json
file, but you will manually need to add the headers above:
JSON
{
"servers": {
"mcp-arcade": {
"url": "https://api.arcade.dev/mcp/<YOUR-GATEWAY-SLUG>",
"type": "http",
"headers": {
"Authorization": "Bearer {arcade_api_key}",
"Arcade-User-ID": "{arcade_user_id}"
}
}
}
}
Last updated on