Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 8 additions & 38 deletions app/en/get-started/quickstarts/call-tool-client/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ description: "Learn how to call a tool in your IDE/MCP Client"
import { Steps, Tabs, Callout } from "nextra/components";
import { SignupLink } from "@/app/_components/analytics";
import Image from "next/image";
import { MCPClientGrid } from "@/app/en/guides/tool-calling/mcp-clients/mcp-client-grid";

export const IMAGE_SCALE_FACTOR = 2;
export const CREATE_MCP_GATEWAY_DARK_WIDTH = 921;
Expand Down Expand Up @@ -72,7 +73,10 @@ Give your MCP gateway:

- A name
- A description
- A slug (optional: recommended for shareability, but auto-generates if left blank)
- A slug (this is recommended so it's easy to remember and share, but will be generated if left blank)
- Select the Authentication mode for the MCP Gateway
- **Arcade Auth**: To access the MCP Gateway, you'll need to authenticate with your Arcade account in an OAuth flow on a browser. For security, the token is only valid for a short time and your MCP client will need to refresh it periodically.
- **Arcade Headers**: To access the MCP Gateway, you'll need to authenticate with your Arcade account by passing an Arcade API key in the `Authorization` header and the user ID in the `Arcade-User-ID` header. Use this authentication mode for MCP clients that don't support browser authentication or token refresh.

### Select the tools you want to include in the gateway

Expand Down Expand Up @@ -128,40 +132,9 @@ Get the URL of your MCP Gateway by clicking the "Copy URL" button in the MCP Gat
height={MCP_GATEWAY_URL_DARK_HEIGHT / IMAGE_SCALE_FACTOR}
/>

<Tabs items={["Cursor", "VS Code"]} storageKey="preferredAgent">
<Tabs.Tab>

1. Open the command palette (Mac: Cmd + Shift + p / Windows: Ctrl + Shift + p) and select **Open MCP Settings**
1. Click on the **New MCP Server** button

Cursor will open the MCP settings file, and you can add a new entry to the `mcpServers` object:

```json
{
"mcpServers": {
"mcp-arcade": {
"url": "https://api.arcade.dev/mcp/<YOUR-GATEWAY-SLUG>",
"headers": {
"Authorization": "Bearer {arcade_api_key}",
"Arcade-User-ID": "{arcade_user_id}"
}
}
}
}
```

</Tabs.Tab>
<Tabs.Tab>

1. Open the command palette (Mac: Cmd + Shift + p / Windows: Ctrl + Shift + p) and select **MCP: Add Server...**
1. Choose **HTTP**
1. Paste the URL of your MCP Gateway.
1. Give your MCP server a name, like `mcp-arcade`
1. Visual Studio Code will update your `mcp.json` file.
1. Either in the `mcp.json` file or in the "Extensions" > "MCP Servers - Installed" pane, click the "Start" button next to your MCP server and follow the prompts to authenticate.

</Tabs.Tab>
</Tabs>
Select the MCP client you want to use to read the instructions to connect to the MCP Gateway:

<MCPClientGrid />

### Try it out

Expand All @@ -175,7 +148,4 @@ As you interact with the agent, it will call the tools from the MCP Gateway. You
## Next Steps

- Learn more about [MCP Gateways](/guides/create-tools/mcp-gateways).
- Learn how to use MCP Gateways with:
- [Cursor](/guides/tool-calling/mcp-clients/cursor)
- [Visual Studio Code](/guides/tool-calling/mcp-clients/visual-studio-code)
- Build your own MCP servers with [arcade-mcp](/get-started/quickstarts/mcp-server-quickstart).