linkedin-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@linkedin-mcp-serverPost this update to my LinkedIn: Just published a new blog post!"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LinkedIn MCP Server
A local-first MCP server for LinkedIn's official OAuth and REST APIs. Each user runs their own instance and supplies their own LinkedIn Developer application credentials.
Current capabilities
Connect a LinkedIn member account with 3-legged OAuth.
Read the authenticated member's OpenID profile and email.
Publish a confirmed text post as the authenticated member.
The server uses only LinkedIn's official APIs. It does not scrape LinkedIn pages, use browser cookies, search arbitrary people, read messages, or export connections.
LinkedIn API access is controlled by LinkedIn. A public copy of this project does not provide API access or bypass LinkedIn permissions. Users must create and configure their own LinkedIn Developer application.
Related MCP server: Networking MCP
Prerequisites
Create a LinkedIn Developer application.
Enable Sign In with LinkedIn using OpenID Connect and Share on LinkedIn.
Add
http://127.0.0.1:3000/oauth/callbackas an authorized redirect URL.Copy the client ID and client secret into a local
.envfile.
Run locally
npm install
cp .env.example .env
npm run build
npm startThe server uses stdio, which is the simplest transport for Copilot CLI. Add it to your MCP configuration with the command and environment variables from .env.
Call linkedin_authenticate, open the returned URL, approve access, and then call linkedin_auth_status.
Example MCP configuration:
{
"mcpServers": {
"linkedin": {
"command": "node",
"args": ["/absolute/path/to/linkedin-mcp-server/dist/server.js"],
"env": {
"LINKEDIN_CLIENT_ID": "your-client-id",
"LINKEDIN_CLIENT_SECRET": "your-client-secret"
}
}
}
}Security
Never commit
.envor.data/.The local token file is created with owner-only permissions.
Publishing requires an explicit
confirm=trueargument.LinkedIn client secrets and tokens must stay server-side.
Never paste real credentials or token files into issues, pull requests, or public repositories.
License
MIT. See LICENSE.
Azure deployment plan
Azure is not required for the local version. Deploy only if the server must be available to multiple clients or run continuously.
The production design should use:
Azure Container Apps or Azure App Service for the MCP HTTP service.
Azure Key Vault for the LinkedIn client secret and encryption key.
Encrypted durable storage for refresh/access tokens.
A registered HTTPS redirect URL.
Authentication and audit logging before exposing the service outside the local machine.
The local stdio transport should remain the default for personal Copilot use; an Azure deployment is a separate production transport and security boundary.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceA ToS-compliant Model Context Protocol server for LinkedIn that uses the official API for OAuth 2.0 authentication, profile reading, and content posting.MIT
- Alicense-qualityBmaintenanceLocal-first MCP server for research on AI-assisted browsing of a user-owned professional-network account (e.g., LinkedIn), providing read-focused tools such as profile, company, search, and feed reads.MIT
- AlicenseAqualityCmaintenanceMCP server that posts to LinkedIn through the LinkedIn API. Enables creating text posts on your LinkedIn profile using natural language from any MCP-compatible client.3ISC
- Flicense-qualityCmaintenanceMCP server for LinkedIn API integration. Enables authentication, profile access, connections, search, messaging, and feed management via OAuth2.
Related MCP Connectors
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
MCP server for LeadDelta — manage LinkedIn connections and CRM data via AI assistants.
linkedin-humblebrag MCP — wraps StupidAPIs (requires X-API-Key)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sviera91/linkedin-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server