Linkedctl logo

Linkedctl

Connects AI assistants to LinkedIn for publishing, engagement, organization management, analytics, and document uploads.

Install Linkedctl

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "linkedctl": {
      "command": "npx",
      "args": [
        "-y",
        "linkedctl"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y linkedctl

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The linkedctl MCP server connects AI assistants to LinkedIn through OAuth 2.0 and exposes tools for posts, comments, reactions, organizations, analytics, and document uploads. It runs as a local stdio MCP process through the `linkedctl mcp` command and uses YAML profiles for credentials and API settings. Reach for it when an agent needs to inspect or manage LinkedIn content, publish as an organization, or retrieve post and organization statistics.

Use cases

  • Publish LinkedIn posts with text, media, articles, or polls
  • Moderate comments and reactions on LinkedIn posts
  • Manage posts and engagement for administered organizations
  • Retrieve post and organization performance statistics
  • Upload documents for use in LinkedIn content

Key features

  • OAuth 2.0 authentication with profile-based configuration
  • LinkedIn post creation, retrieval, editing, and deletion
  • Comment and reaction management
  • Organization publishing and follower data
  • Post and organization analytics
  • Document uploads up to 100 MB

Tools22

What Linkedctl lets your agent do. Expand a tool for its parameters.

Self-reported~338 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/25 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · linkedctl (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads218Package downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Tools exposed22Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Linkedctl works

What linkedctl MCP server does

The linkedctl MCP server gives an MCP-compatible AI client access to selected LinkedIn API operations. It can identify the authenticated member, check or revoke authentication, create and manage posts, work with comments and reactions, inspect administered organizations, retrieve analytics, and upload supported documents.

Post creation supports text, visibility settings, drafts, images, video, documents, article links, polls, and multi-image content. Posts can be created for the authenticated member or, where supported, on behalf of an organization. The available reaction values are LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION, and ENTERTAINMENT.

How it works

The linkedctl MCP server is started as a local process with npx linkedctl mcp or an equivalent installed command. MCP clients communicate with that process over the standard input/output transport. Every tool accepts an optional profile parameter, allowing separate configuration profiles to be selected.

Authentication uses an OAuth 2.0 LinkedIn Developer App. The toolset includes whoami, auth_status, and auth_revoke; tokens can be managed through the CLI or supplied in a profile configuration. Operations that act for an organization use an as_org option where documented and require the authenticated user to have the relevant access.

Setup and configuration

Install the package globally with npm install -g linkedctl, or invoke it without a global installation using npx linkedctl --help. The documented prerequisite is Node.js 24 or newer, plus a LinkedIn Developer App with appropriate permissions.

Create the app, configure its OAuth 2.0 credentials, and authenticate with linkedctl auth login --client-id YOUR_CLIENT_ID --client-secret YOUR_CLIENT_SECRET. Configuration is stored in YAML profiles. Supported values include the LinkedIn API version, OAuth client ID and secret, access token, refresh token, and token expiration timestamp.

For Claude Desktop, Cursor, and Windsurf, add an MCP entry that runs npx linkedctl mcp. Claude Code can register the same command with claude mcp add linkedctl -- npx linkedctl mcp.

Tools and capabilities

The linkedctl MCP server exposes these tool groups:

  • Authentication: identify the user, inspect profile authentication, or revoke credentials.
  • Posts: create, fetch, paginate, update commentary, and delete posts.
  • Comments: create, list, retrieve, and delete comments.
  • Reactions: add, list, and remove reactions.
  • Organizations: list administered organizations, retrieve an organization, and count followers.
  • Analytics: inspect metrics for one post, aggregate member post metrics, or retrieve organization share statistics.
  • Media: upload PDF, DOCX, PPTX, DOC, or PPT files up to 100 MB.

Post listing supports pagination. Organization analytics can be lifetime or time-bucketed, while post analytics include impressions, reach, reactions, comments, and reshares.

Limitations and notes

The material specifies LinkedIn API access and appropriate app permissions as prerequisites; it does not describe a separate hosted service. Document uploads are limited to the listed file types and a maximum size of 100 MB. The documented post update operation changes commentary text, and organization actions depend on the authenticated user’s administrative access. API behavior and available operations may also depend on the LinkedIn API version configured in the profile.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Linkedctl

linkedctl is an MCP server that connects AI assistants to LinkedIn through OAuth 2.0 and exposes tools for authentication, posts, comments, reactions, organizations, analytics, and document uploads. It runs locally through the linkedctl mcp command and supports profile-based configuration for selecting credentials and API settings.

Install it with `npm install -g linkedctl`, or run it through `npx` without a global installation. Start the MCP process with `npx linkedctl mcp`. Node.js 24 or newer and a LinkedIn Developer App with suitable permissions are required.

Authenticate with `linkedctl auth login --client-id YOUR_CLIENT_ID --client-secret YOUR_CLIENT_SECRET` after creating and configuring a LinkedIn Developer App. Credentials are stored in YAML profiles, which can contain OAuth client details, access and refresh tokens, and token expiration data.

Yes, linkedctl works with Cursor through a local stdio MCP configuration. Add an `mcpServers` entry in the project’s `.cursor/mcp.json` that runs `npx linkedctl mcp`, then configure LinkedIn OAuth credentials and permissions separately.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLinkedctl AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/linkedctl?style=directory)](https://allmcps.com/mcp/linkedctl)
HTML Embed
<a href="https://allmcps.com/mcp/linkedctl"><img src="https://allmcps.com/api/badge/linkedctl?style=directory" alt="Linkedctl on AllMCPs" /></a>