linkedin-mcp
linkedin-mcp
Claude Code から自分の LinkedIn プロフィールを編集するための MCP サーバーです。厳格な propose-then-approve(提案→承認)の分割を採用しています。モデルは変更をドラフトして diff を表示できますが、書き込みを行えるツールはただ1つだけで、そのツールはあなたが確認した提案にのみ作用します。
パートナー連盟gating: LinkedIn の Profile Edit API は、LinkedIn に承認されたパートナー開発者のみを制限としています(
w_complianceは「非公開権限であり、選択された開発者にのみアクセスが付」 — は、docs/api-notes.md 参照)。パートナー承認が完了するまで、apply_proposalは invalid-scope エラーを返します。これは予想道理であり、欠陞ではありません。 それ以外(OAuth、提案、diff)は、現在も動作します。
しくみ
ツル | 機能 | LinkedIn への書き込み? |
| LinkedIn の OAuth URL を表し、localhost への一度限りのリダイレクトをま受け取り、コード交換とトークンの保存を行います。 | いいえ(OAuth のみ) |
| トークンが存在するかどうかと、その期限を報アします。 | いいえ |
| 自分のプロフイールを取得します( | いいえ |
| 変更(出し、概要、職務スキル、学歴)の正しい API リクエストを構築、提案として保存、unified diff と | 決った書込みません |
| 保存された提案を一覧表示します。 | いいえ |
| 保存された提案を削除します。 | いいえ |
| 保存された提案を1つ LinkedIn に送信します — 唯一の書込みツールです。コードで強制された確認ゲートがあり、 | はい |
提案は ~/.config/linkedin-mcp/proposals/ に保存されるため、後のセッションで承認を行うこともできます。とう。トークンとクライアント認証情報は ~/.config/linkedin-mcp/.env に権限 600 で保存され、あなた自身が入力するもので、エージェントが入力することはなく、コミットされることもありません(を見 .env.example を参照)。
Related MCP server: kaushik-linkedin-mcp
インストール
Python ≥ 3.11 が必要です。
{
"mcpServers": {
"linkedin": {
"command": "bash",
"args": ["/path/to/linkedin-mcp/run.sh"]
}
}
}run.sh は初回起動時に .venv/ を作成し、固定化された依存関係をインストールします(stamp-gated で、ブートストラップ出力はすべて stderr に送られ、MCP stdio チャネルをクリーンに保ちます)。
セットアップ
docs/SETUP-KYLE.md に従ってください。LinkedIn Developer アプリの作成、リダイレクト URL の登録、~/.config/linkedin-mcp/.env の入力、auth_start の実行、パートナープログラムへの申請までを説明しています。
開発
bash run.sh --help # bootstraps the venv (runtime deps only)
.venv/bin/pip install -r requirements-dev.txt # adds pytest + coverage tooling
.venv/bin/python -m pytest # offline — every test runs against a mock transportテストスイートには、granted-write fixture(書き込み許可フィクスチャ) が含まれています。これは、ドキュメント化されたすべての書き込みエンドポイントが 200 を返すモックの LinkedIn です。テストは、書き込みが成功する場合でも propose_edit が記録されたログに GET 以外のリクエストをゼロしか残さないこと、また(ポジティブコントロールとして)同じフィクスチャで apply_proposal がドキュメント化された書き込み呼び出しを記録することを検証します。--live-probe は診断用フラグであり、実際のリクエストを 1 回だけ送信して「エンドポイントは正しいがスコープが付与されていない」ことと「エンドポイントが正しくない」ことを区別します。これはテストや CI では実行されず、LINKEDIN_MCP_LIVE_PROBE=1 が必要です。
API サーフェスは、docs/api-notes.md にある日付付きの公式ドキュメントからの原文引用に固定されています。
ライセンス
MIT — LICENSE を参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables Claude to interact with LinkedIn for posting, commenting, sharing media, and viewing feed and profile.91773MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude AI to interact with LinkedIn through browser automation, including profile reading, people and job search, company research, post publishing, and profile editing.MIT
- AlicenseAqualityDmaintenanceEnables posting content, sharing articles, and managing your LinkedIn profile through Claude using the official LinkedIn API with OAuth 2.0.610MIT
- AlicenseBqualityCmaintenanceEnables drafting, formatting, analyzing, and publishing LinkedIn posts directly from MCP-compatible clients like Claude.5177MIT
Related MCP Connectors
233 tools for Google, Microsoft, TikTok, LinkedIn Ads in Claude or ChatGPT. Writes need approval.
Let AI tools securely access your LinkedIn network and DMs
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kyle-nelson-berkeley/linkedin-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server