LinkedIn Browser MCP Server
LinkedIn ブラウザ MCP サーバー
LinkedInの自動化とブラウザ自動化によるデータ抽出のためのFastMCPベースのサーバーです。このサーバーは、LinkedInの利用規約とレート制限を遵守しながら、プログラムでLinkedInとやり取りするためのツールセットを提供します。
特徴
安全な認証
環境ベースの資格情報管理
暗号化されたCookieストレージによるセッションの永続化
レート制限保護
自動セッション回復
プロファイル操作
プロフィール情報の表示と抽出
キーワードに基づいてプロフィールを検索する
LinkedInフィードを閲覧する
プロフィール訪問機能
投稿のインタラクション
投稿にいいね!
投稿にコメントする
投稿内容とエンゲージメント指標を読む
Related MCP server: LinkedIn MCP
前提条件
Python 3.8以上
劇作家
FastMCPライブラリ
LinkedInアカウント
インストール
リポジトリをクローンします。
git clone [repository-url]
cd mcp-linkedin-server仮想環境を作成してアクティブ化します。
python -m venv env
source env/bin/activate # On Windows: env\Scripts\activate依存関係をインストールします:
pip install -r requirements.txt
playwright install chromium環境変数を設定します。ルート ディレクトリに次の内容の
.envファイルを作成します。
LINKEDIN_USERNAME=your_email@example.com
LINKEDIN_PASSWORD=your_password
COOKIE_ENCRYPTION_KEY=your_encryption_key # Optional: will be auto-generated if not provided使用法
MCP サーバーを起動します。
python linkedin_browser_mcp.py利用可能なツール:
login_linkedin_secure: 環境の資格情報を使用して安全にログインするbrowse_linkedin_feed: フィードから投稿を閲覧して抽出するsearch_linkedin_profiles: 条件に一致するプロフィールを検索するview_linkedin_profile: 特定のプロフィールからデータを表示および抽出しますinteract_with_linkedin_post: 投稿に「いいね!」、コメント、または読む
使用例
from fastmcp import FastMCP
# Initialize client
client = FastMCP.connect("http://localhost:8000")
# Login
result = await client.login_linkedin_secure()
print(result)
# Search profiles
profiles = await client.search_linkedin_profiles(
query="software engineer",
count=5
)
print(profiles)
# View profile
profile_data = await client.view_linkedin_profile(
profile_url="https://www.linkedin.com/in/username"
)
print(profile_data)セキュリティ機能
暗号化されたCookieの保存
レート制限保護
安全な資格情報管理
セッションの永続性
ブラウザ自動化セキュリティ対策
ベストプラクティス
レート制限: サーバーは過剰なリクエストを防ぐためにレート制限を実装しています。
1時間あたり最大5回のログイン試行
自動セッション再利用
ログインの必要性を最小限に抑えるためのCookieの永続性
エラー処理: 以下の包括的なエラー処理:
ネットワークの問題
認証失敗
LinkedInのセキュリティ上の課題
無効なURLまたはパラメータ
セッション管理:
自動Cookie暗号化
セッションの永続性
安全な保管方法
貢献
リポジトリをフォークする
機能ブランチを作成する
変更をコミットする
ブランチにプッシュする
プルリクエストを作成する
ライセンス
マサチューセッツ工科大学
免責事項
このツールは教育目的のみに使用されます。このソフトウェアを使用する際は、LinkedInの利用規約およびレート制限ガイドラインを遵守してください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
A hosted LinkedIn MCP server for your own account. Paste one address into Claude, ChatGPT, Cursor or n8n to read your inbox, send messages and invitations, and search people. Free to start. Not made by LinkedIn.
Hosted LinkedIn MCP server on your own account: 35 tools for search, profiles, inbox, posts, pages.
Sales MCP server for AI agents: find, enrich, score and reach leads on LinkedIn, track replies.
Related MCP Servers
- AlicenseAqualityDmaintenanceFully featured MCP server that provides automation tools for LinkedIn, supporting browser-based scraping and API-based operations for content management, media uploads, and reactions.64MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for programmable LinkedIn automation via Playwright, offering 20 tools for profile management, messaging, feed interaction, and job searching through real browser automation.18 npmMIT
- AlicenseBqualityDmaintenancePlaywright-powered MCP server for LinkedIn that automates jobs, profile edits, messaging, network actions, and feed posts using a real logged-in browser session.36Apache 2.0
- FlicenseAqualityDmaintenanceMCP server for automating LinkedIn actions such as reading feeds, sending messages, creating posts, and managing connections. Uses browser automation with proxy and stealth support.21-