LinkedIn MCP for OpenWorker
LinkedIn MCP for OpenWorker
OpenWorker용 로컬 우선 LinkedIn MCP 서버입니다. stdio에서 실행되며, 토큰을 환경 변수나 명시적 도구 입력에 보관하고, LinkedIn 프로필 읽기 및 게시 작업을 위한 작고 승인 친화적인 도구를 제공합니다.
도구
linkedin_start_oauth_flow는 브라우저 OAuth 흐름을 시작하고, localhost 콜백을 캡처하며, 코드를 교환하고, 토큰을 로컬에 저장합니다.linkedin_auth_status는 저장된 토큰이 있는지와 만료 시점을 보고합니다.linkedin_logout은 저장된 토큰을 삭제합니다.linkedin_exchange_authorization_code는 수동 대체 흐름을 위해 OAuth 코드를 교환하고 토큰을 저장합니다.linkedin_get_my_profile은/v2/userinfo에서 인증된 회원 프로필을 읽습니다.linkedin_create_text_post는/rest/posts를 통해 텍스트 전용 게시물을 게시하거나 초안으로 저장합니다.linkedin_get_post는 URN으로 게시물을 검색합니다.linkedin_find_posts_by_author는 회원 또는 조직 URN의 게시물을 나열합니다.
Related MCP server: linkedin-mcp-server
설정
npm i linkedin-mcp-openworkerLinkedIn 개발자 앱을 만들고 필요한 제품/스코프를 요청하세요:
openid profile email은 OpenID Connect를 사용한 LinkedIn 로그인용입니다.w_member_social은 인증된 회원으로 게시하는 데 필요합니다.조직 게시에는
w_organization_social과 같은 LinkedIn 승인 조직 스코프가 필요합니다.
OpenWorker는 Claude Desktop 및 Cursor와 동일한 mcpServers JSON 형식을 사용하여 Manage -> Integrations를 통해 MCP 서버를 지원합니다. 빌드 후, 다음과 같이 서버를 추가하세요:
{
"mcpServers": {
"linkedin": {
"command": "npm",
"args": ["linkedin-mcp-openworker"],
"env": {
"LINKEDIN_CLIENT_ID": "paste-your-linkedin-client-id-here",
"LINKEDIN_CLIENT_SECRET": "paste-your-linkedin-client-secret-here",
"LINKEDIN_REDIRECT_URI": "http://127.0.0.1:33333/linkedin/oauth/callback",
"LINKEDIN_VERSION": "202607"
}
}
}
}LINKEDIN_VERSION은 기본값이 202607이며, 이 프로젝트가 생성된 시점의 LinkedIn Marketing API 버전 관리 지침에 해당합니다.
OAuth 흐름
LinkedIn 개발자 앱에서 다음 승인된 리디렉션 URL을 추가하세요:
http://127.0.0.1:33333/linkedin/oauth/callbackLINKEDIN_CLIENT_ID,LINKEDIN_CLIENT_SECRET,LINKEDIN_REDIRECT_URI를 사용하여 OpenWorker에 MCP 서버를 추가하세요.OpenWorker에게
linkedin_start_oauth_flow를 실행하도록 요청하세요.MCP는 localhost 콜백 서버를 시작하고, 브라우저에서 LinkedIn을 열고, 반환된
state를 검증하고, 인증 코드를 교환한 후 다음 위치에 토큰을 저장합니다:
~/.linkedin-mcp-openworker/token.json이후 LinkedIn 도구는 저장된 토큰을 자동으로 사용합니다.
linkedin_auth_status로 토큰 상태를 확인하고linkedin_logout으로 삭제할 수 있습니다.
기본 관리 흐름은 LinkedIn의 일반적인 3-legged OAuth 인증 엔드포인트를 사용합니다:
https://www.linkedin.com/oauth/v2/authorization이것은 LinkedIn이 OpenID Connect에 대해 문서화한 엔드포인트입니다. 기본적으로 openid profile email w_member_social을 요청하고, client_secret으로 인증 코드를 교환하며, 반환된 액세스 토큰과 ID 토큰 메타데이터를 로컬에 저장합니다. OpenID 스코프와 함께 auth_method: "pkce"를 사용하지 마세요. LinkedIn은 해당 조합을 Open ID permission is not supported for PKCE flows. 오류로 거부합니다.
LinkedIn의 일반 3-legged OAuth 문서는 리디렉션 URL이 HTTPS여야 한다고 명시합니다. LinkedIn이 앱의 localhost 콜백 URL을 거부하는 경우, 이 머신으로 전달되는 HTTPS 콜백/터널 URL을 사용하고 LINKEDIN_REDIRECT_URI를 LinkedIn Developer Portal에 등록된 정확한 URL로 설정하세요.
기본적으로 OAuth 도구는 도구 결과에서 토큰을 마스킹합니다. 결과에 토큰 값을 포함하려는 경우에만 return_access_token: true를 전달하세요.
참고
LinkedIn API 액세스는 개발자 앱에 승인된 제품에 따라 달라집니다. w_member_social이 없는 토큰은 회원 게시물을 게시할 수 없으며, 조직 게시물에는 조직 권한과 적절한 페이지 역할을 가진 인증된 회원이 필요합니다.
Available Tools
8 toolslinkedin_auth_statusARead-only
Check whether this MCP server has a stored LinkedIn OAuth token.
Inputs: no named parameters.
linkedin_create_text_postADestructive
Publish or draft a text-only LinkedIn post for a member or organization author URN.
Inputs: author_urn (required), commentary (required), visibility, access_token, +2 more.
linkedin_exchange_authorization_codeA
Exchange a LinkedIn OAuth authorization code for tokens and store the token locally.
Inputs: code (required), client_id (required), redirect_uri (required), client_secret (required), +1 more.
linkedin_find_posts_by_authorBRead-only
Find LinkedIn posts by member or organization author URN.
Inputs: author_urn (required), count, start, access_token, +1 more.
linkedin_get_my_profileARead-only
Read the authenticated LinkedIn member profile using the OIDC userinfo endpoint.
Inputs: access_token.
linkedin_get_postARead-only
Retrieve a LinkedIn post by URN.
Inputs: post_urn (required), access_token, view_context.
linkedin_logoutADestructive
Delete the locally stored LinkedIn OAuth token for this MCP server.
Inputs: no named parameters.
linkedin_start_oauth_flowA
Start a browser-based LinkedIn OAuth flow, capture the localhost callback, exchange the code, and store the token locally.
Inputs: scopes, client_id, auth_method, redirect_uri, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools are clearly distinct, but linkedin_start_oauth_flow and linkedin_exchange_authorization_code overlap since the start flow already includes exchanging the authorization code. An agent could be unsure which to use for a given OAuth scenario.
All tool names follow a consistent linkedin_verb_noun snake_case pattern. Verbs are clear and predictable, making the toolset easy to navigate.
Eight tools is well-scoped for a LinkedIn MCP covering authentication, profile access, and post management. Each tool earns its place without unnecessary bloat.
Core auth and post workflows are covered, but the post surface is read/create only—there is no update or delete post tool. This is a minor gap for typical LinkedIn content management workflows.
Related MCP Connectors
LinkedIn API as MCP tools to retrieve profile data and publish content. Powered by HAPI MCP.
A hosted LinkedIn MCP server for your own account. Paste one address into Claude, ChatGPT, Cursor or n8n to read your inbox, send messages and invitations, and search people. Free to start. Not made by LinkedIn.
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
Hosted LinkedIn MCP server: search people, read profiles, send invitations and messages.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for LinkedIn, enabling posting, liking, commenting, and profile retrieval via official OAuth 2.0. Features CLI, HTTP admin, and optional Telegram bot.14 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for LinkedIn API integration. Enables authentication, profile access, connections, search, messaging, and feed management via OAuth2.MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for AI-native LinkedIn prospecting. It enables lead research, audience building, conversation management, and controlled outreach actions such as messaging and publishing through an OAuth-protected remote endpoint.2MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that lets you publish text and image posts to LinkedIn, fetch your profile, and check auth status using natural language.MIT