npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kembec/linkedin-mcp-linux-x64

v0.1.8

Published

linkedin-mcp binary for linux x64

Downloads

1,170

Readme

linkedin-mcp

npm License

LinkedIn MCP server — read your profile, publish posts, and manage your LinkedIn presence from Cursor, Claude Desktop, or any MCP-compatible AI client. Single Rust binary, no runtime required.

Step 1 — Create a LinkedIn Developer App

  1. Go to LinkedIn Developer Portal and click Create app
  2. Fill in app name, associate it with a LinkedIn Page, and accept terms
  3. Under Auth tab → OAuth 2.0 settings, add this redirect URL:
    http://127.0.0.1:9876/callback
  4. Under Products tab, request Sign In with LinkedIn using OpenID Connect (approved instantly)
  5. Go back to Auth tab and copy your Client ID and Client Secret

That's it — you now have everything needed to authenticate.

Step 2 — Install

npm install -g @kembec/linkedin-mcp

Or run without installing:

npx -y @kembec/linkedin-mcp auth

Step 3 — Authenticate

export LINKEDIN_CLIENT_ID="your-client-id"
export LINKEDIN_CLIENT_SECRET="your-client-secret"
linkedin-mcp auth

Your browser opens automatically. Log in to LinkedIn, click Allow, and the token is saved. Done.

To use multiple accounts:

linkedin-mcp auth work
linkedin-mcp auth personal

Tokens are stored at ~/.config/kembec/linkedin-mcp/tokens/ with permissions 0600. Credentials are never written to disk.

Step 4 — Configure your AI client

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "linkedin": {
      "command": "npx",
      "args": ["-y", "@kembec/linkedin-mcp"],
      "env": {
        "LINKEDIN_CLIENT_ID": "your-client-id",
        "LINKEDIN_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "linkedin": {
      "command": "npx",
      "args": ["-y", "@kembec/linkedin-mcp"],
      "env": {
        "LINKEDIN_CLIENT_ID": "your-client-id",
        "LINKEDIN_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Codex CLI

Add to ~/.codex/config.toml:

[mcp_servers.linkedin]
command = "npx"
args = ["-y", "@kembec/linkedin-mcp"]

[mcp_servers.linkedin.env]
LINKEDIN_CLIENT_ID = "your-client-id"
LINKEDIN_CLIENT_SECRET = "your-client-secret"

Available tools

Profile & posts (standard access — no partner approval needed)

| Tool | Description | |------|-------------| | get-profile | Your profile: name, email, profile picture URL | | create-post | Publish a text post. Params: text (required), visibility (PUBLIC or CONNECTIONS, default PUBLIC) | | get-own-posts | List your recent posts. Params: count (default 10), start (default 0) | | delete-post | Delete a post by post ID or full URN | | get-company | Organization details by org_id | | manage-accounts | List or remove stored OAuth tokens. Params: action (list or remove), account (for remove) |

Tools that require LinkedIn Partner approval

These tools are implemented and return a descriptive error if your app lacks the required scope. Apply at LinkedIn Developer — Product catalog.

| Tool | Required scope | Description | |------|----------------|-------------| | get-connections | r_network | List 1st-degree connections | | search-jobs | r_jobs | Search job postings by keywords and location | | send-message | w_messages | Send a direct message to a member URN |

Tools not available in the standard API

| Tool | Notes | |------|-------| | search-people | Requires Recruiter, Talent Hub, or Sales Navigator — not part of the standard member API |

Environment variables

| Variable | Required | Description | |----------|----------|-------------| | LINKEDIN_CLIENT_ID | Yes | OAuth app client ID | | LINKEDIN_CLIENT_SECRET | Yes | OAuth app client secret | | LINKEDIN_OAUTH_PORT | No | Fixed port for the local OAuth callback server (default: dynamic). Set to 9876 if you registered http://127.0.0.1:9876/callback | | LINKEDIN_REDIRECT_URI | No | Override the full redirect URI (advanced use) |

Building from source

git clone https://github.com/Kembec/linkedin-mcp.git
cd linkedin-mcp
cargo build --release
export LINKEDIN_CLIENT_ID="your-client-id"
export LINKEDIN_CLIENT_SECRET="your-client-secret"
./target/release/linkedin-mcp auth

License

MIT — see LICENSE.