{"id":26776031,"url":"https://github.com/fredericbarthelet/linkedin-mcp-server","last_synced_at":"2025-04-16T01:43:14.171Z","repository":{"id":282416548,"uuid":"947960758","full_name":"fredericbarthelet/linkedin-mcp-server","owner":"fredericbarthelet","description":"An MCP Server for Linkedin API","archived":false,"fork":false,"pushed_at":"2025-03-19T17:44:47.000Z","size":55,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T14:55:13.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fredericbarthelet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-13T14:20:51.000Z","updated_at":"2025-04-11T04:48:39.000Z","dependencies_parsed_at":"2025-03-19T14:41:09.155Z","dependency_job_id":"79ed3171-3121-4783-a874-8a1197c09a85","html_url":"https://github.com/fredericbarthelet/linkedin-mcp-server","commit_stats":null,"previous_names":["fredericbarthelet/mcp-server-linkedin","fredericbarthelet/linkedin-mcp-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredericbarthelet%2Flinkedin-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredericbarthelet%2Flinkedin-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredericbarthelet%2Flinkedin-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredericbarthelet%2Flinkedin-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fredericbarthelet","download_url":"https://codeload.github.com/fredericbarthelet/linkedin-mcp-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182814,"owners_count":21226123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-29T03:32:53.462Z","updated_at":"2025-04-16T01:43:14.144Z","avatar_url":"https://github.com/fredericbarthelet.png","language":"TypeScript","funding_links":[],"categories":["🌐 Web Development"],"sub_categories":[],"readme":"# Linkedin MCP Server\n\nMCP server for interacting with [Linkedin Community Management API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/community-management-overview?view=li-lms-2025-03).\n\nThis MCP server:\n\n- Can be hosted locally or remotely : uses [HTTP+SSE transport](https://spec.modelcontextprotocol.io/specification/2024-11-05/basic/transports/#http-with-sse) defined in MCP\n- Implements the [Draft Third-Party Authorization Flow from MCP specs](https://spec.modelcontextprotocol.io/specification/draft/basic/authorization/#29-third-party-authorization-flow) to delegate authorization to LinkedIn's OAuth authorization server\n\n\u003e ⚠️ Disclaimer: The Third-Party Authorization Flow proposal status is currently in draft. The only MCP client, to my knowledge, that currently implements this specification of the protocol is the [MCP Inspector](https://github.com/modelcontextprotocol/inspector)\n\n## Features\n\n### Tools\n\n- `user-info` - Get current logged in user infos (name, headline and profile picture)\n- `create-post` - Create a new post on LinkedIn\n\n## Installation\n\nFollow those instructions to run Linkedin MCP server on your host. You'll need to provide your own Linkedin client.\n\n### Requirements\n\n- Node 22 (`lts/jod`)\n- pnpm 10\n- a Linkedin client with `Community Management API` product installed and `http://localhost:3001/callback` added to the authorized redirect URLs\n\n### Instructions\n\n- Install dependencies:\n\n```bash\npnpm install\n```\n\n- Create env file and populate with your Linkedin client credentials and a random string secret value for `JWT_SECRET`:\n\n```bash\ncp .env.template .env \u0026\u0026 vi .env\n```\n\n- Run the server:\n\n```bash\npnpm run dev\n```\n\n- Configure your favorite MCP client to use this new server:\n\n```json\n{\n  \"mcpServers\": {\n    \"linkedin\": {\n      \"url\": \"http://localhost:3001/sse\"\n    }\n  }\n}\n```\n\n### Debugging\n\nStart the [MCP Inspector](https://github.com/modelcontextprotocol/inspector) to debug this server, which is available as a package script:\n\n```bash\npnpm run inspector\n```\n\nAccess the inspector in your browser at `http://localhost:5173`\n\n## Acknowledgment\n\n- [Den Delimarsky](https://www.linkedin.com/in/dendeli/) that bravely gave a first shot at this new authorization flow with Microsoft Entra ID and detailed his results in his blog post: https://den.dev/blog/auth-modelcontextprotocol-entra-id/\n- [Matt Pocock](https://www.linkedin.com/in/mapocock/) and his always welcome neat TS tricks specifically in the context of writting your own MCP server on AI Hero: https://www.aihero.dev/publish-your-mcp-server-to-npm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredericbarthelet%2Flinkedin-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffredericbarthelet%2Flinkedin-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredericbarthelet%2Flinkedin-mcp-server/lists"}