LinkedIn Publishing
π βοΈ - LinkedIn publishing, commenting, and reacting via Unipile API. Dry-run by default, SKILL.
What is LinkedIn Publishing?
LinkedIn Publishing is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to π βοΈ - linkedin publishing, commenting, and reacting via unipile api. dry-run by default, skill.
π βοΈ - LinkedIn publishing, commenting, and reacting via Unipile API. Dry-run by default, SKILL.
This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP protocol support
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-linkedinConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use LinkedIn Publishing
mcp-linkedin is a Python MCP server that enables AI assistants to publish posts, leave comments, and react to content on LinkedIn via the Unipile API. It operates in dry-run mode by default, showing what would be posted without actually sending anything, making it safe to experiment before going live. Social media managers and developers use it to automate LinkedIn content workflows directly from their AI chat interface.
Prerequisites
- Python 3.10 or higher
- A Unipile account with an API key and a connected LinkedIn account
- The Unipile API endpoint URL for your account
- An MCP-compatible client such as Claude Desktop or Claude Code CLI
Clone the repository
Clone the mcp-linkedin repository from GitHub since it is not published to PyPI.
git clone https://github.com/adhikasp/mcp-linkedin.git
cd mcp-linkedinInstall dependencies
Install the Python dependencies using pip or uv into a virtual environment.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Or with uv:
# uv syncConfigure Unipile credentials
Set up your Unipile API key and endpoint. The Unipile API acts as the bridge between the MCP server and your LinkedIn account. Obtain these from your Unipile dashboard.
export UNIPILE_API_KEY="your_unipile_api_key"
export UNIPILE_API_ENDPOINT="https://api.unipile.com:13465"Test in dry-run mode
The server defaults to dry-run mode, which logs what would happen without making real LinkedIn API calls. Verify the server starts correctly before connecting it to your MCP client.
python -m mcp_linkedinAdd to your MCP client
Register the server in your Claude Desktop config file. Point the command to the Python executable inside your virtual environment.
LinkedIn Publishing Examples
Client configuration
Claude Desktop configuration for mcp-linkedin using the local Python installation.
{
"mcpServers": {
"linkedin": {
"command": "/path/to/mcp-linkedin/.venv/bin/python",
"args": ["-m", "mcp_linkedin"],
"env": {
"UNIPILE_API_KEY": "your_unipile_api_key",
"UNIPILE_API_ENDPOINT": "https://api.unipile.com:13465"
}
}
}
}Prompts to try
Example prompts for managing LinkedIn content through the MCP server.
- "Draft and post a LinkedIn update announcing our new product launch"
- "Like and comment on the latest post from [person's name] on LinkedIn"
- "Write a professional LinkedIn post about the benefits of TypeScript (dry-run first)"
- "React to the post with URL https://www.linkedin.com/posts/... with a celebratory reaction"
- "Post a LinkedIn article summary with three bullet points about our Q3 results"Troubleshooting LinkedIn Publishing
Unipile API returns 401 Unauthorized
Verify that UNIPILE_API_KEY is set correctly and that the key has not expired. Check the Unipile dashboard to ensure your LinkedIn account is still connected and active.
Posts are not appearing on LinkedIn after disabling dry-run mode
Confirm that UNIPILE_API_ENDPOINT matches the endpoint shown in your Unipile account settings (the port number is significant, typically 13465). Also ensure your Unipile plan supports LinkedIn posting.
ModuleNotFoundError when starting the server
Ensure you have activated the virtual environment ('source .venv/bin/activate') or that the Python path in your MCP client config points to the venv's Python executable, not the system Python.
Frequently Asked Questions about LinkedIn Publishing
What is LinkedIn Publishing?
LinkedIn Publishing is a Model Context Protocol (MCP) server that π βοΈ - linkedin publishing, commenting, and reacting via unipile api. dry-run by default, skill. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install LinkedIn Publishing?
Follow the installation instructions on the LinkedIn Publishing GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with LinkedIn Publishing?
LinkedIn Publishing works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is LinkedIn Publishing free to use?
Yes, LinkedIn Publishing is open source and available under the The Unlicense license. You can use it freely in both personal and commercial projects.
LinkedIn Publishing Alternatives β Similar Communication Servers
Looking for alternatives to LinkedIn Publishing? Here are other popular communication servers you can use with Claude, Cursor, and VS Code.
Slack
β 86.1kEnables interaction with Slack workspaces through comprehensive channel management, messaging, user management, file uploads, and Block Kit formatting. Features secure credential storage via macOS Keychain and supports all major Slack operations incl
LibreChat
β 37.3kEnhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenA
Note Gen
β 11.9kA cross-platform Markdown AI note-taking software.
DeepChat
β 5.8kπ¬DeepChat - A smart assistant that connects powerful AI to your personal world
WhatsApp MCP
β 5.7kConnects AI assistants to the official Meta WhatsApp Cloud API for managing conversations and sending various message types through natural language. It provides tools for media management, template messages, and real-time webhook processing without
Apple
β 3.1kEnables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
Browse More Communication MCP Servers
Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up LinkedIn Publishing in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use LinkedIn Publishing?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.