Automate LinkedIn operations through Composio's LinkedIn toolkit via Rube MCP.
RUBE_MANAGE_CONNECTIONS with toolkit linkedin
RUBE_SEARCH_TOOLS first to get current tool schemasGet Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit linkedin
When to use: User wants to publish a text post on LinkedIn
Tool sequence:
LINKEDIN_GET_MY_INFO - Get authenticated user's profile info [Prerequisite]LINKEDIN_REGISTER_IMAGE_UPLOAD - Register image upload if post includes an image [Optional]LINKEDIN_CREATE_LINKED_IN_POST - Publish the post [Required]Key parameters:
text: Post content textvisibility: 'PUBLIC' or 'CONNECTIONS'media_title: Title for attached mediamedia_description: Description for attached mediaPitfalls:
When to use: User wants to retrieve their LinkedIn profile or company details
Tool sequence:
LINKEDIN_GET_MY_INFO - Get authenticated user's profile [Required]LINKEDIN_GET_COMPANY_INFO - Get company page details [Optional]Key parameters:
organization_id: Company/organization ID for GET_COMPANY_INFOPitfalls:
When to use: User wants to upload and attach images to LinkedIn posts
Tool sequence:
LINKEDIN_REGISTER_IMAGE_UPLOAD - Register an image upload with LinkedIn [Required]LINKEDIN_GET_IMAGES - Verify uploaded image status [Optional]LINKEDIN_CREATE_LINKED_IN_POST - Create post with the image asset [Required]Key parameters:
owner: URN of the image owner (user or organization)image_id: ID of the uploaded image for GET_IMAGESPitfalls:
When to use: User wants to comment on an existing LinkedIn post
Tool sequence:
LINKEDIN_CREATE_COMMENT_ON_POST - Add a comment to a post [Required]Key parameters:
post_id: The URN or ID of the post to comment ontext: Comment contentactor: URN of the commenter (user or organization)Pitfalls:
When to use: User wants to remove a previously published LinkedIn post
Tool sequence:
LINKEDIN_DELETE_LINKED_IN_POST - Delete the specified post [Required]Key parameters:
post_id: The URN or ID of the post to deletePitfalls:
User URN from profile:
1. Call LINKEDIN_GET_MY_INFO
2. Extract user URN (e.g., 'urn:li:person:XXXXXXXXXX')
3. Use URN as actor/owner in subsequent calls
Organization ID from company:
1. Call LINKEDIN_GET_COMPANY_INFO with organization_id
2. Extract organization URN for posting as a company page
Authentication:
URN Formats:
Rate Limits:
Content Restrictions:
| Task | Tool Slug | Key Params |
|---|---|---|
| Get my profile | LINKEDIN_GET_MY_INFO | (none) |
| Create post | LINKEDIN_CREATE_LINKED_IN_POST | text, visibility |
| Get company info | LINKEDIN_GET_COMPANY_INFO | organization_id |
| Register image upload | LINKEDIN_REGISTER_IMAGE_UPLOAD | owner |
| Get uploaded images | LINKEDIN_GET_IMAGES | image_id |
| Delete post | LINKEDIN_DELETE_LINKED_IN_POST | post_id |
| Comment on post | LINKEDIN_CREATE_COMMENT_ON_POST | post_id, text, actor |
This skill is applicable to execute the workflow or actions described in the overview.