Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / MCP Servers & Tools

MCP Servers & Tools

Expose LinkedIn posting and engagement tools to AI agents via an MCP server

Runs as an MCP server so Claude or other AI agents can create, edit and delete LinkedIn posts and manage comments and reactions on demand when the agent calls a tool.

What it does

## LinkedIn MCP Server – Post, Engage & Manage with Your AI Agent ### How it works This workflow exposes a full LinkedIn toolkit through an MCP Server Trigger so any MCP-compatible AI agent (Claude, Cursor, an n8n AI Agent, etc.) can call actions on demand: create text / image / article posts, read your profile and recent posts, edit or delete a post, and comment on, react to, or moderate engagement. The agent picks the right tool and arguments — you don't run this workflow manually. Every LinkedIn node reads a single linkedin_person_urn Variable, so there's nothing to find-and-replace. ### Setup 1. Create a LinkedIn OAuth2 credential (enable the *Share on LinkedIn* and *Sign In with LinkedIn using OpenID Connect* products in your LinkedIn Developer app) and select it on every LinkedIn node. 2. Create a Bearer Auth credential for the MCP Server Trigger, and use the same token in your AI client's MCP configuration. 3. In n8n Settings → Variables, add linkedin_person_urn and set it to your LinkedIn person ID (call the *Fetch LinkedIn Profile* tool once to find it). Every tool depends on this — without it, calls send an empty URN and LinkedIn rejects them. 4. Copy the MCP Server Trigger's Production URL into your MCP client so it can call these tools. 5. For image posts, make sure your MCP client sends the image as binary data and pass the correct binary field name to the image-post tool. ### Customization Adjust tool names, descriptions, and parameters to match how your agent should invoke LinkedIn actions, and add safeguards around destructive tools (delete post, delete comment, remove reaction). Want post analytics or company-page posting? Both need LinkedIn's Marketing Developer Platform approval — add an organization URN Variable once approved.

The steps

  1. LinkedIn MCP Server Trigger
  2. Post Text Update to LinkedIn
  3. Post Image Update to LinkedIn
  4. Post Article Link to LinkedIn
  5. Fetch Recent Author Posts
  6. Fetch Single LinkedIn Post
  7. Remove LinkedIn Post
  8. Fetch LinkedIn Profile
  9. Add Comment to LinkedIn Post
  10. Fetch Comments on LinkedIn Post
  11. Add Reaction to LinkedIn Post
  12. Remove Comment on LinkedIn Post
  13. Remove Reaction from LinkedIn Post
  14. Fetch Reactions on LinkedIn Post

15 steps in total.

Similar automations