Skip to main content

Connecting Xpoz with n8n

How to create a basic n8n workflow with Xpoz MCP

Xpoz avatar
Written by Xpoz
Updated over 2 months ago

n8n is an automation framework that enables to easily create AI agents.

This article shows how to create a basic n8n workflow with Xpoz MCP:

Steps:

  1. Add input / trigger module

  2. Add AI Agent module

  3. Add LLM chat model (Anthropic / OpenAI / Gemini etc.)

  4. Add simple memory

  5. Add MCP Client module

  6. Test

Step 1: add input / trigger module:

Add the Chat Trigger module from the Nodes Panel on the right side:


Step 2: add AI Agent module:

AI Agent module settings:

Add "Max Iterations" option and set it to 30:


Step 3: add LLM Chat Model:

You will need an account and API Token from the selected LLM provider (Gemini, OpenAI, Anthropic etc.).
Set and select your LLM credentials while adding the Chat Model


Step 4: add simple memory:

Recommended: Increase default context window length to 15



Step 5: add MCP Client:

MCP Client Settings:

Endpoint:

https://mcp.xpoz.ai/mcp

Server Transport:

HTTP Streamable

Authentication:

Bearer Auth

Next, click on Create new credential:

  • Give the credential a name

  • Paste your Xpoz Personal Access Key

  • Click Save

To get your Xpox Personal Access Key, simply open Claude.ai and ask:

What is my Xpoz User Access Key?

After selecting the newly saved credentials, click Execute Step at the AI Agent settings:
​

Upon successful connection, the MCP will show the list of available tools:

Select the checkAccessKeyStatus tools and click Execute step:

On successful operation, you'll see a message and an output:

You can now close the MCP Client settings.


Step 6: test the MCP functionality:

Test the chat module with the connected MCP:

Check the MCP functionality by asking questions in the chat:

Did this answer your question?