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_tokenManual OAuth token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. LinkedIn CLIHeadless setup and direct function calls. LinkedIn MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
LinkedIn MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for LinkedIn.
Claude Code LinkedIn MCP setup for Claude Code. Cursor LinkedIn MCP setup for Cursor. Codex LinkedIn MCP setup for Codex. OpenAI Agents LinkedIn MCP setup for OpenAI Agents SDK. Claude Agent SDK LinkedIn MCP setup for Claude Agent SDK. Vercel AI SDK LinkedIn MCP setup for Vercel AI SDK. LangChain LinkedIn MCP setup for LangChain. LangGraph LinkedIn MCP setup for LangGraph. CrewAI LinkedIn MCP setup for CrewAI. MCP clients LinkedIn MCP setup for Generic MCP Clients.
LinkedIn CLI Matrix
Use these pages for direct LinkedIn CLI workflows in scripts, CI, cron, and agent wrappers.
CI LinkedIn CLI for CI. Cron Jobs LinkedIn CLI for cron jobs. Shell Scripts LinkedIn CLI for shell scripts. Headless Automation LinkedIn CLI for headless automation. Coding Agents LinkedIn CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
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. |