Skip to main content
The linkedin MCP adapter connects to the LinkedIn Marketing / Community Management APIs. Use it to draft and publish posts, upload images, and list organizations you administer — often after human_task approval in Workflow Studio.

Prerequisites

  • A LinkedIn Developer application with approved products (e.g. Share on LinkedIn, Sign In with LinkedIn, Community Management as required for your use case)
  • OAuth client ID, client secret, and a refresh token (recommended) or short-lived access token for testing
  • Admin access to any company pages you post to
  • project_contributor access

Connect in AgentRuntime

1

Configure the LinkedIn app

In the LinkedIn Developer Portal, note your Client ID and Client Secret. Complete OAuth for the member who will post content and store the refresh token securely.
2

Create a connection

Go to Connections and click New custom connection to create a connection with ClientID, ClientSecret, and RefreshToken (or AccessToken for local testing only).
3

Add linkedin MCP instance

Go to MCP, click Add instance for linkedin, wire your connection on Instance config, set the profile active, and save.
4

Verify identity

Run mcp_calllinkedin_get_userinfo and linkedin_list_organizations before scheduling posts.
See Authentication for binding connections to MCP instances.

What you can build

  • Approved social posts — LLM drafts copy from a blog RSS item → human_tasklinkedin_create_share_update or linkedin_create_company_update.
  • Campaign recap — Postgres metrics query → LLM summary → linkedin_upload_image for chart → company post with link to report.
  • Content calendar sync — Google Sheets row with status “Ready” → post → update sheet status via google-sheets adapter.
  • Post auditlinkedin_list_posts by author URN → archive underperformers with linkedin_delete_post after review.

Tools

Example

Publish a company update after approval:

Configuration

Troubleshooting