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.
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
{
"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>"
]
}
}
}Platform Resources
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
n8n MCP Server FAQ
Does StackOne have a n8n MCP server?
n8n MCP server vs direct API integration: what's the difference?
How does n8n authentication work for AI agents?
origin_owner_id.Are n8n MCP tools vulnerable to prompt injection?
What is the context bloat of a n8n agent and how do I avoid it?
Can I limit which actions my n8n agent can access?
Can I create custom agent actions for my n8n MCP server?
When should I NOT use a n8n MCP server?
What AI frameworks and AI clients does the StackOne n8n MCP server support?
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.