marketing
LinkedIn MCP Integration for Generic MCP Clients
Connect LinkedIn to Generic MCP Clients through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect LinkedIn to Generic MCP Clients
Connect any stdio-compatible MCP client to local KosmoKrator integration tools.
Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with
--write=deny so MCP clients can inspect read-capable tools without receiving write access by default.
LinkedIn MCP Config for Generic MCP Clients
Start with read-only write policy and expand only for trusted projects.
{
"mcpServers": {
"kosmokrator-linkedin": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=linkedin",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=linkedin --write=deny Why Use KosmoKrator Here
Expose only LinkedIn instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
LinkedIn Tools Visible to MCP clients
MCP clients sees stable MCP tool names generated from the LinkedIn integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__linkedin__linkedin_list_posts | linkedin.linkedin_list_posts | Read | List LinkedIn UGC posts for an author. Returns post IDs, lifecycle state, and creation timestamps. Use author, count, and start for filtering and pagination. |
integration__linkedin__linkedin_get_post | linkedin.linkedin_get_post | Read | Retrieve a LinkedIn UGC post by its ID. Returns the full post including content, lifecycle state, and visibility. |
integration__linkedin__linkedin_create_post | linkedin.linkedin_create_post | Write | Create a new LinkedIn UGC post. Requires an author URN and text content. Returns the created post with its ID and lifecycle state. |
integration__linkedin__linkedin_list_organizations | linkedin.linkedin_list_organizations | Read | List LinkedIn organizations (company pages) the authenticated user has access to. Returns organization IDs, names, and roles. |
integration__linkedin__linkedin_get_organization | linkedin.linkedin_get_organization | Read | Retrieve a LinkedIn organization (company page) by its ID. Returns the organization's name, description, website, and other profile data. |
integration__linkedin__linkedin_list_ad_accounts | linkedin.linkedin_list_ad_accounts | Read | List LinkedIn ad accounts the authenticated user has access to. Returns ad account IDs, names, statuses, and currency information. |
integration__linkedin__linkedin_get_current_user | linkedin.linkedin_get_current_user | Read | 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. |