← Back to Integrations
n

n8n Setup

Model Context Protocol Tutorial

n8n is a powerful open-source workflow automation platform that connects hundreds of apps and services. Its native MCP Client node lets you incorporate Easy MCP AI into any automated workflow — for example, automatically drafting and publishing a WordPress post when a form is submitted.

  1. Add an MCP Client node to your workflow.
  2. Set Transport to Streamable HTTP.
  3. Set URL to https://yoursite.com/wp-json/easy-mcp-ai/v1/mcp.
  4. Under Authentication → Headers, add:
    • Name: Authorization
    • Value: Bearer YOUR_API_TOKEN
  5. Select the tool you want to call in the node’s Tool dropdown.

Example Workflow: Publish a post when a form is submitted

[Form Trigger] → [MCP Client: wp_create_post] → [MCP Client: wp_update_post (status=publish)]

Need your API Token?

Remember to generate your Bearer token in the WordPress admin panel under Easy MCP AI → API Tokens before completing this setup.

Download Plugin