Overview
Linkedin MCP Server is a TypeScript-based server designed for interacting with the Linkedin Community Management API, allowing users to post on the platform on behalf of themselves or organizations.
To use the server, install the dependencies using pnpm install, build the server with pnpm run build, and for development, use pnpm run watch for auto-rebuild. Debugging can be done using the MCP Inspector.
- Allows posting on Linkedin on behalf of users or organizations. - Provides user information retrieval through the
user-infotool.
- Automating posts for a business account on Linkedin.
- Retrieving and displaying user profile information.
- Managing community interactions through automated tools.
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": {
"mcp-server-linkedin-fredericbarthelet": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-linkedin-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": {
"mcp-server-linkedin-fredericbarthelet": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-linkedin-fredericbarthelet"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-linkedin-fredericbarthelet": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-linkedin-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": {
"mcp-server-linkedin-fredericbarthelet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-linkedin-fredericbarthelet"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-linkedin-fredericbarthelet": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-linkedin-fredericbarthelet"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-linkedin-fredericbarthelet": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-linkedin-fredericbarthelet"
]
}
}
}FAQ
Can I use this server for personal accounts?
Yes, it can be used for both personal and organizational accounts.
What programming language is used?
The server is built using TypeScript.
How can I debug the server?
You can use the MCP Inspector for debugging, which provides a URL to access debugging tools in your browser.