KosmoKrator

productivity

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.

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.

Agent Surfaces

Machine-Readable Metadata

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.