KosmoKrator

marketing

LinkedIn MCP, CLI, and Lua Integration for AI Agents

LinkedIn integration docs for AI agents: MCP gateway setup, LinkedIn CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write Manual OAuth token auth

LinkedIn for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
linkedin
route_slug
linkedin
package
linkedin
auth_strategy
oauth2_manual_token Manual OAuth token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

LinkedIn MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for LinkedIn.

LinkedIn CLI Matrix

Use these pages for direct LinkedIn CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
linkedin.linkedin_list_posts Read read 3 List LinkedIn UGC posts for an author. Returns post IDs, lifecycle state, and creation timestamps. Use author, count, and start for filtering and pagination.
linkedin.linkedin_get_post Read read 1 Retrieve a LinkedIn UGC post by its ID. Returns the full post including content, lifecycle state, and visibility.
linkedin.linkedin_create_post Write write 3 Create a new LinkedIn UGC post. Requires an author URN and text content. Returns the created post with its ID and lifecycle state.
linkedin.linkedin_list_organizations Read read 2 List LinkedIn organizations (company pages) the authenticated user has access to. Returns organization IDs, names, and roles.
linkedin.linkedin_get_organization Read read 1 Retrieve a LinkedIn organization (company page) by its ID. Returns the organization's name, description, website, and other profile data.
linkedin.linkedin_list_ad_accounts Read read 2 List LinkedIn ad accounts the authenticated user has access to. Returns ad account IDs, names, statuses, and currency information.
linkedin.linkedin_get_current_user Read read 0 Retrieve the currently authenticated LinkedIn user profile. Returns the user's ID, localized name, and profile metadata. Useful for identifying which account or token is in use.