Call a tool in your IDE/MCP Client
Tools enable your AI agents to perform actions on your behalf. For specific workflows and use cases, this may involve calling tools from multiple servers. Arcade facilitates this by allowing you to create MCP Gateways to federate the tools from multiple MCP servers into a single collection for convenient management, control, and access. For example, if your agent specializes in solving specific tickets in Linear, you may want to use tools from the GitHub, Slack and Linear servers in your agent. These add up to 88 tools, which could be overwhelming for an LLM to use effectively. An lets you pick the for this workflow, and with Tool Recommendation on, your requests only the tools each task needs instead of loading all of them up front. You can connect the gateway to any MCP client, making it possible to port your agent to multiple platforms and IDEs, and even share it with other .
Outcomes
Create a coding agent using an Gateway to call tools from multiple .
You will Learn
- Create an Gateway with Recommendation
- Connect the Gateway to Cursor or VS Code
- Call tools from the Gateway in your
Prerequisites
- An Arcade
Create an MCP Gateway
Create a new Gateway. Go to the MCP Gateways dashboard , and click the “Create ” button.


Give your gateway:
- A name
- A description
- 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 Gateway
- Arcade Auth: To access the Gateway, you’ll need to authenticate with your Arcade 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 Gateway, you’ll need to authenticate with your Arcade account by passing an key in the
Authorizationheader and the ID in theArcade-User-IDheader. 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
Click the “Select ” button in the form to select the tools you want to include in the gateway. You can select tools from any server available to the active . For this example, select the following tools:
- the GitHub server
- the Linear server
Feel free to select any you want to include in your specific use case.


Once you’ve selected the tools you want to include in the gateway, click the “Use N tools” button in the picker.
Keep Tool Recommendations on
Leave the “ Recommendations” checkbox checked. It’s on by default for new gateways. With Tool Recommendations on, the gateway doesn’t send every tool definition to your agent. Instead, the agent describes each task and Arcade returns only the tools that task needs, so a large tool set doesn’t fill the model’s window. See Tool Recommendation for how it works.
Click the “Create Gateway” button to create the gateway.
If you turn Tool Recommendations off, the gateway lists every selected tool to your agent on every request. Some clients don’t handle a large number of tools well, and the definitions can consume a significant portion of the LLM’s context window. With Tool Recommendations off, keep the number of tools in a single Gateway below 80.
Connect the MCP Gateway to an MCP client
Arcade Gateways are compatible with any MCP client that supports:
- Streamable HTTP transport
- OAuth, or support for setting up headers for the HTTP transport
Get the URL of your Gateway by clicking the “Copy URL” button in the details page.


Select the client you want to use to read the instructions to connect to the :
Try it out
- Open your IDE’s chat pane.
- Ask the to do something! For example, “Check the latest linear issue assigned to me. Then, create a new GitHub branch, implement the fix, and add tests. If all the tests pass, create a pull request and assign it to me.”
As you interact with the agent, it will call the tools from the Gateway. With Tool Recommendations on, you’ll see the call Arcade_SelectTools to find the Linear and GitHub it needs, then Arcade_UseTool to run them. Your agent should prompt you to visit links to authorize access to Linear and GitHub. After this, it will start using tools to carry out the task! Subsequent calls will not require authorization.
Next Steps
- Learn more about MCP Gateways.
- Learn how Tool Recommendation works and when to turn it off.
- Learn how to use Gateways with:
- Build your own servers with arcade-mcp.