> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# n8n Automation

> Use StackOne MCP in n8n workflows with the MCP Client Tool node for automated operations.

## Overview

[n8n](https://n8n.io/) provides MCP support through its MCP Client Tool node for workflow automation.

## Setup

### Step 1: Install MCP Client Tool

<Frame>
  <img src="https://mintcdn.com/stackone-60/vkUSFuOEDLocaA_J/images/mcp/client_n8n_mcp_tool.png?fit=max&auto=format&n=vkUSFuOEDLocaA_J&q=85&s=423a2d1b1f8ddf41aa0b0e8fde355f52" alt="" width="782" height="826" data-path="images/mcp/client_n8n_mcp_tool.png" />
</Frame>

In n8n, add the MCP Client Tool node to your workflow:

1. Create a new workflow
2. Click the **+** to add a node
3. Search for "MCP Agent"
4. Under tool click `+`
5. Search & select "MCP Client Tool"
6. Configure the node with
   * `https://api.stackone.com/mcp?x-account-id=<ACCOUNT_ID>` as your server url
   * Select `Header Auth` for `Authentication` (create new credentials if needed and set the header name to be `Authorization` and the value: `Basic <BASE64_STACKONE_API_KEY>` with the base64 encoded API key)
   * Select the tools you want to include from the `Tools to include` dropdown
7. Test via `Execute Step`

## Building Workflows

Once configured, you can create automation workflows using the MCP Client Tool node to execute actions on the StackOne linked account you specified in the server URL.

## Next Steps

<CardGroup cols={2}>
  <Card title="Framework Development" icon="code" href="/mcp/framework-guides/openai-agents-sdk">
    Create custom MCP tools
  </Card>

  <Card title="Claude Integration" icon="desktop" href="/mcp/app-guides/claude-desktop">
    Connect with Claude Desktop
  </Card>
</CardGroup>

***

For detailed n8n setup instructions, see the [official n8n documentation](https://docs.n8n.io/).
