MCP ScannerCustom audit
All servers

stickerdaniel/linkedin-mcp-server

Open-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.

Packagemcp-server-linkedin
Version4.31.0 in pyproject.toml
Publisherstickerdaniel community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 4,221Forks 750Last push 2026-11-14
Python 99.7%JavaScript 0.3%by source files the scanner reads
Code safetypartly tracedExposure6.1Prompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence80%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure6.1/10Fair

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 162 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 1 file reached by the taint walk exceeded the 524288 byte size limit and were read and parsed only up to it
  • 1 file exceeded the 524288 byte size limit and were parsed only up to it
  • 1 source file could be read only in part
  • 1 of 87 tools, prompts and resources could not be followed through the code
  • 56 tools, prompts and resources registered only in the repository's tests are not counted on this page

Top risks in plain words

  • INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 30 tools, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
archive_conversation, close_session, connect_with_person, dismiss_job, get_company_employees, get_company_posts and 24 more
30 of 31
Connect to the internet or other hostssend requests or open connections
archive_conversation, connect_with_person, dismiss_job, get_company_employees, get_company_posts, get_company_profile and 18 more
24 of 31
Read environment variablesoften where API keys are kept
archive_conversation, close_session, connect_with_person, dismiss_job, get_company_employees, get_company_posts and 20 more
26 of 31

No tool was seen to: start other programs on the machine; read passwords, tokens or keys; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files30 tools · archive_conversation, close_session, connect_with_person +27

Tool annotations

29 of 31 tools declare annotations. readOnlyHint 18, destructiveHint 5, idempotentHint 3, openWorldHint 25.

Tools, prompts and resources (31: 30 tools, 1 resource)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

login_viewresource The page open_login shows to sign in to LinkedIn.Filesoutside text
The page open_login shows to sign in to LinkedIn.
archive_conversationtool Archive one LinkedIn messaging thread, InMail included, by thread ID.FilesNetworkEnv varsoutside text
Archive one LinkedIn messaging thread, InMail included, by thread ID.

        Opens the thread, which marks it read, and chooses Archive from its
        options menu. A thread LinkedIn already files as archived is left
        alone and reported already_archived, so a repeated call clicks
        nothing. The change is confirmed by loading the thread again.
        Reversible on LinkedIn; a new message moves the thread back to the
        inbox.

        Args:
            thread_id: LinkedIn messaging thread ID, as get_inbox,
                search_conversations or get_conversation return it
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url, thread_id, participant (the thread's names, or null)
            and status: "archived" or "already_archived".
close_sessiontool Close the current browser session and clean up resources.FilesEnv varsoutside textdestructive (declared)
Close the current browser session and clean up resources.
connect_with_persontool Send a LinkedIn connection request or accept an incoming one.FilesNetworkEnv varsoutside textdestructive (declared)
Send a LinkedIn connection request or accept an incoming one.

        Where the client supports elicitation, the user confirms the
        invitation in the client before anything is sent.

        Args:
            linkedin_username: LinkedIn username (e.g., "stickerdaniel", "williamhgates"). A full profile URL is accepted too and is reduced to the username.
            ctx: FastMCP context for progress reporting
            note: Optional note to include with the invitation

        Returns:
            Dict with url, status, message, and note_sent.
            Statuses: pending, already_connected, follow_only,
            connect_unavailable, unavailable, send_failed,
            note_not_supported, custom_note_limit_reached,
            connected, or accepted.

            ``connected`` means this call submitted the invitation and the
            re-read profile no longer exposes Connect; it does not mean a
            1st-degree connection. The ``message`` names the state read after
            the send, normally pending. ``pending`` means an invitation was
            already outstanding before the call, and ``accepted`` means an
            incoming invitation was accepted.

            When status is ``custom_note_limit_reached`` LinkedIn rejected
            personalized invite notes because the free note quota for the
            account is exhausted. The ``message`` is the raw Premium dialog
            text read from LinkedIn.

            A status of ``outcome_unknown`` comes from the transport rather
            than the page: the call's answer never arrived from the browser
            process, so whether the invitation was sent is unknown. It carries
            ``retry_safe: False`` and no ``note_sent``; check the profile
            before calling again, because a repeat may invite twice.
dismiss_jobtool Dismiss a job from LinkedIn job search so later searches never show it.FilesNetworkEnv varsoutside textdestructive (declared)
Dismiss a job from LinkedIn job search so later searches never show it.

        For jobs already applied to or rejected. Reads the job's title and
        company from its posting, clicks the dismiss button on its card in a
        worldwide search for them, then reloads that search to confirm the job
        is gone. Irreversible: LinkedIn offers no undo after a reload. A job
        that search does not list on its first page is an error, since an
        already dismissed job and a search that missed it look the same.

        Args:
            job_id: LinkedIn job ID (e.g., "4252026496", "3856789012")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url (the search), job_id, keywords (the searched title
            and company), dismissed (true) and already_dismissed, true when
            the card was already dismissed.
get_company_employeestool List employees at a company from the LinkedIn /people/ page, includingFilesNetworkEnv varsoutside textread-only (declared)
List employees at a company from the LinkedIn /people/ page, including
        the demographics aggregate that this view exposes: where employees
        live, where they studied, and a function breakdown (Engineering, Sales,
        Operations, etc.). The demographics are unique to this tool.

        For filtered search by network degree (1st/2nd/3rd) or location, prefer
        search_people with current_company set to the company URN id. That path
        also returns more result pages than the /people/ tab.

        The optional keywords filter narrows results by name, title, or skill.

        company_name must be the exact LinkedIn URL slug (the path segment after
        /company/), not the display name. LinkedIn assigns unique slugs and the
        display name often does not match. For example, the AI lab Anthropic
        lives at /company/anthropicresearch/, not /company/anthropic/. If you
        are unsure of the slug, call search_companies first and pick the slug
        from the returned references.

        Args:
            company_name: LinkedIn company URL slug (e.g., "docker", "anthropicresearch", "microsoft"). A full company URL is accepted too and is reduced to the slug.
            ctx: FastMCP context for progress reporting
            keywords: Optional filter by name, job title, or skill (e.g., "engineer", "sales")

        Returns:
            Dict with url, sections (employees -> raw text), and optional references.
            References include /in/ profile paths for listed employees.
get_company_poststool Get recent posts from a company's LinkedIn feed.FilesNetworkEnv varsoutside textread-only (declared)
Get recent posts from a company's LinkedIn feed.

        Args:
            company_name: LinkedIn company name (e.g., "docker", "anthropic", "microsoft"). A full company URL is accepted too and is reduced to the slug.
            ctx: FastMCP context for progress reporting
            max_scrolls: Maximum scroll-to-bottom iterations to load more posts.
                Default (None) uses 10. Increase to read further back in the feed.

        Returns:
            Dict with url, sections (name -> raw text), and optional references.
            The LLM should parse the raw text to extract individual posts.
get_company_profiletool Get a specific company's LinkedIn profile.FilesNetworkEnv varsoutside textread-only (declared)
Get a specific company's LinkedIn profile.

        Args:
            company_name: LinkedIn company name (e.g., "docker", "anthropic", "microsoft"). A full company URL is accepted too and is reduced to the slug.
            ctx: FastMCP context for progress reporting
            sections: Comma-separated list of extra sections to read.
                The about page is always included.
                Available sections: posts, jobs
                Examples: "posts", "posts,jobs"
                Default (None) reads only the about page.

        Returns:
            Dict with url, sections (name -> raw text), and optional references.
            Includes unknown_sections list when unrecognised names are passed.
            The LLM should parse the raw text in each section.

            When the about section is included, references["about"] may
            include a {kind: "company_urn", value: "<numeric-id>"} entry —
            present whenever the page exposes the "See all employees" link
            (typically all but the smallest companies). The value is the
            numeric id LinkedIn's people-search uses in its currentCompany
            URL facet; plain-text company names are silently ignored by
            that facet.
get_conversationtool Read a specific messaging conversation.FilesNetworkEnv varsoutside text
Read a specific messaging conversation.

        Provide either linkedin_username or thread_id to identify the conversation.

        When looked up by linkedin_username, resolution searches the messaging
        inbox for the participant's display name and click-visits every
        matching row to capture its thread ID — LinkedIn's sidebar has no
        anchor hrefs or thread-id attributes, so this is the only available
        path. Each visit selects the row in the LinkedIn UI and may mark it
        as read. Pass thread_id directly to skip this enumeration.

        Username resolution scans matching rows from a requested compose page
        first. Its indexable sequence ends before the first unresolved click,
        missing matching click target, or admitted row that fails the existing
        exact display-name check. An index outside that verified prefix is
        refused with its reason. Search is a fallback only when the inbox scan
        has no observed matching result and no such barrier; it never
        substitutes a result after a stopped or gapped inbox scan. Pass a known
        thread_id to bypass username/index resolution.

        Args:
            ctx: FastMCP context for progress reporting
            linkedin_username: LinkedIn username of the conversation participant; a full profile URL is accepted too
            thread_id: LinkedIn messaging thread ID
            index: 0-based selector for which thread to open when the
                participant has multiple threads (e.g. an organic 1-on-1 plus
                an InMail). Ignored when thread_id is provided. To enumerate
                thread IDs first, call search_conversations.

        Returns:
            Dict with url, sections (conversation -> raw text), and optional references.
get_easy_apply_formtool Read the questions of a job posting's Easy Apply form, without answering them.FilesNetworkEnv varsoutside text
Read the questions of a job posting's Easy Apply form, without answering them.

        Opens Easy Apply and reads each step: every field's label, type, whether
        it is required, its options, character limit and prefilled value. Next
        is clicked only while LinkedIn accepts a step on its prefilled values,
        so the first step that needs input ends the read. Nothing is typed,
        Review and Submit are never clicked, and the dialog is closed with its
        draft discarded.

        Args:
            job_id: LinkedIn job ID (e.g., "4252026496", "3856789012")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url and apply: {type} (easy_apply, external, applied,
            closed or unknown). Easy Apply postings add form: {steps, complete},
            each step {heading?, progress?, fields}. complete is false when
            steps after the last one were not read; the fields LinkedIn refused
            on that step carry its error. section_errors reports a form that
            could not be read or a draft that could not be discarded.
get_feedtool Get posts from the authenticated user's LinkedIn feed.FilesNetworkEnv varsoutside textread-only (declared)
Get posts from the authenticated user's LinkedIn feed.

        Args:
            ctx: FastMCP context for progress reporting
            num_posts: Number of posts to fetch (1-50, default 10).
                       Posts are loaded in batches of ~5 as the page scrolls,
                       so the actual count may slightly exceed the target.

        Returns:
            Dict with url, sections (name -> raw text), and optional keys:
            - references["feed"]: list of {kind: "feed_post", url, ...}
              entries. URLs are relative paths and may carry either
              ``/feed/update/<urn>/`` (DOM-anchor-derived) or
              ``/posts/<slug>`` (SDUI-derived) shape — both are valid
              LinkedIn permalinks. An entry paired with a rendered post
              carries that post's URN as ``value`` and may carry ``text``
              (an excerpt of the post).
            - section_errors: present when the feed is rate-limited or
              extraction fails.

            Truncated posts are not auto-expanded; full text for any post
            is reachable via its permalink in references["feed"]. The LLM
            should parse sections["feed"] for post bodies.
get_inboxtool List recent conversations from the LinkedIn messaging inbox.FilesNetworkEnv varsoutside textread-only (declared)
List recent conversations from the LinkedIn messaging inbox.

        The returned inbox text and result URL come from the ordinary messaging
        inbox. Click-derived conversation references are collected separately
        after requesting the compose page, which avoided inbox auto-opening on
        the measured variant. A row contributes a click-derived reference only
        after its click is followed by an observed different thread path. The
        scan stops at its first unverifiable click. section_errors.inbox
        reports that stop or unavailable scan rows; captured inbox text and
        independently extracted anchors retain their normal handling. A known
        thread_id can bypass row attribution when calling get_conversation.

        Args:
            ctx: FastMCP context for progress reporting
            limit: Maximum number of conversations to load (1-50, default 20)

        Returns:
            Dict with url, sections (inbox -> raw text), optional references, and
            optional section_errors (inbox -> why click-derived references are
            incomplete).
get_job_apply_urltool Get how a job posting takes applications, and the employer's application link.FilesNetworkEnv varsoutside textread-only (declared)
Get how a job posting takes applications, and the employer's application link.

        Reads the posting without clicking anything.

        Args:
            job_id: LinkedIn job ID (e.g., "4252026496", "3856789012")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url and apply: {type, url?}. type is easy_apply,
            external, applied, closed or unknown. url is the employer's
            application link as LinkedIn gives it, for external postings;
            it is not opened, so a short link is returned unexpanded.
            A posting that could not be read returns section_errors instead.
get_job_detailstool Get job details for a specific job posting on LinkedIn.FilesNetworkEnv varsoutside textread-only (declared)
Get job details for a specific job posting on LinkedIn.

        Args:
            job_id: LinkedIn job ID (e.g., "4252026496", "3856789012")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url, sections (name -> raw text), and optional references.
            The LLM should parse the raw text to extract job details. Jobs in
            the posting's "More jobs" list are references with context
            "similar job"; their ids work with get_job_details.
            section_errors.job_posting.error_type "description_missing" means
            the captured text lacks the expected "About the job" heading.
            The text is kept but may be incomplete; calling again may return more.
            A posting that shows it was applied to or has closed also carries
            apply: {type: "applied" | "closed"}; no apply key means neither
            was read, not that the posting is open.
get_my_profiletool Get the authenticated user's own LinkedIn profile.FilesNetworkEnv varsoutside textread-only (declared)
Get the authenticated user's own LinkedIn profile.

        Navigates to /in/me/ and resolves the redirect to obtain the real
        username before reading the profile, so the url field in the result is the actual
        profile URL (e.g. linkedin.com/in/johndoe/) rather than /in/me/.

        Args:
            ctx: FastMCP context for progress reporting
            sections: Comma-separated list of extra sections to read.
                The main profile page is always included.
                Available sections: experience, education, interests, honors, volunteering, languages, certifications, skills, projects, contact_info, posts
                Examples: "experience,education", "contact_info", "skills,projects"
                Default (None) reads only the main profile page.
            max_scrolls: Maximum pagination attempts per section (same as get_person_profile).

        Returns:
            Dict with url, sections (name -> raw text), and optional references and section_errors.
            The url field reflects the resolved profile URL, revealing the real username.
            Sections may be absent if extraction yielded no content for that page.
            contact_info is read only from an accepted contact-overlay root. If no such root
            is found, the section is omitted and section_errors explains the failure;
            underlying profile text and links are never substituted. Existing suspected
            rate-limit retry and stop behavior is retained.
            Includes unknown_sections when unrecognised names are passed.
get_person_profiletool Get a specific person's LinkedIn profile.FilesNetworkEnv varsoutside textread-only (declared)
Get a specific person's LinkedIn profile.

        Args:
            linkedin_username: LinkedIn username (e.g., "stickerdaniel", "williamhgates"). A full profile URL is accepted too and is reduced to the username.
            ctx: FastMCP context for progress reporting
            sections: Comma-separated list of extra sections to read.
                The main profile page is always included.
                Available sections: experience, education, interests, honors, volunteering, languages, certifications, skills, projects, contact_info, posts
                Examples: "experience,education", "contact_info", "skills,projects", "honors,languages", "posts"
                Default (None) reads only the main profile page.
            max_scrolls: Maximum pagination attempts per section to load more content.
                On detail sections (experience, certifications, skills, etc.) this
                is the max number of "Show more" button clicks. On activity/posts
                it is the max scroll-to-bottom iterations. Applies to all sections
                in this call. Default (None) uses 5 for detail sections and 10 for
                posts. Increase when a profile has many items in a section
                (e.g., 30+ certifications, max_scrolls=20). To avoid slowing down
                other sections, request heavy sections in a separate call.

        Returns:
            Dict with url, sections (name -> raw text), and optional references and section_errors.
            Sections may be absent if extraction yielded no content for that page.
            contact_info is read only from an accepted contact-overlay root. If no such root
            is found, the section is omitted and section_errors explains the failure;
            underlying profile text and links are never substituted. Existing suspected
            rate-limit retry and stop behavior is retained.
            Includes unknown_sections when unrecognised names are passed.
            The LLM should parse the raw text in each section.
get_saved_jobstool List the authenticated user's jobs at one stage of LinkedIn's job tracker.FilesNetworkEnv varsoutside textread-only (declared)
List the authenticated user's jobs at one stage of LinkedIn's job tracker.

        Returns job_ids that can be passed to get_job_details for full info.

        Args:
            ctx: FastMCP context for progress reporting
            max_pages: Maximum number of tracker pages to load (1-10, default 3)
            stage: Tracker tab: saved (default), in_progress, applied or
                archived. applied lists Easy Apply submissions and external
                applications the user confirmed to LinkedIn.

        Returns:
            Dict with url, sections (name -> raw text), job_ids (list of
            numeric job ID strings usable with get_job_details), and optional references.
get_session_statustool Report local saved-session and serving-process state for requested diagnostics.FilesEnv varsoutside textread-only (declared)
Report local saved-session and serving-process state for requested diagnostics.

            Reads local observations without opening a browser, starting setup or login,
            or contacting LinkedIn. Stored files do not prove current authentication.
            In shared-browser mode these observations belong to the owner, not to a
            frontend running a login. It answers during browser work without refreshing
            the browser idle timer. Use ordinary LinkedIn tools directly for their
            requested work rather than adding a status preflight.
get_sidebar_profilestool Get profile links from sidebar recommendation sections on a LinkedIn profile page.FilesNetworkEnv varsoutside textread-only (declared)
Get profile links from sidebar recommendation sections on a LinkedIn profile page.

        Extracts profiles from "More profiles for you", "Explore premium profiles",
        and "People you may know" sidebar sections. Follows "Show all" links to
        return the full list from each section. Sections that redirect to
        linkedin.com/premium are skipped.

        Args:
            linkedin_username: LinkedIn username of the profile page to read; a full profile URL is accepted too
                (e.g., "stickerdaniel", "williamhgates")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url and sidebar_profiles mapping section key to a list of
            /in/username/ paths. Only sections present on the page are included.
login_view_attachtool Called by the sign-in view: the grant for the open its result named.Filesoutside textread-only (declared)
Called by the sign-in view: the grant for the open its result named.
login_view_frametool Called by the sign-in view: the page once it differs from frame *after*.Filesoutside textread-only (declared)
Called by the sign-in view: the page once it differs from frame *after*.
login_view_inputtool Called by the sign-in view: replay the user's input into the page.Filesoutside text
Called by the sign-in view: replay the user's input into the page.
open_logintool Show the LinkedIn sign-in inside this chat, so the user can sign in there.FilesNetworkEnv varsoutside text
Show the LinkedIn sign-in inside this chat, so the user can sign in there.

        Call it when a tool says to call open_login. The user signs in in the
        view; call the original tool again once the view says Signed in.
reply_to_conversationtool Reply inside an existing LinkedIn messaging thread, InMail included.FilesNetworkEnv varsoutside textdestructive (declared)
Reply inside an existing LinkedIn messaging thread, InMail included.

        Opens /messaging/thread/<thread_id>/ and types into that thread's own
        reply composer, so the message lands in the same conversation. This is
        the path for answering a recruiter InMail, whose sender may have no
        Message action on their profile. Get the thread_id from get_inbox,
        search_conversations or get_conversation.

        The thread is verified before anything is typed: the page must land on
        exactly the requested thread and stay there, and the composer must be
        the page's one visible editor, inside the thread's main region, with
        one submit button in its own form. Any doubt fails closed. Quick-reply
        buttons an InMail shows ("Yes, interested...", "No thanks...") are
        never clicked; a thread that offers only those has no composer and
        returns composer_unavailable. A draft already in the composer is left
        untouched and returns composer_occupied. A ``status`` of
        ``enter_to_send_enabled`` means LinkedIn's "Press Enter to Send"
        preference hides the Send button; relay the returned instructions as
        for send_message. The dry run reports it too. No Voyager or other
        private API is used. This is a write operation when confirm_send is
        True.

        Args:
            thread_id: LinkedIn messaging thread ID, or a /messaging/thread/<id>/
                reference as another tool returned it
            message: Message text, read as send_message reads it: LF, CRLF and
                CR all end a line, empty lines are kept, and the whole message
                is trimmed. Tab, other control characters, DEL, U+0085, U+2028
                and U+2029 are refused.
            confirm_send: Must be True to send. False is a dry run that verifies
                the thread and composer, types nothing, and says who the reply
                would go to.
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url, status, message, recipient_selected, sent, retry_safe,
            thread_id and participant. ``participant`` is the name shown in the
            thread's title, or null where it could not be read. ``sent`` and
            ``retry_safe`` mean what they mean for send_message: ``sent`` is
            true only after the submitted message's DOM node gains a different
            opaque event ID, and ``retry_safe`` is false from the moment a
            submission is attempted, so calling again while it is false can
            deliver the message twice. A ``status`` of ``outcome_unknown``
            means the browser went away mid-call and only LinkedIn can say
            whether the message left.
search_companiestool Search for companies on LinkedIn.FilesNetworkEnv varsoutside textread-only (declared)
Search for companies on LinkedIn.

        Args:
            keywords: Search keywords (e.g., "fintech", "anthropic", "electric vehicles")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url, sections (search_results -> raw text), and optional references.
            The LLM should parse the raw text to extract individual companies and their pages.
search_conversationstool Search messages by keyword.FilesNetworkEnv varsoutside text
Search messages by keyword.

        Click-derived references require an observed different thread path
        after each row click. The first unverifiable click stops further row
        clicks and is reported in section_errors.search_results. Already-read
        text and independently extracted anchors retain their normal handling.
        A result without that diagnostic does not guarantee that every
        conversation was enumerated.

        Args:
            keywords: Search keywords to filter conversations
            ctx: FastMCP context for progress reporting
            limit: Maximum number of search-result rows to enumerate as
                conversation references (1-50, default 20). Each enumeration
                selects the row in LinkedIn's UI and may mark it as read, so
                a low cap is preferable for noisy queries.

        Returns:
            Dict with url, sections (search_results -> raw text), optional
            references, and optional section_errors (search_results -> where
            click-derived references stopped).
search_jobstool Search for jobs on LinkedIn.FilesNetworkEnv varsoutside textread-only (declared)
Search for jobs on LinkedIn.

        Returns job_ids that can be passed to get_job_details for full info.

        LinkedIn is moving accounts to a redesigned job search, which keeps
        only the keywords, date_posted and paging. It drops the filters
        marked "Classic search only" and reports them in section_errors as
        filters_dropped. When it drops the location or work type, search again
        with them in the keywords ("remote python developer in Lyon") and keep
        doing so; words such as "senior" or "internship" there narrow the
        results too. Quotes do not make a phrase exact on that search.

        Args:
            keywords: Search keywords (e.g., "software engineer", "data scientist")
            ctx: FastMCP context for progress reporting
            location: Optional location filter (e.g., "San Francisco", "Remote"). Classic search only.
            max_pages: Maximum number of result pages to load (1-10, default 3)
            date_posted: Filter by posting date (past_hour, past_24_hours, past_week, past_month)
            job_type: Filter by job type, comma-separated (full_time, part_time, contract, temporary, volunteer, internship, other). Classic search only.
            experience_level: Filter by experience level, comma-separated (internship, entry, associate, mid_senior, director, executive). Classic search only.
            work_type: Filter by work type, comma-separated (on_site, remote, hybrid). Classic search only.
            easy_apply: Only show Easy Apply jobs (default false). Classic search only.
            sort_by: Sort results (date, relevance). Classic search only.

        Returns:
            Dict with url, sections (name -> raw text), job_ids (list of
            numeric job ID strings usable with get_job_details), and optional references.
            total ({count, exact}) is the result count LinkedIn advertises,
            with exact false for a lower bound such as "1,000+".
            promoted_job_ids is the subset of job_ids LinkedIn marks as
            promoted, present only when every page could be read.
            A search with no matches returns empty job_ids and a
            section_errors entry of type no_matching_jobs, rather than the
            unrelated recommendations LinkedIn shows in its place.
            pagination ({pages_fetched, next_offset, reason}) says why paging
            stopped: complete (the results ran out), max_pages, time_budget
            (the tool timeout was near, so more results may exist) or
            no_new_ids (a page repeated earlier results). It is absent when a
            failure stopped the search, which section_errors then explains.
search_peopletool Search for people on LinkedIn.FilesNetworkEnv varsoutside textread-only (declared)
Search for people on LinkedIn.

        Args:
            keywords: Search keywords (e.g., "software engineer", "recruiter at Google")
            ctx: FastMCP context for progress reporting
            location: Optional location filter, as LinkedIn's numeric geo URN
                id (e.g., "103644278" for the United States). Plain-text place
                names are silently ignored by LinkedIn and return unfiltered
                results, so they are refused here. The id is the geoUrn value
                in the URL of a LinkedIn people search filtered to that place;
                without one, put the place in keywords instead.
            network: Optional connection-degree filter. Each element is one of
                "F" (1st-degree), "S" (2nd-degree), "O" (3rd-degree and beyond).
                Example: ["F"] to only return 1st-degree connections. A single
                token ("F") or a comma-separated string ("F,S") is also
                accepted, for clients that cannot transmit an array.
            current_company: Optional current-employer filter. LinkedIn's
                currentCompany facet only filters on the numeric company URN id
                (e.g. "1115" for SAP); plain company names are accepted by the
                URL but ignored by LinkedIn and return the unfiltered result
                set. Look up a company's URN via get_company_profile -- it is
                exposed under references["about"]. For company-wide employee
                demographics (location/education/function breakdown) plus a
                slug-based lookup, use get_company_employees instead.
            connection_of: Optional profile id (e.g. "ACoAAB...") limiting
                results to that member's connections. Combine with
                network=["F"] to list the mutual connections you share with
                them; keywords may be "". Take the id from get_person_profile's
                "profile_urn"; a vanity name is refused, because LinkedIn
                ignores it and returns unfiltered results. LinkedIn also
                drops the filter, without saying so, when the member is
                3rd-degree or beyond (you share no connections): the result
                is then your unfiltered network, not an empty list.

        Returns:
            Dict with url, sections (name -> raw text), and optional references.
            The LLM should parse the raw text to extract individual people and their profiles.
search_poststool Search LinkedIn posts/content globally by keyword (the "Posts" tab).FilesNetworkEnv varsoutside textread-only (declared)
Search LinkedIn posts/content globally by keyword (the "Posts" tab).

        Use this to catch informal hiring posts ("we're hiring", "Buscamos
        ...", "estamos contratando", "join our team") that often appear before
        a formal job listing exists. This is global content search, distinct
        from get_feed (your own home feed) and get_company_posts (one
        company's page).

        Args:
            keywords: Search keywords (e.g., "Buscamos Unity", "AI automation hiring")
            ctx: FastMCP context for progress reporting
            date_posted: Optional recency filter. One of "past-24h",
                "past-week", "past-month"; the "past_24_hours" / "past_week" /
                "past_month" spellings used by search_jobs are accepted too.
                Omit for any time.
            content_type: Optional "Content type" filter. One of
                "documents" (PDFs and slide decks people upload), "images",
                "videos", "live_videos", "job_posts". Omit for all posts.
            max_pages: Scroll depth as result "pages" of ~5 scrolls each
                (1-10, default 3). Content search is an infinite scroll, so
                this caps how far the page is scrolled rather than fetching
                discrete pages.

        Returns:
            Dict with url, sections (search_results -> raw text), and optional
            references (post authors, companies, linked jobs, and kind
            "feed_post" permalinks read from the page's payload responses —
            /feed/update/<urn>/ or /posts/<slug>, both valid permalinks) and
            section_errors. The DOM carries no per-post permalink anchors;
            captured permalinks are not aligned to result order. The LLM
            should parse the raw text to extract each post's author,
            headline/role, company, body, posted date, and reaction/comment
            counts.
send_messagetool Compose and send a new message to a LinkedIn user.FilesNetworkEnv varsoutside textdestructive (declared)
Compose and send a new message to a LinkedIn user.

        Profile-based targeting opens LinkedIn's compose flow. It is not a safe
        reply path for an existing recruiter/InMail or messaging thread: it may
        create a separate DM even after you inspect that thread with
        get_conversation or search_conversations. To answer an existing thread,
        including an InMail from someone who is not a connection, use
        reply_to_conversation with the thread's id instead.

        The recipient must be directly messageable from the profile page. If
        LinkedIn does not expose a normal Message action, use connect_with_person
        first, then retry send_message only after the connection request is
        accepted. A ``status`` of ``enter_to_send_enabled`` means the account
        has LinkedIn's "Press Enter to Send" preference on, which hides the Send
        button; relay the returned instructions to the user, who switches it to
        "Click Send to send" before retrying. The dry run (confirm_send False)
        reports it too. Recipient authorization comes from validating one
        recipient-specific Message action carrying the target URN, then following
        its browser navigation and pinning the exact final route. Visible profile
        links or recipient URNs in the composer are optional corroboration; any
        contradiction fails closed. No Voyager or other private API is used. This
        is a write operation when confirm_send is True.

        ``thread_id`` is present only on ``sent``: the conversation the
        confirmed message was observed in, or null when the page stayed on
        the compose route. ``retry_safe`` stays the authority for whether a
        retry is safe.

        Args:
            linkedin_username: LinkedIn username of the recipient; a full profile URL is accepted too
            message: Message text. LF, CRLF and CR all end a line; an empty line
                separates paragraphs and is kept. Whitespace-only lines count as
                empty, and leading and trailing whitespace of the whole message
                is removed, as LinkedIn does when sending. Tab, other control
                characters, DEL, U+0085, U+2028 and U+2029 are refused.
            confirm_send: Must be True to send the message
            ctx: FastMCP context for progress reporting
            profile_urn: Optional profile URN (e.g. ACoAAB...) to verify against
                the URN exposed by the loaded profile before opening its Message
                action. It never bypasses recipient verification. Obtain via
                get_person_profile. Note: inbox may not always show all messages;
                use search_conversations as a fallback.

        Returns:
            Dict with url, status, message, recipient_selected, sent, and
            retry_safe. ``thread_id`` is present only on ``sent``. ``sent``
            is true only after the thread shows the submitted
            text under a new server message ID (or its DOM node gains a
            different event ID); this does not claim delivery or read status.
            It is false both where nothing was submitted and
            where the outcome is unknown. ``retry_safe`` separates the two: it
            is false from the moment a submission is attempted, and calling
            again while it is
            false can deliver the message twice. A ``status`` of
            ``outcome_unknown`` is that same warning from the transport rather
            than the page: the call's answer never arrived from the browser
            process, so ``sent`` is absent instead of false and only LinkedIn
            itself can say whether the message left.
tooltool
No description.

Text the model reads (51)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

open_login tool
Show the LinkedIn sign-in inside this chat, so the user can sign in there.

        Call it when a tool says to call open_login. The user signs in in the
        view; call the original tool again once the view says Signed in.
login_view_attach tool
Called by the sign-in view: the grant for the open its result named.
login_view_frame tool
Called by the sign-in view: the page once it differs from frame *after*.
login_view_input tool
Called by the sign-in view: replay the user's input into the page.
tool tool
close_session tool
Close the current browser session and clean up resources.
get_session_status tool
Report local saved-session and serving-process state for requested diagnostics.

            Reads local observations without opening a browser, starting setup or login,
            or contacting LinkedIn. Stored files do not prove current authentication.
            In shared-browser mode these observations belong to the owner, not to a
            frontend running a login. It answers during browser work without refreshing
            the browser idle timer. Use ordinary LinkedIn tools directly for their
            requested work rather than adding a status preflight.
get_company_profile tool
Get a specific company's LinkedIn profile.

        Args:
            company_name: LinkedIn company name (e.g., "docker", "anthropic", "microsoft"). A full company URL is accepted too and is reduced to the slug.
            ctx: FastMCP context for progress reporting
            sections: Comma-separated list of extra sections to read.
                The about page is always included.
                Available sections: posts, jobs
                Examples: "posts", "posts,jobs"
                Default (None) reads only the about page.

        Returns:
            Dict with url, sections (name -> raw text), and optional references.
            Includes unknown_sections list when unrecognised names are passed.
            The LLM should parse the raw text in each section.

            When the about section is included, references["about"] may
            include a {kind: "company_urn", value: "<numeric-id>"} entry —
            present whenever the page exposes the "See all employees" link
            (typically all but the smallest companies). The value is the
            numeric id LinkedIn's people-search uses in its currentCompany
            URL facet; plain-text company names are silently ignored by
            that facet.
get_company_posts tool
Get recent posts from a company's LinkedIn feed.

        Args:
            company_name: LinkedIn company name (e.g., "docker", "anthropic", "microsoft"). A full company URL is accepted too and is reduced to the slug.
            ctx: FastMCP context for progress reporting
            max_scrolls: Maximum scroll-to-bottom iterations to load more posts.
                Default (None) uses 10. Increase to read further back in the feed.

        Returns:
            Dict with url, sections (name -> raw text), and optional references.
            The LLM should parse the raw text to extract individual posts.
search_companies tool
Search for companies on LinkedIn.

        Args:
            keywords: Search keywords (e.g., "fintech", "anthropic", "electric vehicles")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url, sections (search_results -> raw text), and optional references.
            The LLM should parse the raw text to extract individual companies and their pages.
get_company_employees tool
List employees at a company from the LinkedIn /people/ page, including
        the demographics aggregate that this view exposes: where employees
        live, where they studied, and a function breakdown (Engineering, Sales,
        Operations, etc.). The demographics are unique to this tool.

        For filtered search by network degree (1st/2nd/3rd) or location, prefer
        search_people with current_company set to the company URN id. That path
        also returns more result pages than the /people/ tab.

        The optional keywords filter narrows results by name, title, or skill.

        company_name must be the exact LinkedIn URL slug (the path segment after
        /company/), not the display name. LinkedIn assigns unique slugs and the
        display name often does not match. For example, the AI lab Anthropic
        lives at /company/anthropicresearch/, not /company/anthropic/. If you
        are unsure of the slug, call search_companies first and pick the slug
        from the returned references.

        Args:
            company_name: LinkedIn company URL slug (e.g., "docker", "anthropicresearch", "microsoft"). A full company URL is accepted too and is reduced to the slug.
            ctx: FastMCP context for progress reporting
            keywords: Optional filter by name, job title, or skill (e.g., "engineer", "sales")

        Returns:
            Dict with url, sections (employees -> raw text), and optional references.
            References include /in/ profile paths for listed employees.
get_feed tool
Get posts from the authenticated user's LinkedIn feed.

        Args:
            ctx: FastMCP context for progress reporting
            num_posts: Number of posts to fetch (1-50, default 10).
                       Posts are loaded in batches of ~5 as the page scrolls,
                       so the actual count may slightly exceed the target.

        Returns:
            Dict with url, sections (name -> raw text), and optional keys:
            - references["feed"]: list of {kind: "feed_post", url, ...}
              entries. URLs are relative paths and may carry either
              ``/feed/update/<urn>/`` (DOM-anchor-derived) or
              ``/posts/<slug>`` (SDUI-derived) shape — both are valid
              LinkedIn permalinks. An entry paired with a rendered post
              carries that post's URN as ``value`` and may carry ``text``
              (an excerpt of the post).
            - section_errors: present when the feed is rate-limited or
              extraction fails.

            Truncated posts are not auto-expanded; full text for any post
            is reachable via its permalink in references["feed"]. The LLM
            should parse sections["feed"] for post bodies.
get_job_details tool
Get job details for a specific job posting on LinkedIn.

        Args:
            job_id: LinkedIn job ID (e.g., "4252026496", "3856789012")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url, sections (name -> raw text), and optional references.
            The LLM should parse the raw text to extract job details. Jobs in
            the posting's "More jobs" list are references with context
            "similar job"; their ids work with get_job_details.
            section_errors.job_posting.error_type "description_missing" means
            the captured text lacks the expected "About the job" heading.
            The text is kept but may be incomplete; calling again may return more.
            A posting that shows it was applied to or has closed also carries
            apply: {type: "applied" | "closed"}; no apply key means neither
            was read, not that the posting is open.
get_job_apply_url tool
Get how a job posting takes applications, and the employer's application link.

        Reads the posting without clicking anything.

        Args:
            job_id: LinkedIn job ID (e.g., "4252026496", "3856789012")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url and apply: {type, url?}. type is easy_apply,
            external, applied, closed or unknown. url is the employer's
            application link as LinkedIn gives it, for external postings;
            it is not opened, so a short link is returned unexpanded.
            A posting that could not be read returns section_errors instead.
get_easy_apply_form tool
Read the questions of a job posting's Easy Apply form, without answering them.

        Opens Easy Apply and reads each step: every field's label, type, whether
        it is required, its options, character limit and prefilled value. Next
        is clicked only while LinkedIn accepts a step on its prefilled values,
        so the first step that needs input ends the read. Nothing is typed,
        Review and Submit are never clicked, and the dialog is closed with its
        draft discarded.

        Args:
            job_id: LinkedIn job ID (e.g., "4252026496", "3856789012")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url and apply: {type} (easy_apply, external, applied,
            closed or unknown). Easy Apply postings add form: {steps, complete},
            each step {heading?, progress?, fields}. complete is false when
            steps after the last one were not read; the fields LinkedIn refused
            on that step carry its error. section_errors reports a form that
            could not be read or a draft that could not be discarded.
search_jobs tool
Search for jobs on LinkedIn.

        Returns job_ids that can be passed to get_job_details for full info.

        LinkedIn is moving accounts to a redesigned job search, which keeps
        only the keywords, date_posted and paging. It drops the filters
        marked "Classic search only" and reports them in section_errors as
        filters_dropped. When it drops the location or work type, search again
        with them in the keywords ("remote python developer in Lyon") and keep
        doing so; words such as "senior" or "internship" there narrow the
        results too. Quotes do not make a phrase exact on that search.

        Args:
            keywords: Search keywords (e.g., "software engineer", "data scientist")
            ctx: FastMCP context for progress reporting
            location: Optional location filter (e.g., "San Francisco", "Remote"). Classic search only.
            max_pages: Maximum number of result pages to load (1-10, default 3)
            date_posted: Filter by posting date (past_hour, past_24_hours, past_week, past_month)
            job_type: Filter by job type, comma-separated (full_time, part_time, contract, temporary, volunteer, internship, other). Classic search only.
            experience_level: Filter by experience level, comma-separated (internship, entry, associate, mid_senior, director, executive). Classic search only.
            work_type: Filter by work type, comma-separated (on_site, remote, hybrid). Classic search only.
            easy_apply: Only show Easy Apply jobs (default false). Classic search only.
            sort_by: Sort results (date, relevance). Classic search only.

        Returns:
            Dict with url, sections (name -> raw text), job_ids (list of
            numeric job ID strings usable with get_job_details), and optional references.
            total ({count, exact}) is the result count LinkedIn advertises,
            with exact false for a lower bound such as "1,000+".
            promoted_job_ids is the subset of job_ids LinkedIn marks as
            promoted, present only when every page could be read.
            A search with no matches returns empty job_ids and a
            section_errors entry of type no_matching_jobs, rather than the
            unrelated recommendations LinkedIn shows in its place.
            pagination ({pages_fetched, next_offset, reason}) says why paging
            stopped: complete (the results ran out), max_pages, time_budget
            (the tool timeout was near, so more results may exist) or
            no_new_ids (a page repeated earlier results). It is absent when a
            failure stopped the search, which section_errors then explains.
get_saved_jobs tool
List the authenticated user's jobs at one stage of LinkedIn's job tracker.

        Returns job_ids that can be passed to get_job_details for full info.

        Args:
            ctx: FastMCP context for progress reporting
            max_pages: Maximum number of tracker pages to load (1-10, default 3)
            stage: Tracker tab: saved (default), in_progress, applied or
                archived. applied lists Easy Apply submissions and external
                applications the user confirmed to LinkedIn.

        Returns:
            Dict with url, sections (name -> raw text), job_ids (list of
            numeric job ID strings usable with get_job_details), and optional references.
dismiss_job tool
Dismiss a job from LinkedIn job search so later searches never show it.

        For jobs already applied to or rejected. Reads the job's title and
        company from its posting, clicks the dismiss button on its card in a
        worldwide search for them, then reloads that search to confirm the job
        is gone. Irreversible: LinkedIn offers no undo after a reload. A job
        that search does not list on its first page is an error, since an
        already dismissed job and a search that missed it look the same.

        Args:
            job_id: LinkedIn job ID (e.g., "4252026496", "3856789012")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url (the search), job_id, keywords (the searched title
            and company), dismissed (true) and already_dismissed, true when
            the card was already dismissed.
get_inbox tool
List recent conversations from the LinkedIn messaging inbox.

        The returned inbox text and result URL come from the ordinary messaging
        inbox. Click-derived conversation references are collected separately
        after requesting the compose page, which avoided inbox auto-opening on
        the measured variant. A row contributes a click-derived reference only
        after its click is followed by an observed different thread path. The
        scan stops at its first unverifiable click. section_errors.inbox
        reports that stop or unavailable scan rows; captured inbox text and
        independently extracted anchors retain their normal handling. A known
        thread_id can bypass row attribution when calling get_conversation.

        Args:
            ctx: FastMCP context for progress reporting
            limit: Maximum number of conversations to load (1-50, default 20)

        Returns:
            Dict with url, sections (inbox -> raw text), optional references, and
            optional section_errors (inbox -> why click-derived references are
            incomplete).
get_conversation tool
Read a specific messaging conversation.

        Provide either linkedin_username or thread_id to identify the conversation.

        When looked up by linkedin_username, resolution searches the messaging
        inbox for the participant's display name and click-visits every
        matching row to capture its thread ID — LinkedIn's sidebar has no
        anchor hrefs or thread-id attributes, so this is the only available
        path. Each visit selects the row in the LinkedIn UI and may mark it
        as read. Pass thread_id directly to skip this enumeration.

        Username resolution scans matching rows from a requested compose page
        first. Its indexable sequence ends before the first unresolved click,
        missing matching click target, or admitted row that fails the existing
        exact display-name check. An index outside that verified prefix is
        refused with its reason. Search is a fallback only when the inbox scan
        has no observed matching result and no such barrier; it never
        substitutes a result after a stopped or gapped inbox scan. Pass a known
        thread_id to bypass username/index resolution.

        Args:
            ctx: FastMCP context for progress reporting
            linkedin_username: LinkedIn username of the conversation participant; a full profile URL is accepted too
            thread_id: LinkedIn messaging thread ID
            index: 0-based selector for which thread to open when the
                participant has multiple threads (e.g. an organic 1-on-1 plus
                an InMail). Ignored when thread_id is provided. To enumerate
                thread IDs first, call search_conversations.

        Returns:
            Dict with url, sections (conversation -> raw text), and optional references.
search_conversations tool
Search messages by keyword.

        Click-derived references require an observed different thread path
        after each row click. The first unverifiable click stops further row
        clicks and is reported in section_errors.search_results. Already-read
        text and independently extracted anchors retain their normal handling.
        A result without that diagnostic does not guarantee that every
        conversation was enumerated.

        Args:
            keywords: Search keywords to filter conversations
            ctx: FastMCP context for progress reporting
            limit: Maximum number of search-result rows to enumerate as
                conversation references (1-50, default 20). Each enumeration
                selects the row in LinkedIn's UI and may mark it as read, so
                a low cap is preferable for noisy queries.

        Returns:
            Dict with url, sections (search_results -> raw text), optional
            references, and optional section_errors (search_results -> where
            click-derived references stopped).
archive_conversation tool
Archive one LinkedIn messaging thread, InMail included, by thread ID.

        Opens the thread, which marks it read, and chooses Archive from its
        options menu. A thread LinkedIn already files as archived is left
        alone and reported already_archived, so a repeated call clicks
        nothing. The change is confirmed by loading the thread again.
        Reversible on LinkedIn; a new message moves the thread back to the
        inbox.

        Args:
            thread_id: LinkedIn messaging thread ID, as get_inbox,
                search_conversations or get_conversation return it
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url, thread_id, participant (the thread's names, or null)
            and status: "archived" or "already_archived".
send_message tool
Compose and send a new message to a LinkedIn user.

        Profile-based targeting opens LinkedIn's compose flow. It is not a safe
        reply path for an existing recruiter/InMail or messaging thread: it may
        create a separate DM even after you inspect that thread with
        get_conversation or search_conversations. To answer an existing thread,
        including an InMail from someone who is not a connection, use
        reply_to_conversation with the thread's id instead.

        The recipient must be directly messageable from the profile page. If
        LinkedIn does not expose a normal Message action, use connect_with_person
        first, then retry send_message only after the connection request is
        accepted. A ``status`` of ``enter_to_send_enabled`` means the account
        has LinkedIn's "Press Enter to Send" preference on, which hides the Send
        button; relay the returned instructions to the user, who switches it to
        "Click Send to send" before retrying. The dry run (confirm_send False)
        reports it too. Recipient authorization comes from validating one
        recipient-specific Message action carrying the target URN, then following
        its browser navigation and pinning the exact final route. Visible profile
        links or recipient URNs in the composer are optional corroboration; any
        contradiction fails closed. No Voyager or other private API is used. This
        is a write operation when confirm_send is True.

        ``thread_id`` is present only on ``sent``: the conversation the
        confirmed message was observed in, or null when the page stayed on
        the compose route. ``retry_safe`` stays the authority for whether a
        retry is safe.

        Args:
            linkedin_username: LinkedIn username of the recipient; a full profile URL is accepted too
            message: Message text. LF, CRLF and CR all end a line; an empty line
                separates paragraphs and is kept. Whitespace-only lines count as
                empty, and leading and trailing whitespace of the whole message
                is removed, as LinkedIn does when sending. Tab, other control
                characters, DEL, U+0085, U+2028 and U+2029 are refused.
            confirm_send: Must be True to send the message
            ctx: FastMCP context for progress reporting
            profile_urn: Optional profile URN (e.g. ACoAAB...) to verify against
                the URN exposed by the loaded profile before opening its Message
                action. It never bypasses recipient verification. Obtain via
                get_person_profile. Note: inbox may not always show all messages;
                use search_conversations as a fallback.

        Returns:
            Dict with url, status, message, recipient_selected, sent, and
            retry_safe. ``thread_id`` is present only on ``sent``. ``sent``
            is true only after the thread shows the submitted
            text under a new server message ID (or its DOM node gains a
            different event ID); this does not claim delivery or read status.
            It is false both where nothing was submitted and
            where the outcome is unknown. ``retry_safe`` separates the two: it
            is false from the moment a submission is attempted, and calling
            again while it is
            false can deliver the message twice. A ``status`` of
            ``outcome_unknown`` is that same warning from the transport rather
            than the page: the call's answer never arrived from the browser
            process, so ``sent`` is absent instead of false and only LinkedIn
            itself can say whether the message left.
reply_to_conversation tool
Reply inside an existing LinkedIn messaging thread, InMail included.

        Opens /messaging/thread/<thread_id>/ and types into that thread's own
        reply composer, so the message lands in the same conversation. This is
        the path for answering a recruiter InMail, whose sender may have no
        Message action on their profile. Get the thread_id from get_inbox,
        search_conversations or get_conversation.

        The thread is verified before anything is typed: the page must land on
        exactly the requested thread and stay there, and the composer must be
        the page's one visible editor, inside the thread's main region, with
        one submit button in its own form. Any doubt fails closed. Quick-reply
        buttons an InMail shows ("Yes, interested...", "No thanks...") are
        never clicked; a thread that offers only those has no composer and
        returns composer_unavailable. A draft already in the composer is left
        untouched and returns composer_occupied. A ``status`` of
        ``enter_to_send_enabled`` means LinkedIn's "Press Enter to Send"
        preference hides the Send button; relay the returned instructions as
        for send_message. The dry run reports it too. No Voyager or other
        private API is used. This is a write operation when confirm_send is
        True.

        Args:
            thread_id: LinkedIn messaging thread ID, or a /messaging/thread/<id>/
                reference as another tool returned it
            message: Message text, read as send_message reads it: LF, CRLF and
                CR all end a line, empty lines are kept, and the whole message
                is trimmed. Tab, other control characters, DEL, U+0085, U+2028
                and U+2029 are refused.
            confirm_send: Must be True to send. False is a dry run that verifies
                the thread and composer, types nothing, and says who the reply
                would go to.
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url, status, message, recipient_selected, sent, retry_safe,
            thread_id and participant. ``participant`` is the name shown in the
            thread's title, or null where it could not be read. ``sent`` and
            ``retry_safe`` mean what they mean for send_message: ``sent`` is
            true only after the submitted message's DOM node gains a different
            opaque event ID, and ``retry_safe`` is false from the moment a
            submission is attempted, so calling again while it is false can
            deliver the message twice. A ``status`` of ``outcome_unknown``
            means the browser went away mid-call and only LinkedIn can say
            whether the message left.
get_person_profile tool
Get a specific person's LinkedIn profile.

        Args:
            linkedin_username: LinkedIn username (e.g., "stickerdaniel", "williamhgates"). A full profile URL is accepted too and is reduced to the username.
            ctx: FastMCP context for progress reporting
            sections: Comma-separated list of extra sections to read.
                The main profile page is always included.
                Available sections: experience, education, interests, honors, volunteering, languages, certifications, skills, projects, contact_info, posts
                Examples: "experience,education", "contact_info", "skills,projects", "honors,languages", "posts"
                Default (None) reads only the main profile page.
            max_scrolls: Maximum pagination attempts per section to load more content.
                On detail sections (experience, certifications, skills, etc.) this
                is the max number of "Show more" button clicks. On activity/posts
                it is the max scroll-to-bottom iterations. Applies to all sections
                in this call. Default (None) uses 5 for detail sections and 10 for
                posts. Increase when a profile has many items in a section
                (e.g., 30+ certifications, max_scrolls=20). To avoid slowing down
                other sections, request heavy sections in a separate call.

        Returns:
            Dict with url, sections (name -> raw text), and optional references and section_errors.
            Sections may be absent if extraction yielded no content for that page.
            contact_info is read only from an accepted contact-overlay root. If no such root
            is found, the section is omitted and section_errors explains the failure;
            underlying profile text and links are never substituted. Existing suspected
            rate-limit retry and stop behavior is retained.
            Includes unknown_sections when unrecognised names are passed.
            The LLM should parse the raw text in each section.
search_people tool
Search for people on LinkedIn.

        Args:
            keywords: Search keywords (e.g., "software engineer", "recruiter at Google")
            ctx: FastMCP context for progress reporting
            location: Optional location filter, as LinkedIn's numeric geo URN
                id (e.g., "103644278" for the United States). Plain-text place
                names are silently ignored by LinkedIn and return unfiltered
                results, so they are refused here. The id is the geoUrn value
                in the URL of a LinkedIn people search filtered to that place;
                without one, put the place in keywords instead.
            network: Optional connection-degree filter. Each element is one of
                "F" (1st-degree), "S" (2nd-degree), "O" (3rd-degree and beyond).
                Example: ["F"] to only return 1st-degree connections. A single
                token ("F") or a comma-separated string ("F,S") is also
                accepted, for clients that cannot transmit an array.
            current_company: Optional current-employer filter. LinkedIn's
                currentCompany facet only filters on the numeric company URN id
                (e.g. "1115" for SAP); plain company names are accepted by the
                URL but ignored by LinkedIn and return the unfiltered result
                set. Look up a company's URN via get_company_profile -- it is
                exposed under references["about"]. For company-wide employee
                demographics (location/education/function breakdown) plus a
                slug-based lookup, use get_company_employees instead.
            connection_of: Optional profile id (e.g. "ACoAAB...") limiting
                results to that member's connections. Combine with
                network=["F"] to list the mutual connections you share with
                them; keywords may be "". Take the id from get_person_profile's
                "profile_urn"; a vanity name is refused, because LinkedIn
                ignores it and returns unfiltered results. LinkedIn also
                drops the filter, without saying so, when the member is
                3rd-degree or beyond (you share no connections): the result
                is then your unfiltered network, not an empty list.

        Returns:
            Dict with url, sections (name -> raw text), and optional references.
            The LLM should parse the raw text to extract individual people and their profiles.
connect_with_person tool
Send a LinkedIn connection request or accept an incoming one.

        Where the client supports elicitation, the user confirms the
        invitation in the client before anything is sent.

        Args:
            linkedin_username: LinkedIn username (e.g., "stickerdaniel", "williamhgates"). A full profile URL is accepted too and is reduced to the username.
            ctx: FastMCP context for progress reporting
            note: Optional note to include with the invitation

        Returns:
            Dict with url, status, message, and note_sent.
            Statuses: pending, already_connected, follow_only,
            connect_unavailable, unavailable, send_failed,
            note_not_supported, custom_note_limit_reached,
            connected, or accepted.

            ``connected`` means this call submitted the invitation and the
            re-read profile no longer exposes Connect; it does not mean a
            1st-degree connection. The ``message`` names the state read after
            the send, normally pending. ``pending`` means an invitation was
            already outstanding before the call, and ``accepted`` means an
            incoming invitation was accepted.

            When status is ``custom_note_limit_reached`` LinkedIn rejected
            personalized invite notes because the free note quota for the
            account is exhausted. The ``message`` is the raw Premium dialog
            text read from LinkedIn.

            A status of ``outcome_unknown`` comes from the transport rather
            than the page: the call's answer never arrived from the browser
            process, so whether the invitation was sent is unknown. It carries
            ``retry_safe: False`` and no ``note_sent``; check the profile
            before calling again, because a repeat may invite twice.
get_sidebar_profiles tool
Get profile links from sidebar recommendation sections on a LinkedIn profile page.

        Extracts profiles from "More profiles for you", "Explore premium profiles",
        and "People you may know" sidebar sections. Follows "Show all" links to
        return the full list from each section. Sections that redirect to
        linkedin.com/premium are skipped.

        Args:
            linkedin_username: LinkedIn username of the profile page to read; a full profile URL is accepted too
                (e.g., "stickerdaniel", "williamhgates")
            ctx: FastMCP context for progress reporting

        Returns:
            Dict with url and sidebar_profiles mapping section key to a list of
            /in/username/ paths. Only sections present on the page are included.
get_my_profile tool
Get the authenticated user's own LinkedIn profile.

        Navigates to /in/me/ and resolves the redirect to obtain the real
        username before reading the profile, so the url field in the result is the actual
        profile URL (e.g. linkedin.com/in/johndoe/) rather than /in/me/.

        Args:
            ctx: FastMCP context for progress reporting
            sections: Comma-separated list of extra sections to read.
                The main profile page is always included.
                Available sections: experience, education, interests, honors, volunteering, languages, certifications, skills, projects, contact_info, posts
                Examples: "experience,education", "contact_info", "skills,projects"
                Default (None) reads only the main profile page.
            max_scrolls: Maximum pagination attempts per section (same as get_person_profile).

        Returns:
            Dict with url, sections (name -> raw text), and optional references and section_errors.
            The url field reflects the resolved profile URL, revealing the real username.
            Sections may be absent if extraction yielded no content for that page.
            contact_info is read only from an accepted contact-overlay root. If no such root
            is found, the section is omitted and section_errors explains the failure;
            underlying profile text and links are never substituted. Existing suspected
            rate-limit retry and stop behavior is retained.
            Includes unknown_sections when unrecognised names are passed.
search_posts tool
Search LinkedIn posts/content globally by keyword (the "Posts" tab).

        Use this to catch informal hiring posts ("we're hiring", "Buscamos
        ...", "estamos contratando", "join our team") that often appear before
        a formal job listing exists. This is global content search, distinct
        from get_feed (your own home feed) and get_company_posts (one
        company's page).

        Args:
            keywords: Search keywords (e.g., "Buscamos Unity", "AI automation hiring")
            ctx: FastMCP context for progress reporting
            date_posted: Optional recency filter. One of "past-24h",
                "past-week", "past-month"; the "past_24_hours" / "past_week" /
                "past_month" spellings used by search_jobs are accepted too.
                Omit for any time.
            content_type: Optional "Content type" filter. One of
                "documents" (PDFs and slide decks people upload), "images",
                "videos", "live_videos", "job_posts". Omit for all posts.
            max_pages: Scroll depth as result "pages" of ~5 scrolls each
                (1-10, default 3). Content search is an infinite scroll, so
                this caps how far the page is scrolled rather than fetching
                discrete pages.

        Returns:
            Dict with url, sections (search_results -> raw text), and optional
            references (post authors, companies, linked jobs, and kind
            "feed_post" permalinks read from the page's payload responses —
            /feed/update/<urn>/ or /posts/<slug>, both valid permalinks) and
            section_errors. The DOM carries no per-post permalink anchors;
            captured permalinks are not aligned to result order. The LLM
            should parse the raw text to extract each post's author,
            headline/role, company, body, posted date, and reaction/comment
            counts.
send_message tool
get_person_profile tool
Read a profile.
get_person_profile tool
get_feed tool
get_feed tool
get_feed tool
send_message tool
send_message tool
get_person_profile tool
get_person_profile tool
get_person_profile tool
get_person_profile tool
search_jobs tool
send_message tool
connect_with_person tool
send_message tool
reply_to_conversation tool
archive_conversation tool
dismiss_job tool
get_inbox tool
login_view resource
The page open_login shows to sign in to LinkedIn.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure6.1
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 31 capabilities; 30 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    30 of 31 capabilities touch files
  • Tools that call the network
    24 of 31 capabilities call the network; 6 more call code the scanner could not follow, where it may happen
Where the code is: 31 handlers in 9 files at commit 1b8134b5b1ed
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    1 manifest: pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 2 not resolved: linkedin_mcp_server/setup.py: dependency ranges declared here were not resolved against a lockfile and were not checked; pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies
    No production dependency with a known advisory
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    fastmcp >=4.2.0,<4.3.0, mcp >=2.3.0,<2.4.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 31 capabilities; 30 more call code the scanner could not follow, where it may happen
  • Environment variables
    26 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (1 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
TransportStreamable HTTP
Sign-innot checked needs the live server
MCP SDKfastmcp >=4.2.0,<4.3.0, mcp >=2.3.0,<2.4.0
Servers in the code20 (mcp-server-linkedin, deadline-test, test, owner, front)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-14
Signed releasesnot checked yet

Where it is published

Listed in5 catalogs (awesome_tensorblock, docker_catalog, github_search, glama, mcp_toplist)
LicenseApache-2.0
Created2025-04-13
Topicsai-agents anthropic chatgpt chatgpt-desktop claude claude-ai claude-code claude-desktop desktop-extension dxt

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.