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
18 changes: 12 additions & 6 deletions app/en/get-started/quickstarts/call-tool-client/page.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
```mdx
---
title: "Call a tool in your IDE/MCP Client"
description: "Learn how to call a tool in your IDE/MCP Client"
---

<!-- Editorial: Structure - Added intro line conforming to tutorial structure; Voice and Tone - Changed "you may want to" to direct language -->

import { Steps, Tabs, Callout } from "nextra/components";
import { SignupLink } from "@/app/_components/analytics";
import Image from "next/image";
Expand All @@ -24,7 +27,9 @@ export const MCP_GATEWAY_URL_LIGHT_HEIGHT = 498;

# 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 MCP 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. What you want is to get from these servers only the tools that matter for your agent. An MCP Gateway allows you to do just that: pick only the tools required for this workflow, and you can connect it to any MCP client, making it possible to port your agent to multiple platforms and IDEs, and even share it with other users.
You'll learn how to create an MCP Gateway to call tools from multiple MCP servers in your IDE.

Tools enable your AI agents to perform actions on your behalf. For specific workflows and use cases, this involves calling tools from multiple MCP 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, 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. Get from these servers only the tools that matter for your agent. An MCP Gateway allows you to do just that: pick only the tools required for this workflow, and you can connect it to any MCP client, making it possible to port your agent to multiple platforms and IDEs, and even share it with other users.

<GuideOverview>
<GuideOverview.Outcomes>
Expand Down Expand Up @@ -73,7 +78,7 @@ Give your MCP 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)
- A slug (using a slug is straightforward to remember and share, but the system will generate one 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.
Expand Down Expand Up @@ -105,7 +110,7 @@ Feel free to select any tools 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 tool picker, and then click the "Create MCP Gateway" button to create the gateway.

<Callout type="info">
You can select as many tools for your MCP Gateway as you want, but be mindful of how the MCP clients will handle the large number of tools. Some clients may not handle a large number of tools well, and may consume a significant portion of the LLM's context window. We recommend keeping the number of tools in a single MCP Gateway below 80.```
You can select as many tools for your MCP Gateway as you want, but be mindful of how the MCP clients will handle the large number of tools. Some clients may not handle a large number of tools well, and may consume a significant portion of the LLM's context window. Keeping the number of tools in a single MCP Gateway below 80 is recommended.```
</Callout>

### Connect the MCP Gateway to an MCP client
Expand Down Expand Up @@ -139,13 +144,14 @@ Select the MCP client you want to use to read the instructions to connect to the
### Try it out

1. Open your IDE's chat pane.
1. Ask the agent 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."
1. Ask the agent 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 MCP Gateway. 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.
As you interact with the agent, it will call the tools from the MCP Gateway. 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.

</Steps>

## Next Steps
## Next steps

- Learn more about [MCP Gateways](/guides/create-tools/mcp-gateways).
- Build your own MCP servers with [arcade-mcp](/get-started/quickstarts/mcp-server-quickstart).
```