Pages in MCP

LinkedIn

LinkedIn is coming soon: until it opens, the tools answer PLATFORM_COMING_SOON for it, so do not offer it to the user. When it opens, LinkedIn posts can be text-only, images, an article (a linkUrl) or one video. options.linkedin takes text, visibility, isReshareDisabledByAuthor, articleTitle, articleDescription and videoTitle. Put alt text on each image as media[].altText. A first comment works like on other platforms. Organization posting and LinkedIn analytics are not part of it.

posts_create: images
{
  "targets": [
    {
      "platforms": [
        "linkedin"
      ]
    }
  ],
  "text": "Three screens from the new dashboard.",
  "media": [
    {
      "url": "https://cdn.example.com/compose.png",
      "type": "image",
      "altText": "Compose screen"
    },
    {
      "url": "https://cdn.example.com/posts.png",
      "type": "image",
      "altText": "Posts list"
    },
    {
      "url": "https://cdn.example.com/sets.png",
      "type": "image",
      "altText": "Platform sets"
    }
  ],
  "options": {
    "linkedin": {
      "isReshareDisabledByAuthor": false
    }
  }
}
posts_create: article
{
  "targets": [
    {
      "platforms": [
        "linkedin"
      ]
    }
  ],
  "text": "Our API reference is live.",
  "linkUrl": "https://ampost.io/docs",
  "options": {
    "linkedin": {
      "articleTitle": "Ampost API reference",
      "articleDescription": "Endpoints, options and limits for every platform.",
      "visibility": "PUBLIC"
    }
  }
}