Skip to main content Announcing Tool Policies: AI agent permissions down to the field Read the announcement
Live 175 Actions

n8n MCP Server
for AI Agents

Connect your AI agent to StackOne's n8n MCP server and give it 175 MCP tools out of the box. Auth, tool execution, and security all managed.

n8n logo
n8n MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

Coverage

175 Agent Actions

Agents can read, write, delete and run operations in n8n. Extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your n8n MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every n8n tool response scanned for prompt injection in milliseconds, with 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every n8n call.

Tools Discovery →

What is the n8n MCP Server?

A n8n MCP server lets AI agents read and write n8n data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's n8n MCP server ships with 175 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All n8n MCP Tools

Every StackOne action for n8n, ready for your agent. Read, write, delete and run operations, scoped to exactly what you need.

Community Packages

  • List Community Packages

    List installed community packages in n8n.

  • Update Community Package

    Update a community package in n8n.

Credentials

  • Create Credential

    Create a credential in n8n.

  • List Credentials

    List credentials in n8n.

  • Get Credential

    Get credential by ID in n8n.

  • Update Credential

    Update credential by ID in n8n.

  • Delete Credential

    Delete credential by ID in n8n.

Credential Type Policy Documents

  • Create Credential Type Policy Document

    Create a credential type policy document in n8n.

  • List Credential Type Policy Documents

    List credential type policy documents in n8n.

  • Get Credential Type Policy Document

    Retrieve a credential type policy document in n8n.

  • Update Credential Type Policy Document

    Replace the rules of a credential type policy document in n8n.

  • Delete Credential Type Policy Document

    Delete a credential type policy document in n8n.

Data Tables

  • Create Data Table

    Create a new data table in n8n.

  • List Data Tables

    List all data tables in n8n.

  • Get Data Table

    Get a data table in n8n.

  • Update Data Table

    Update a data table in n8n.

  • Delete Data Table

    Delete a data table in n8n.

Data Table Columns

  • Create Data Table Column

    Add a column to a data table in n8n.

  • List Data Table Columns

    List columns of a data table in n8n.

  • Update Data Table Column

    Update a column in n8n.

  • Delete Data Table Column

    Delete a column in n8n.

Data Table Rows

  • Create Data Table Rows

    Insert rows into a data table in n8n.

  • List Data Table Rows

    List rows of a data table in n8n.

  • Update Data Table Rows

    Update rows in a data table in n8n.

  • Delete Data Table Rows

    Delete rows from a data table in n8n.

Executions

  • List Executions

    Retrieve all executions in n8n.

  • Get Execution

    Retrieve an execution in n8n.

  • Delete Execution

    Delete an execution in n8n.

Execution Tags

  • List Execution Tags

    List the annotation tags on an n8n execution.

  • Update Execution Tags

    Replace the annotation tags on an n8n execution.

Folders

  • Create Folder

    Create a folder in n8n.

  • List Folders

    Retrieve folders in n8n.

  • Get Folder

    Get folder details in n8n.

  • Update Folder

    Update a folder in n8n.

  • Delete Folder

    Delete a folder in n8n.

Unified Groups

  • List Unified Groups

    List unified groups in an n8n instance.

  • Get Unified Group

    Get a unified n8n group by ID.

Unified Roles

  • List Unified Roles

    List unified roles in an n8n instance.

  • Get Unified Role

    Get a unified n8n role by ID.

Unified Users

  • List Unified Users

    List unified users in an n8n instance.

  • Get Unified User

    Get a unified n8n user by ID.

Log Streaming Destinations

  • Create Log Streaming Destination

    Create a log streaming destination in n8n.

  • List Log Streaming Destinations

    List log streaming destinations in n8n.

  • Get Log Streaming Destination

    Retrieve a log streaming destination in n8n.

  • Update Log Streaming Destination

    Update a log streaming destination in n8n.

  • Delete Log Streaming Destination

    Delete a log streaming destination in n8n.

Node Type Policy Documents

  • Create Node Type Policy Document

    Create a node type policy document in n8n.

  • List Node Type Policy Documents

    List node type policy documents in n8n.

  • Get Node Type Policy Document

    Retrieve a node type policy document in n8n.

  • Update Node Type Policy Document

    Replace the rules of a node type policy document in n8n.

  • Delete Node Type Policy Document

    Delete a node type policy document in n8n.

N8n Packages

  • Import N8n Package

    Import an n8n package into a project.

  • Export N8n Package

    Export agents, workflows, folders, or projects as an n8n package.

Projects

  • Create Project

    Create a project in n8n.

  • List Projects

    List projects in an n8n instance.

  • Update Project

    Update a project in n8n.

  • Delete Project

    Delete a project in n8n.

Project Members

  • Add Project Members

    Add one or more users to a project in n8n.

  • List Project Members

    List the members of an n8n project with their project role.

  • Remove Project Member

    Delete a user from a project in n8n.

Promotion Providers

  • Create Promotion Provider

    Create a promotion provider in n8n.

  • List Promotion Providers

    List promotion providers in n8n.

  • Get Promotion Provider

    Retrieve a promotion provider in n8n.

  • Update Promotion Provider

    Update a promotion provider in n8n.

  • Delete Promotion Provider

    Delete a promotion provider in n8n.

Promotion Connections

  • Create Promotion Connection

    Create a promotion connection in n8n.

  • List Promotion Connections

    List promotion connections in n8n.

  • Get Promotion Connection

    Retrieve a promotion connection in n8n.

  • Update Promotion Connection

    Update a promotion connection in n8n.

  • Delete Promotion Connection

    Delete a promotion connection in n8n.

Role Mapping Rules

  • Create Role Mapping Rule

    Create a role-mapping rule in n8n.

  • List Role Mapping Rules

    Retrieve role-mapping rules in n8n.

  • Update Role Mapping Rule

    Update a role-mapping rule in n8n.

  • Move Role Mapping Rule

    Move a role-mapping rule in n8n.

  • Delete Role Mapping Rule

    Delete a role-mapping rule in n8n.

Roles

  • Create Role

    Create a custom role in n8n.

  • List Roles

    List global and project roles in an n8n instance.

  • Get Role

    Get an n8n role by slug.

  • Update Role

    Update a custom role in n8n.

  • Delete Role

    Delete a custom role in n8n.

LDAP Configurations

  • Get LDAP Configuration

    Retrieve the LDAP configuration in n8n.

  • Update LDAP Configuration

    Set the LDAP configuration in n8n.

Otel Settings

  • Get Otel Settings

    Retrieve the OpenTelemetry configuration in n8n.

  • Update Otel Settings

    Set the OpenTelemetry configuration in n8n.

Security Policys

  • Get Security Policy

    Retrieve the security policy in n8n.

  • Update Security Policy

    Set the security policy in n8n.

OIDC Configurations

  • Get OIDC Configuration

    Retrieve the OIDC SSO configuration in n8n.

  • Update OIDC Configuration

    Set the OIDC SSO configuration in n8n.

SAML Configurations

  • Get SAML Configuration

    Retrieve the SAML SSO configuration in n8n.

  • Update SAML Configuration

    Set the SAML SSO configuration in n8n.

Tags

  • Create Tag

    Create a tag in n8n.

  • List Tags

    Retrieve all tags in n8n.

  • Get Tag

    Retrieves a tag in n8n.

  • Update Tag

    Update a tag in n8n.

  • Delete Tag

    Delete a tag in n8n.

Test Runs

  • Create Test Run

    Trigger a test run in n8n.

  • List Test Runs

    Retrieve test runs in n8n.

  • Get Test Run

    Retrieve a test run in n8n.

Users

  • Create User

    Create multiple users in n8n.

  • List Users

    List users in an n8n instance.

  • Get User

    Get an n8n user by ID or email.

  • Delete User

    Delete user in n8n.

Variables

  • Create Variable

    Create a variable in n8n.

  • List Variables

    Retrieve variables in n8n.

  • Update Variable

    Update a variable in n8n.

  • Delete Variable

    Delete a variable in n8n.

Workflows

  • Create Workflow

    Create a workflow in n8n.

  • Publish Workflow

    Publish a workflow in n8n.

  • List Workflows

    Retrieve all workflows in n8n.

  • Get Workflow

    Retrieve a workflow in n8n.

  • Update Workflow

    Update a workflow in n8n.

  • Delete Workflow

    Delete a workflow in n8n.

Workflow Versions

  • List Workflow Versions

    Retrieve workflow version history in n8n.

  • Get Workflow Version

    Retrieve a workflow version in n8n.

Workflow Tags

  • List Workflow Tags

    Get workflow tags in n8n.

  • Update Workflow Tags

    Update tags of a workflow in n8n.

Other (59)

  • Import N8n Package Selection

    Import a selected subset of workflows from an n8n package.

  • Clone Promotion Checkout

    Clone one direction's repository in n8n.

  • Add Project To Promotion Connection

    Link a project to a promotion connection in n8n.

  • Get Credential Schema

    Show credential data schema in n8n.

  • Get Credential Type Instance Policy

    Retrieve the instance credential type policy in n8n.

  • Get Credential Type Project Policy

    Retrieve a project's credential type policy in n8n.

  • Get Credential Type Policy Attachments

    Retrieve a scope's attached policy documents in n8n.

  • Get Insights Summary

    Retrieve insights summary in n8n.

  • List Log Streaming Event Types

    List streamable event types in n8n.

  • Get Node Type Instance Policy

    Retrieve the instance node type policy in n8n.

  • Get Node Type Project Policy

    Retrieve a project's node type policy in n8n.

  • Get Node Type Policy Attachments

    Retrieve a scope's attached policy documents in n8n.

  • List Promotion Provider Repositories

    List repositories of a promotion provider in n8n.

  • List Promotion Repository Branches

    List branches of a promotion repository in n8n.

  • List Promotion Connection Projects

    List projects linked to a promotion connection in n8n.

  • List Promotion Changes

    List the changes of a project in one direction in n8n.

  • List LDAP Sync History

    Retrieve LDAP synchronization history in n8n.

  • Get Source Control Status

    Preview pending source control changes in n8n.

  • List Test Run Cases

    Retrieve test run cases in n8n.

  • Update Project Member Role

    Change a user's role in a project in n8n.

  • Update User Role

    Change a user's global role in n8n.

  • Remove Project From Promotion Connection

    Unlink a project from a promotion connection in n8n.

  • Delete Promotion Config

    Remove one direction in n8n.

  • Install Community Package

    Install a community package in n8n.

  • Uninstall Community Package

    Uninstall a community package in n8n.

  • Transfer Credential

    Transfer a credential to another project in n8n.

  • Test Credential

    Test credential by ID in n8n.

  • Replace Credential Type Instance Policy

    Replace the instance credential type policy in n8n.

  • Replace Credential Type Project Policy

    Replace a project's credential type policy in n8n.

  • Replace Credential Type Policy Attachments

    Replace a scope's attached policy documents in n8n.

  • Upsert Data Table Row

    Upsert a row in a data table in n8n.

  • Clear Data Table Rows

    Clear all rows from a data table in n8n.

  • Stop Many Executions

    Stop multiple executions in n8n.

  • Stop Execution

    Stop an execution in n8n.

  • Retry Execution

    Retry an execution in n8n.

  • Generate Security Audit

    Generate an audit in n8n.

  • Discover API Capabilities

    Discover available API capabilities in n8n.

  • Test Log Streaming Destination

    Send a test message to a log streaming destination in n8n.

  • Replace Node Type Instance Policy

    Replace the instance node type policy in n8n.

  • Replace Node Type Project Policy

    Replace a project's node type policy in n8n.

  • Replace Node Type Policy Attachments

    Replace a scope's attached policy documents in n8n.

  • Upsert Promotion Apply Config

    Create or replace the Apply configuration in n8n.

  • Upsert Promotion Promote Config

    Create or replace the Promote configuration in n8n.

  • Disconnect Promotion Checkout

    Remove one direction's local checkout in n8n.

  • Promote All Projects

    Promote all team projects in n8n.

  • Apply Promotion Package

    Apply a package to the instance in n8n.

  • Continue Apply Promotion Package

    Continue Apply after binding setup in n8n.

  • Promote Project Workflows

    Promote a selection of a project's workflows in n8n.

  • Apply Project Workflows

    Apply a selection of a project's workflows in n8n.

  • Continue Apply Project Workflows

    Continue applying a selection after binding setup in n8n.

  • Run LDAP Sync

    Trigger an LDAP synchronization in n8n.

  • Test Otel Trace

    Test the connection to an OTLP collector in n8n.

  • Push Source Control

    Push local source control changes in n8n.

  • Pull Source Control

    Pull changes from the remote repository in n8n.

  • Cancel Test Run

    Cancel a test run in n8n.

  • Archive Workflow

    Archive a workflow in n8n.

  • Unarchive Workflow

    Unarchive a workflow in n8n.

  • Transfer Workflow

    Transfer a workflow to another project in n8n.

  • Unpublish Workflow

    Unpublish a workflow in n8n.

Set Up Your n8n MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to n8n in under 10 lines of code.

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

Check More Workflow Automation MCP Servers

Fivetran

172+ actions

Airbyte

93+ actions

Talend

71+ actions

Make

70+ actions

Ironclad

64+ actions

Zapier

37+ actions

Comeet

26+ actions

n8n MCP Server FAQ

Does StackOne have a n8n MCP server?
Yes. StackOne offers a hosted n8n MCP server with 175 pre-built actions, and every action is tested and QA'd by StackOne. Connect it to Claude, Cursor, and any other MCP client, or to any agent framework through the AI Action SDK. It ships with managed agent authentication, prompt injection defense, and tool discovery with server-side execution that preserve your agent's context window and keep reasoning performance.
n8n MCP server vs direct API integration: what's the difference?
A n8n MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software work, where backend code calls n8n. A n8n MCP server is for AI agents that discover and call n8n at runtime, such as MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI. StackOne provides both.
How does n8n authentication work for AI agents?
n8n authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK to get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own n8n account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are n8n MCP tools vulnerable to prompt injection?
Yes. n8n MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content, such as documents, messages, tickets, records, or free-text fields, is a potential vector. StackOne Defender scans every tool response before it enters the agent's context. It runs regex patterns in ~1ms, then a MiniLM classifier in ~4ms. Accuracy is 88.7%, and it runs entirely on CPU.
What is the context bloat of a n8n agent and how do I avoid it?
Context bloat happens when n8n tool schemas and API responses eat your n8n agent's memory, preventing it from reasoning effectively. A single n8n query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery reduces it by loading only the tools relevant to each query.
Can I limit which actions my n8n agent can access?
Yes. You can limit which actions your n8n agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my n8n MCP server?
Yes. You can create custom agent actions for your n8n MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research n8n's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a n8n MCP server?
Skip a n8n MCP server if your integration is purely software-to-software, because direct n8n API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call n8n actions at runtime.
What AI frameworks and AI clients does the StackOne n8n MCP server support?
The StackOne n8n MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.