A Model Context Protocol (MCP) server for LinkedIn API integration, enabling LLMs to interact with LinkedIn's professional network. - Profile Management: Get your own profile, view other profiles - Connection Management: List connections, send connection requests, check connection status - Posts & Content: Create posts, get feed, like and comment on posts - Job Search: Search and view job listings
Add this skill
npx mdskills install souvenger/linkedin-custom-mcpComprehensive LinkedIn integration with extensive tools, but overly broad filesystem and shell permissions
1# LinkedIn MCP Server23A Model Context Protocol (MCP) server for LinkedIn API integration, enabling LLMs to interact with LinkedIn's professional network.45## Features67- **Profile Management**: Get your own profile, view other profiles8- **Connection Management**: List connections, send connection requests, check connection status9- **Posts & Content**: Create posts, get feed, like and comment on posts10- **Job Search**: Search and view job listings, apply insights11- **Company Pages**: View company info, followers, posts12- **Messaging**: Send messages, view conversations13- **Search**: Search for people, companies, jobs1415## Authentication1617This server uses LinkedIn's OAuth 2.0. You need:181. A LinkedIn Developer Application: https://www.linkedin.com/developers/192. An OAuth 2.0 Access Token with the appropriate scopes2021### Required OAuth Scopes2223| Scope | Purpose |24|-------|---------|25| `r_liteprofile` | Read your basic profile |26| `r_emailaddress` | Read your email address |27| `r_fullprofile` | Read your full profile |28| `w_member_social` | Write posts, likes, comments |29| `r_member_social` | Read posts, likes, comments |30| `r_1st_connections` | Read your connections |31| `w_messages` | Send messages |3233## Setup3435### 1. Install3637```bash38pip install linkedin-mcp39# or from source:40pip install -e .41```4243### 2. Configure Environment4445Create a `.env` file:4647```env48LINKEDIN_ACCESS_TOKEN=your_access_token_here49LINKEDIN_CLIENT_ID=your_client_id_here50LINKEDIN_CLIENT_SECRET=your_client_secret_here51```5253### 3. Run the Server5455```bash56# stdio mode (for Claude Desktop)57linkedin-mcp5859# HTTP mode (for remote access)60linkedin-mcp --transport streamable_http --port 800061```6263### 4. Configure Claude Desktop6465Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:6667```json68{69 "mcpServers": {70 "linkedin": {71 "command": "linkedin-mcp",72 "env": {73 "LINKEDIN_ACCESS_TOKEN": "your_access_token_here"74 }75 }76 }77}78```7980## Available Tools8182### Profile Tools83- `linkedin_get_my_profile` - Get your LinkedIn profile84- `linkedin_get_profile` - Get any LinkedIn profile by ID or URL85- `linkedin_update_profile_headline` - Update your headline8687### Connection Tools88- `linkedin_get_connections` - List your connections89- `linkedin_send_connection_request` - Send a connection request90- `linkedin_get_connection_status` - Check connection status9192### Post & Content Tools93- `linkedin_create_post` - Create a LinkedIn post94- `linkedin_get_feed` - Get your LinkedIn feed95- `linkedin_like_post` - Like a post96- `linkedin_comment_on_post` - Comment on a post97- `linkedin_get_post_comments` - Get comments on a post98- `linkedin_delete_post` - Delete your post99100### Job Tools101- `linkedin_search_jobs` - Search for jobs102- `linkedin_get_job_details` - Get details for a specific job103- `linkedin_get_job_recommendations` - Get personalized job recommendations104105### Company Tools106- `linkedin_get_company` - Get company information107- `linkedin_get_company_posts` - Get posts from a company108- `linkedin_follow_company` - Follow a company109110### Message Tools111- `linkedin_send_message` - Send a message112- `linkedin_get_conversations` - List your conversations113- `linkedin_get_conversation_messages` - Get messages in a conversation114115### Search Tools116- `linkedin_search_people` - Search for people117- `linkedin_search_companies` - Search for companies118119## Development120121```bash122# Install dev dependencies123pip install -e ".[dev]"124125# Test the server126python -m linkedin_mcp.server127128# Run with MCP Inspector129npx @modelcontextprotocol/inspector python -m linkedin_mcp.server130```131<img width="1896" height="744" alt="image" src="https://github.com/user-attachments/assets/128dd98d-6c8d-403c-b436-97c71de284bb" />132133134## Important Notes135136- LinkedIn's API has strict rate limits. The server handles 429 responses gracefully.137- Some features require LinkedIn Partner Program access.138- Always comply with LinkedIn's Terms of Service and API usage policies.139- The `w_member_social` scope is required for posting and engagement actions.140141## License142143MIT License - see LICENSE file for details.144
Full transparency — inspect the skill content before installing.