SL

souravdasbiswas/linkedin-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

18 stars 14 forks 品質 70 トレンド 22MIT

LinkedInの公式 API 用の MCP サーバー - 投稿の作成、イベントの管理、AI アシスタントによる LinkedIn とのやり取り

概要

LinkedInの公式APIにアクセスできるAIアシスタントを提供するモデルコンテキストプロトコル(MCP)サーバー。 投稿を作成したり、イベントを管理したり、LinkedInとやり取りしたりする - MCP 互換のクライアントを介して自然言語を通してすべて。 スクラップなし、非公式エンドポイントなし、アカウントリスクなし。 - - - 永続トークンストレージで安全な認証 - - 生存サーバーは再認証なしで再起動します(トークンの有効期限が切れる) - - - 容易な参照と削除のためにサーバーによって作成された投稿のローカルSQLiteログ - 応答ヘッダーからLinkedInの実際の制限を学習 - 過渡障害のための指数関数的なバックオフ (429, 5xx) - - 与えられたスコープに合ったツールだけ - - ハンドルLinkedInの月額APIバージョンの回転 1. linkin.com/developers/apps に移動し、2 で署名します。 クリック 3. 必要なフィールドに入力: - : 任意の名前を選択してください (例: "My MCP LinkedIn") - : リンクを選択 ページで、または必要に応じて1を作成します。 : あなたのウェブサイトのURLまたはプレースホルダーを使用できます - : 任意の画像をアップロード (必須) 4.

概要(AI 翻訳)

LinkedInの公式APIにアクセスできるAIアシスタントを提供するモデルコンテキストプロトコル(MCP)サーバー。 投稿を作成したり、イベントを管理したり、LinkedInとやり取りしたりする - MCP 互換のクライアントを介して自然言語を通してすべて。

公式 API のみ。 スクラップなし、非公式エンドポイントなし、アカウントリスクなし。

##特徴

###セルフサーブツール(リンクなしの承認が必要です)

| ツール | 概要 | お問い合わせ | [[T0] | OAuth 2.0 認証フローの開始 | | [linkedin_auth_callback | 認証コードでOAuthを完了 | | [linkedin_auth_logout | トークンを取り消し、ログアウト | | [linkedin_get_my_profile | プロフィール(氏名、見出し、写真、Eメール)をご覧いただけます | | [linkedin_get_my_email | ご登録メールアドレス | |【[T5] | 認証状況の確認 | | [linkedin_get_rate_limits | API利用率制限の使用率 | | 【[T7] | テキスト・記事・画像投稿の作成 | | 【[T8] | 投稿の削除 | | 【[T9] | 投稿のコメント | | 【[T10] | 投稿に反応する(いいね、応援、恋愛、洞察力、面白い) | | 【[T11] | 投稿用画像のアップロードについて |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

LinkedIn MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with access to LinkedIn’s official API. Create posts, manage events, and interact with LinkedIn - all through natural language via any MCP-compatible client.

Official API only. No scraping, no unofficial endpoints, no account risk.

Features

Self-Serve Tools (No LinkedIn Approval Required)

Tool Description
linkedin_auth_start Start OAuth 2.0 authentication flow
linkedin_auth_callback Complete OAuth with authorization code
linkedin_auth_logout Revoke token and log out
linkedin_get_my_profile Get your LinkedIn profile (name, headline, photo, email)
linkedin_get_my_email Get your email address
linkedin_get_auth_status Check authentication status
linkedin_get_rate_limits View API rate limit usage
linkedin_create_post Create text, article, or image posts
linkedin_delete_post Delete your posts
linkedin_create_comment Comment on posts
linkedin_react_to_post React to posts (like, celebrate, support, love, insightful, funny)
linkedin_upload_image Upload images for posts
linkedin_list_my_posts List posts created through this server with URNs for reference
linkedin_create_event Create LinkedIn events
linkedin_get_event Get event details

Architecture Highlights

  • OAuth 2.0 - Secure authentication with persistent token storage
  • Session auto-restore - Survives server restarts without re-authentication (until token expires)
  • Post history tracking - Local SQLite log of posts created through the server for easy reference and deletion
  • Adaptive rate limiting - Learns LinkedIn’s actual limits from response headers
  • Automatic retry - Exponential backoff for transient failures (429, 5xx)
  • Capability detection - Only exposes tools matching your granted scopes
  • API versioning - Handles LinkedIn’s monthly API version rotation

Prerequisites

  1. Node.js 20+
  2. LinkedIn Developer App (see setup steps below)

LinkedIn App Setup

Step 1: Create a LinkedIn Developer App

  1. Go to linkedin.com/developers/apps and sign in
  2. Click Create app
  3. Fill in the required fields:
    • App name: Choose any name (e.g., “My MCP LinkedIn”)
    • LinkedIn Page: Select your LinkedIn page, or create one if needed
    • Privacy policy URL: Can use your website URL or a placeholder
    • App logo: Upload any image (required)
  4. Check the legal agreement box and click Create app

Step 2: Get Your Client ID and Client Secret

  1. After creating the app, you’ll land on the app settings page
  2. Go to the Auth tab
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "linkedin": { "command": "node", "args": ["/path/to/linkedin-mcp-server/dist/index.js"], "env": { "LINKEDIN_CLIENT_ID": "your_client_id", "LINKEDIN_CLIENT_SECRET": "your_client_secret" } } } }