LinkFetch: LinkedIn MCP

v2.0.1
io.linkfetch/linkedin Checked 4 days ago Published 1 month ago

LinkedIn jobs, companies and people for AI agents, plus messages and invites via your own account.

Values you need

VariableWhat it is
LINKFETCH_API_KEYrequired secret Your LinkFetch API key (lf_…), created on the MCP page of the dashboard.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add linkedin -e 'LINKFETCH_API_KEY=<LINKFETCH_API_KEY>' -- npx -y linkfetch-mcp@0.1.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "linkedin": {
      "args": [
        "-y",
        "linkfetch-mcp@0.1.3"
      ],
      "command": "npx",
      "env": {
        "LINKFETCH_API_KEY": "<LINKFETCH_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "linkedin": {
      "args": [
        "-y",
        "linkfetch-mcp@0.1.3"
      ],
      "command": "npx",
      "env": {
        "LINKFETCH_API_KEY": "<LINKFETCH_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LINKFETCH_API_KEY",
      "id": "linkfetch-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "linkedin": {
      "args": [
        "-y",
        "linkfetch-mcp@0.1.3"
      ],
      "command": "npx",
      "env": {
        "LINKFETCH_API_KEY": "${input:linkfetch-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.linkedin]
command = "npx"
args = ["-y", "linkfetch-mcp@0.1.3"]
env = { "LINKFETCH_API_KEY" = "<LINKFETCH_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http linkedin https://linkfetch.io/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "linkedin": {
      "args": [
        "-y",
        "mcp-remote",
        "https://linkfetch.io/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "linkedin": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://linkfetch.io/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "linkedin": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://linkfetch.io/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.linkedin]
command = "npx"
args = ["-y", "mcp-remote", "https://linkfetch.io/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: LINKFETCH_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json