LinkedInSAFE
Model Context Protocol (MCP) server for LinkedIn API integration
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
🚀 Comprehensive Setup Guide
Prerequisites
- Node.js 16+
- LinkedIn Developer Account
- MCP-Compatible LLM (Claude, OpenAI, etc.)
1. LinkedIn Developer Setup
- Go to LinkedIn Developer Portal
- Create a new application
- Obtain Client ID and Client Secret
Important: For detailed instructions on obtaining access tokens and authentication for LinkedIn API, refer to the official documentation: Getting Access to LinkedIn API
2. Project Installation
git clone https://github.com/Dishant27/linkedin-mcp-server.git cd linkedin-mcp-server npm install
3. Configuration Files
.env File
Create a .env file in the project root:
LINKEDIN_CLIENT_ID=your_client_id_here LINKEDIN_CLIENT_SECRET=your_client_secret_here
claude_desktop_config.json (for Claude Desktop)
{
"mcpServers": {
"linkedin": {
"command": "node",
"args": ["/absolute/path/to/linkedin-mcp-server/dist/index.js"],
"env": {
"LINKEDIN_CLIENT_ID": "your_client_id",
"LINKEDIN_CLIENT_SECRET": "your_client_secret"
}
}
}
}4. LLM Configuration Example
Claude.ai / Claude Desktop MCP Integration
{
"tools": [
{
"name": "search-people",
"description": "Search for LinkedIn profiles",
"parameters": {
"type": "object",
"properties": {
"keywords": {
"type": "string",
"description": "Keywords to search for in profiles"
},
"currentCompany": {
"type": "array",
"items": {"type": "string"},
"description": "Filter by current comp7cd507918088OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add linkedin-mcp-server -- npx -y [email protected]
{
"mcpServers": {
"linkedin-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (6)
5 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get-my-profile | read | Retrieve the current user |
get-network-stats | read | Retrieve network statistics for the current user |
get-profile | read | Retrieve detailed LinkedIn profile information |
search-jobs | read | Search for LinkedIn job postings based on various criteria |
search-people | read | Search for LinkedIn profiles based on various criteria |
send-message | write | Send a message to a LinkedIn connection |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (2 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (1)
@modelcontextprotocol/sdk, axios, dotenv, zod, @types/jest, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
Gates applied: no_behavioural_pass.
7cd507918088full audit observations/trust-audit/mcp-server/dishant27__linkedin-5.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 7cd507918088 | SAFE | B | 89 | first audit |
Questions
What is the LinkedIn MCP server?
Model Context Protocol (MCP) server for LinkedIn API integration
What tools does LinkedIn expose?
6 in total: 5 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is LinkedIn safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does LinkedIn need?
No credential environment variables were found in its source, so it appears to need none.
How does LinkedIn run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as linkedin-mcp-server at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (7cd507918088), read on 2026-10-08. The repository is watched and re-audited when it changes.