LinkedIn MCP Server

Tags

registry.modelcontextprotocol.io

Configuration

{
  "mcpServers": {
    "linkedin": {
      "url": "https://linkedin.run.mcp.com.ai/mcp",
      "type": "http"
    }
  },
  "requiresAuth": false,
  "requiresOAuth": false
}

Available Tools (3)

createSharePost

Share on LinkedIn, create a share post - Create a new share post on LinkedIn using text, URLs, and images

Input Schema
{
  "type": "object",
  "required": [
    "createSharePostBody"
  ],
  "properties": {
    "createSharePostBody": {
      "type": "object",
      "required": [
        "author",
        "lifecycleState",
        "visibility",
        "specificContent"
      ],
      "properties": {
        "author": {
          "type": "string",
          "description": "URN of the member or organization"
        },
        "visibility": {
          "type": "object",
          "required": [
            "com.linkedin.ugc.MemberNetworkVisibility"
          ],
          "properties": {
            "com.linkedin.ugc.MemberNetworkVisibility": {
              "enum": [
                "PUBLIC",
                "CONNECTIONS"
              ],
              "type": "string",
              "description": "Visibility of the share post"
            }
          }
        },
        "lifecycleState": {
          "enum": [
            "PUBLISHED",
            "DRAFT"
          ],
          "type": "string"
        },
        "specificContent": {
          "type": "object",
          "properties": {
            "com.linkedin.ugc.ShareContent": {
              "type": "object",
              "required": [
                "shareCommentary",
                "shareMediaCategory"
              ],
              "properties": {
                "media": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {}
                  },
                  "minItems": 0
                },
                "shareCommentary": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string"
                    }
                  },
                  "description": "Text for the content of the share post, long format"
                },
                "shareMediaCategory": {
                  "enum": [
                    "NONE",
                    "ARTICLE",
                    "IMAGE"
                  ],
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}

getSharePosts

Get share posts - Retrieve share posts for the authenticated user or organization

Input Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "maximum": 100
    },
    "start": {
      "type": "integer"
    },
    "authors": {
      "type": "string"
    }
  }
}

getPersonProfile

Get person profile - Get basic profile information for a person

Input Schema
{
  "type": "object",
  "properties": {}
}