LinkedIn MCP Server | MCP 服務詳情 | OpenClaw Study

LinkedIn MCP Server A Model Context Protocol (MCP) server using the TypeScript SDK for LinkedIn integration. Allows an AI agent (e.g. Claude) to authentica…

LinkedIn MCP Server A Model Context Protocol (MCP) server using the TypeScript SDK for LinkedIn integration. Allows an AI agent (e.g. Claude) to authenticate with LinkedIn and share posts or links. Prerequisites Node.js (>=14) and npm LinkedIn Developer App: Create an app at https://www.linkedin.com/developers/apps Under "Products", add Sign In with LinkedIn (OpenID Connect) and Share on LinkedIn Authorized Redirect URI must match.env: http://localhost:8000/auth/linkedin/callback Copy your Client ID and Client Secret into.env Setup Shellgit clone <repo_url> cd linkedin-mcp npm install Create a.env in project root with: PlaintextSESSION_SECRET=your-session-secret AUTH_PORT=8000 # OAuth callback server port HTTP_PORT=8001 # HTTP/SSE server port LINKEDIN_CLIENT_ID=your-client-id LINKEDIN_CLIENT_SECRET=your-client-secret LINKEDIN_REDIRECT_URI=http://localhost:8000/auth/linkedin/callback Running OAuth Callback Server (must stay running): npm run dev:auth MCP Server: Via Claude Desktop: claude-desktop Or manually: npm run dev This starts stdio transport + HTTP+SSE server. Inspector UI: Shellnpm run build npx @modelcontextprotocol/inspector node build/server.js Open the Inspector in browser → Tools Use linkedin-share-post or linkedin-share-link tools. Testing Visit http://localhost:8000/auth/linkedin in browser → complete LinkedIn login. Confirm “Authentication successful!”. In Inspector, run sample post/link tools. Verify content on your LinkedIn profile. Claude Desktop Integration Run npm run dev:auth Visit http://localhost:8000/auth/linkedin in browser → complete LinkedIn login. Confirm “Authentication successful!”. A token file should be generated. Do not close this terminal.

本頁屬於 OpenClaw Skills 學習體系,涵蓋技能安裝、分類導覽與實戰連結。

English 简体中文 日本語 Español Português