keos-linkedin-leadsync-mcp

v0.1.0
keos-linkedin-leadsync-mcp Checked 4 days ago Published 11 days ago

LinkedIn Lead Sync MCP server (official APIs only): OpenID profile, lead gen forms, lead responses and lead webhooks.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

linkedin_auth_status

Check whether a usable LinkedIn token reached this server, and where it came from. Diagnostic only: this server never logs in. The calling application runs the OAuth flow and sends the token as 'Authorization: Bearer'. required_scopes lists what that application has to request. Token values and token expiry are never returned - the calling application owns the token lifecycle.

linkedin_get_profile

Get the authenticated member's profile via OpenID Connect (name, email, picture, locale). Also returns person_urn (urn:li:person:<sub>), the member's stable identifier. Needs the openid/profile/email scopes on the token. Only the authenticated member's own profile is available; LinkedIn does not allow fetching other members' profiles with this API.

leadsync_list_ad_accounts

List sponsored ad accounts the member can access (use an id as the owner for SPONSORED leads). Needs the r_ads scope and a role on the ad account.

leadsync_list_organizations

List organizations (company pages) the member holds a role on (owner for organic leads). Needs the r_organization_admin scope.

leadsync_list_lead_forms

List Lead Gen Forms owned by an ad account or organization. owner_urn: urn:li:sponsoredAccount:<id> or urn:li:organization:<id> (defaults to LEADSYNC_OWNER_TYPE/LEADSYNC_OWNER_ID from .env).

ParameterTypeDescription
countinteger
owner_urn
startinteger

leadsync_get_lead_form

Get one Lead Gen Form by numeric id.

ParameterTypeDescription
form_id *string

leadsync_list_lead_responses

List lead submissions (name, email, answers) for an owner and lead type. lead_type: SPONSORED | EVENT | COMPANY | ORGANIZATION_PRODUCT (defaults to .env value). test_leads_only: only leads sent via Campaign Manager's test-lead tool. submitted_after_ms: epoch milliseconds; only leads submitted at/after this time. include_form_content: also project the full form definition into each lead. Lead data is personal data: store and use it according to your consent and privacy terms.

ParameterTypeDescription
include_form_contentboolean
lead_type
owner_urn
submitted_after_ms
test_leads_onlyboolean

leadsync_get_lead_response

Get a single lead submission by its response id.

ParameterTypeDescription
response_id *string

leadsync_list_notifications

List webhook subscriptions that notify you of new leads for an owner and lead type.

ParameterTypeDescription
lead_type
owner_urn