Skip to main content
Glama

LinkedIn Browser MCP Server

by alinaqi

LinkedIn ブラウザ MCP サーバー

LinkedInの自動化とブラウザ自動化によるデータ抽出のためのFastMCPベースのサーバーです。このサーバーは、LinkedInの利用規約とレート制限を遵守しながら、プログラムでLinkedInとやり取りするためのツールセットを提供します。

特徴

  • 安全な認証
    • 環境ベースの資格情報管理
    • 暗号化されたCookieストレージによるセッションの永続化
    • レート制限保護
    • 自動セッション回復
  • プロファイル操作
    • プロフィール情報の表示と抽出
    • キーワードに基づいてプロフィールを検索する
    • LinkedInフィードを閲覧する
    • プロフィール訪問機能
  • 投稿のインタラクション
    • 投稿にいいね!
    • 投稿にコメントする
    • 投稿内容とエンゲージメント指標を読む

前提条件

  • Python 3.8以上
  • 劇作家
  • FastMCPライブラリ
  • LinkedInアカウント

インストール

  1. リポジトリをクローンします。
git clone [repository-url] cd mcp-linkedin-server
  1. 仮想環境を作成してアクティブ化します。
python -m venv env source env/bin/activate # On Windows: env\Scripts\activate
  1. 依存関係をインストールします:
pip install -r requirements.txt playwright install chromium
  1. 環境変数を設定します。ルート ディレクトリに次の内容の.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

使用法

  1. MCP サーバーを起動します。
python linkedin_browser_mcp.py
  1. 利用可能なツール:
  • 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. レート制限: サーバーは過剰なリクエストを防ぐためにレート制限を実装しています。
    • 1時間あたり最大5回のログイン試行
    • 自動セッション再利用
    • ログインの必要性を最小限に抑えるためのCookieの永続性
  2. エラー処理: 以下の包括的なエラー処理:
    • ネットワークの問題
    • 認証失敗
    • LinkedInのセキュリティ上の課題
    • 無効なURLまたはパラメータ
  3. セッション管理:
    • 自動Cookie暗号化
    • セッションの永続性
    • 安全な保管方法

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成する
  3. 変更をコミットする
  4. ブランチにプッシュする
  5. プルリクエストを作成する

ライセンス

マサチューセッツ工科大学

免責事項

このツールは教育目的のみに使用されます。このソフトウェアを使用する際は、LinkedInの利用規約およびレート制限ガイドラインを遵守してください。

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

プログラムによる LinkedIn 自動化とブラウザ自動化によるデータ抽出を可能にする FastMCP ベースのサーバーで、LinkedIn のレート制限を尊重しながら、プロフィール操作と投稿インタラクションのための安全な認証とツールを提供します。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 使用法
          1. 使用例
        2. セキュリティ機能
          1. ベストプラクティス
            1. 貢献
              1. ライセンス
                1. 免責事項

                  Related MCP Servers

                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that enables seamless interaction with LinkedIn for job applications, profile retrieval, feed browsing, and resume analysis through natural language commands.
                    Last updated -
                    22
                  • A
                    security
                    F
                    license
                    A
                    quality
                    MCP server that fetches LinkedIn profile information using the Fresh LinkedIn Profile Data API, allowing users to retrieve profile data in JSON format by providing a LinkedIn profile URL.
                    Last updated -
                    1
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A FastMCP server that enables browser automation through natural language commands, allowing Language Models to browse the web, fill out forms, click buttons, and perform other web-based tasks via a simple API.
                    Last updated -
                    3
                  • -
                    security
                    F
                    license
                    -
                    quality
                    Automates the creation and scheduling of LinkedIn posts using MCP server integration, allowing users to manage content and automatically publish to their LinkedIn accounts.
                    Last updated -
                    1

                  View all related MCP servers

                  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/alinaqi/mcp-linkedin-server'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server