AI knowledge base for n8n.

Give your n8n AI Agents a knowledge base to work from. Add Perfect Wiki with the MCP Client Tool and automate support replies, onboarding and documentation updates β€” all answered from your own SOPs.

No credit cardSetup in under 10 minutesCancel anytime
01MCP Client Tool

Drop Perfect Wiki into any AI Agent node.

Attach the MCP Client Tool to your AI Agent, point it at Perfect Wiki and connect an MCP OAuth2 credential. The agent can then search, read and update your knowledge base as steps in any workflow.

  • β†’HTTP Streamable transport β€” no custom HTTP requests to build
  • β†’MCP OAuth2 credential with dynamic client registration
  • β†’Choose which Perfect Wiki tools the agent may call
n8n Β· MCP Client Tool
Endpoint URL
https://api.perfectwiki.xyz/mcp
Server Transport
HTTP Streamable
Authentication
MCP OAuth2
Tools to Include
All
Connect βœ“
02Workflows

Workflows that answer from your SOPs β€” around the clock.

Trigger on a new ticket, email or chat message, let the agent look up the answer in Perfect Wiki, and send a reply or route the case. When an answer is missing, the same workflow can draft the page that fills the gap.

  • β†’Replies drafted from approved SOPs, with the source page
  • β†’Routes cases the knowledge base can’t answer to a human
  • β†’Creates or updates pages from resolved tickets
n8n Β· Support triage agent
New ticket #4821: β€œI was charged twice this month. Can I get one payment back?”
βš™ ask Β· duplicate charge refundβš™ get_page Β· Refund Policy SOP
Duplicate charges are refunded in full within 5 business days β€” no approval needed. Drafted a reply to the customer, tagged the ticket billing/duplicate and linked the Refund Policy SOP.
Setup guide

How to connect Perfect Wiki to n8n.

  1. 1Open your workflow, select the AI Agent node and add the MCP Client Tool. On n8n 1.122+ you can also use the standalone MCP Client node.
  2. 2Set Endpoint URL to https://api.perfectwiki.xyz/mcp and Server Transport to HTTP Streamable (n8n 1.104+).
  3. 3Set Authentication to MCP OAuth2, create a new MCP OAuth2 API credential with Use Dynamic Client Registration turned on (n8n 1.119+), and click Connect to sign in to Perfect Wiki.
  4. 4Set Tools to Include to All β€” or pick only the tools this workflow needs β€” and run a test execution.

More details in the Perfect Wiki MCP server guide and n8n's MCP documentation.

Prefer a static API token?

Use Bearer Auth

For service-account style workflows that shouldn't depend on a personal sign-in, set Authentication to Bearer Auth and paste a Perfect Wiki API token as the Bearer Token.

Generate the token in the Perfect Wiki settings of the knowledge base the workflow should use. Tokens are scoped to one knowledge base and have read & write access β€” limit Tools to Include if the workflow only needs to read.

Use cases

What your team does with Perfect Wiki in n8n.

Ticket triage and replies

On every new helpdesk ticket, the agent searches your SOPs, drafts the reply and routes anything it can’t answer to the right team.

> Draft a reply to this ticket using our support SOPs and tag the category.

Answer bots for Slack and email

Connect an inbox or chat trigger so employees get policy and process answers from the wiki without waiting for a person.

> Answer this #ask-hr message from Perfect Wiki and include the page link.

Docs updated from resolved cases

When a ticket closes with a new fix, a scheduled workflow turns the resolution into a new or updated troubleshooting page.

> Add this resolution to the Troubleshooting page if it isn’t covered yet.
The full toolset
ask()

Ask a natural-language question and get an AI answer with sources.

list_pages()

List every page in the connected knowledge base.

get_page()

Read the full content of a specific page.

create_page()

Create a new page β€” draft SOPs straight from chat.

update_page()

Update an existing page, so SOPs never go stale.

delete_page()

Remove pages that are no longer needed.

get_knowledgebase()

Get info about the connected knowledge base.

Free SOP templates

Start from a ready-made SOP. Keep it alive here.

Download any of our 284 standard operating procedure templates in Word, PDF, Excel or CSV, no sign-up needed. Then put it in Perfect Wiki so your team can find it and ask about it.

Browse all 284 SOP templates β†’
Common questions

Frequently asked questions

Didn't find what you're looking for? Contact our support β†’

Ready when you are

Put your SOPs to work in n8n.

Keep your SOPs, manuals and FAQs in Perfect Wiki β€” and give your whole team answers right where they work.

No credit cardSetup in under 10 minutesCancel anytime