Overview
Linkedin MCP Server is a server designed for interacting with the Linkedin Community Management API, allowing developers to manage community interactions programmatically.
To use the server, you need to host it locally or remotely, set up your Linkedin client credentials, and run the server to interact with the API.
- Fetch current user information (name, headline, profile picture) - Create new posts on LinkedIn - Supports HTTP+SSE transport for real-time updates
- Automating community management tasks on LinkedIn.
- Integrating LinkedIn functionalities into custom applications.
- Managing user interactions and posts programmatically.
Add to your AI client
Use these steps to connect Linkedin MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"linkedin-mcp-server-fredericbarthelet": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-linkedin-mcp-server-fredericbarthelet"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"linkedin-mcp-server-fredericbarthelet": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-linkedin-mcp-server-fredericbarthelet"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"linkedin-mcp-server-fredericbarthelet": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-linkedin-mcp-server-fredericbarthelet"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"linkedin-mcp-server-fredericbarthelet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-linkedin-mcp-server-fredericbarthelet"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"linkedin-mcp-server-fredericbarthelet": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-linkedin-mcp-server-fredericbarthelet"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"linkedin-mcp-server-fredericbarthelet": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-linkedin-mcp-server-fredericbarthelet"
]
}
}
}FAQ
What are the requirements to run the server?
You need Node 22, pnpm 10, and a Linkedin client with the Community Management API product installed.
Is the Third-Party Authorization Flow stable?
No, it is currently in draft status and may change in the future.
How can I debug the server?
You can use the MCP Inspector to debug the server and access it via your browser.