
fredericbarthelet/linkedin-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Linkedin API 用の MCP サーバー
概要
Linkedinコミュニティ管理APIと連携するためのMCPサーバー。 - ローカルまたはリモートでホストできます。 : MCP で定義されている HTTP + SSE トランスポートを使用する - MCP の Draft サードパーティの認可フローを MCP 仕様から実装し、LinkedIn の OAuth 認可サーバーへの認可を解除します。 ⚠️ 免責事項: 第三者認証フローの提案状況は、現在作成中です。 MCP クライアントのみが、現在プロトコルのこの仕様を実装しているのは、MCP のインスペクタです。 - user-info - ユーザー情報(名前、見出し、プロフィール画像)でログオンした現在の取得 - Create-post - LinkedInの新しい投稿を作成する ホストのLinkedin MCPサーバーを実行する手順に従ってください。 独自のLinkedinクライアントを提供する必要があります.
概要(AI 翻訳)
Linkedinコミュニティ管理APIと連携するためのMCPサーバー。
この MCP サーバー:
- ローカルまたはリモートでホストできます:MCP で定義される HTTP+SSE の輸送を使用
- Draft サードパーティ認証フローを MCP 仕様から実装し、LinkedIn の OAuth 認可サーバーへの認可を委任
⚠️ 免責事項: 第三者認証フローの提案状況は、現在作成中です。 MCP クライアントのみが、現在プロトコルのこの仕様を実装しているのは、MCP のインスペクタです。
##特徴
ツール
- [[
user-info] - ユーザーの情報(名前、見出し、プロフィール画像)に記録された現在の取得 - [
create-post- LinkedInで新しい投稿を作成する
インストール
ホストのLinkedin MCPサーバーを実行する手順に従ってください。 独自のLinkedinクライアントを提供する必要があります。
要件
- ノード22([[T2]))
- 午後10時
- [
Community Management API]製品がインストールされ、[http://localhost:3001/callback]が承認されたリダイレクトURLに追加されたLinkedinクライアント
指示
-
依存関係をインストール:
-
envファイルを作成し、Linkedinクライアントの資格情報と[
JWT_SECRETのランダムな文字列の秘密値で入力します。 -
サーバーを実行します
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
Linkedin MCP Server
MCP server for interacting with Linkedin Community Management API.
This MCP server:
- Can be hosted locally or remotely : uses HTTP+SSE transport defined in MCP
- Implements the Draft Third-Party Authorization Flow from MCP specs to delegate authorization to LinkedIn’s OAuth authorization server
⚠️ Disclaimer: The Third-Party Authorization Flow proposal status is currently in draft. The only MCP client, to my knowledge, that currently implements this specification of the protocol is the MCP Inspector
Features
Tools
user-info- Get current logged in user infos (name, headline and profile picture)create-post- Create a new post on LinkedIn
Installation
Follow those instructions to run Linkedin MCP server on your host. You’ll need to provide your own Linkedin client.
Requirements
- Node 22 (
lts/jod) - pnpm 10
- a Linkedin client with
Community Management APIproduct installed andhttp://localhost:3001/callbackadded to the authorized redirect URLs
Instructions
- Install dependencies:
pnpm install
- Create env file and populate with your Linkedin client credentials and a random string secret value for
JWT_SECRET:
cp .env.template .env && vi .env
- Run the server:
pnpm run dev
- Configure your favorite MCP client to use this new server:
{
"mcpServers": {
"linkedin": {
"url": "http://localhost:3001/sse"
}
}
}
Debugging
Start the MCP Inspector to debug this server, which is available as a package script:
pnpm run inspector
Access the inspector in your browser at http://localhost:5173
Acknowledgment
- Den Delimarsky that bravely gave a first shot at this new authorization flow with Microsoft Entra ID and detailed his results in his blog post: https://den.dev/blog/auth-modelcontextprotocol-entra-id/
- Matt Pocock and his always welcome neat TS tricks specifically in the context of writting your own MCP server on AI Hero: https://www.aihero.dev/publish-your-mcp-server-to-npm
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"linkedin": {
"url": "http://localhost:3001/sse"
}
}
}