Skip to content
Guides & References

n8n MCP Client Tool with rConfig: AI workflows over your network configs

Connect n8n's AI Agent to rConfig's MCP server with the MCP Client Tool, then trigger it from rConfig webhooks to summarise config changes in Slack or tickets.

Iris: AI CenterUpdated
On this page

n8n MCP Client Tool with rConfig: AI workflows over your network configs

n8n’s AI Agent node can use rConfig’s MCP server as a tool through the MCP Client Tool, with a bearer credential and the HTTP Streamable transport. Pair it with rConfig’s webhooks and you get event-driven AI: a config changes, n8n wakes up, the agent explains the change, and the summary lands in Slack, Teams or a ticket. No one has to ask.

Best for: automation teams already on n8n, event-driven summaries, joining rConfig with ticketing and chat without writing code.


Connect

In an AI Agent node, add an MCP Client Tool and set:

Setting Value
Endpoint https://<your-rconfig-server>/mcp
Server Transport HTTP Streamable (SSE isn’t offered by rConfig)
Authentication Bearer Auth, with a credential holding an rConfig MCP token
Tools to Include All, or Selected to narrow the agent

Use a token from a dedicated rConfig user whose role covers only the devices the workflow needs. Every run uses that user’s access, whoever triggered it.


Event-driven: explain every config change

rConfig’s webhooks post a config.changed event the moment a backup differs from the previous version. The Generic JSON payload already carries the device, the config ID, the command and the diff lines.

flowchart LR
    R["rConfig<br/>config.changed webhook"] --> W["n8n Webhook trigger<br/>(verify signature)"]
    W --> A["AI Agent<br/>+ rConfig MCP Client Tool"]
    A --> S["Slack / Teams / ticket"]
  1. Trigger: an n8n Webhook node receives the event. Check the signature rConfig sends before going further (see Verify the signature).
  2. Agent: pass data.device.name, data.config.id and the diff to the AI Agent with a prompt such as: “Explain this config change on {{ device }} for the network team: what changed, what it affects, and whether it looks risky. Use rConfig to look at the device’s recent history if the diff alone isn’t enough.”
  3. Output: send the agent’s answer to a Slack or Teams node, or create a ticket.

The webhook gives the agent the diff for free, so most runs need only one or two MCP calls. The rConfig tools are there for context: earlier versions, the full config, compliance status.


Other workflows

  • Nightly compliance digest: a Schedule trigger asks the agent for the compliance status of each critical group and posts a short summary each morning.
  • Ticket enrichment: when a ServiceNow or Jira change ticket names a device, the agent adds that device’s recent config history and current compliance to the ticket.
  • Chat question box: an n8n Chat trigger in front of the agent gives a team a simple “ask rConfig” box, within the service user’s device access.

Frequently asked questions

How do I connect n8n to rConfig's MCP server?

Add an MCP Client Tool to an AI Agent node. Set the endpoint to https://<your-rconfig-server>/mcp, the server transport to HTTP Streamable, and authentication to a Bearer credential holding an rConfig MCP token.

Does this work with n8n Cloud?

Only if rConfig's MCP endpoint is reachable from the internet, because n8n Cloud connects from n8n's infrastructure. A self-hosted n8n on your network can reach an internal rConfig directly.

Can n8n start a workflow when a config changes?

Yes. Point an rConfig webhook at an n8n Webhook trigger and subscribe it to config.changed. The payload includes the device, the config ID and the diff, which the AI Agent can expand on through MCP.

My MCP Client Tool only shows an SSE endpoint.

Older n8n versions only supported SSE, which rConfig's server doesn't offer. Upgrade n8n to a version whose MCP Client Tool has the HTTP Streamable transport option.

Type to search.