Connect Claude to Self Hosted

Hello, is there a way to connect Claude desktop to n8n self hosted via the API so that I can create workflows from there?

Thanks

1 Like

Hi @JackBauer Welcome!
Yes absolutely you can use n8n API to automate workflow building, what i use is:

This is pretty seamless to connect with.

yeah the n8n MCP server is the way to go here, it lets Claude Desktop talk directly to your n8n instance through the Model Context Protocol so you can create and manage workflows from the chat. You just need to add the MCP config to your Claude Desktop settings and point it at your self-hosted URL with an API key, pretty straightforward setup.

Thanks guys, but this is using a third party tool.

I asked for only claude and my n8n instance.

Yes @JackBauer you can absolutely connect Claude Desktop to your self-hosted n8n instance, though it requires a bit of setup since Claude Desktop uses the Model Context Protocol.

MCP is the official protocol that Claude Desktop uses to talk to external services, there isn’t really a way around using it if you want Claude to directly interact with n8n. The n8n MCP server isn’t a random third party thing, it’s just the bridge that implements the protocol Claude expects. Without some kind of MCP server in the middle you’d have to manually copy/paste API calls back and forth which defeats the purpose.