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
- LinkedIn MCP Server Trigger
- Post Text Update to LinkedIn
- Post Image Update to LinkedIn
- Post Article Link to LinkedIn
- Fetch Recent Author Posts
- Fetch Single LinkedIn Post
- Remove LinkedIn Post
- Fetch LinkedIn Profile
- Add Comment to LinkedIn Post
- Fetch Comments on LinkedIn Post
- Add Reaction to LinkedIn Post
- Remove Comment on LinkedIn Post
- Remove Reaction from LinkedIn Post
- Fetch Reactions on LinkedIn Post
15 steps in total.
Similar automations
MCP Servers & ToolsExpose production tools to MCP clients with Slack approval gates20 stepsMCP Servers & ToolsMCP Server Templates for Slack, Gmail, Airtable and Calendar47 stepsMCP Servers & ToolsSuper Assistant MCP Servers for Slack, Gmail and Calendar36 stepsMCP Servers & ToolsExpose Google Calendar Tools via an MCP Server15 steps