LinkedIn MCP server for Claude, Cursor and any AI agent: jobs, companies, people, posts and inbox. A stdio bridge to LinkFetch's hosted MCP server (linkfetch.io/mcp).
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add linkfetch-linkedin --env LINKFETCH_API_KEY='<LINKFETCH_API_KEY>' -- npx -y linkfetch-mcp~/.codex/config.toml
[mcp_servers.linkfetch-linkedin]
command = "npx"
args = ["-y", "linkfetch-mcp"]
env = { LINKFETCH_API_KEY = "<LINKFETCH_API_KEY>" }
# codex mcp add linkfetch-linkedin --env LINKFETCH_API_KEY='<LINKFETCH_API_KEY>' -- npx -y linkfetch-mcp~/.cursor/mcp.json
{
"mcpServers": {
"linkfetch-linkedin": {
"command": "npx",
"args": [
"-y",
"linkfetch-mcp"
],
"env": {
"LINKFETCH_API_KEY": "<LINKFETCH_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"linkfetch-linkedin": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"linkfetch-mcp"
],
"env": {
"LINKFETCH_API_KEY": "<LINKFETCH_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"linkfetch-linkedin": {
"command": "npx",
"args": [
"-y",
"linkfetch-mcp"
],
"env": {
"LINKFETCH_API_KEY": "<LINKFETCH_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"linkfetch-linkedin": {
"command": "npx",
"args": [
"-y",
"linkfetch-mcp"
],
"env": {
"LINKFETCH_API_KEY": "<LINKFETCH_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"linkfetch-linkedin": {
"command": "npx",
"args": [
"-y",
"linkfetch-mcp"
],
"env": {
"LINKFETCH_API_KEY": "<LINKFETCH_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http linkfetch-linkedin https://linkfetch.io/mcp --header 'Authorization: Bearer <API_KEY>'~/.codex/config.toml
[mcp_servers.linkfetch-linkedin]
url = "https://linkfetch.io/mcp"
bearer_token_env_var = "LINKFETCH_LINKEDIN_API_KEY"
# codex mcp add linkfetch-linkedin --url https://linkfetch.io/mcp --bearer-token-env-var LINKFETCH_LINKEDIN_API_KEY
# export LINKFETCH_LINKEDIN_API_KEY=<API_KEY>~/.cursor/mcp.json
{
"mcpServers": {
"linkfetch-linkedin": {
"url": "https://linkfetch.io/mcp",
"headers": {
"Authorization": "Bearer <API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"linkfetch-linkedin": {
"type": "http",
"url": "https://linkfetch.io/mcp",
"headers": {
"Authorization": "Bearer <API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"linkfetch-linkedin": {
"httpUrl": "https://linkfetch.io/mcp",
"headers": {
"Authorization": "Bearer <API_KEY>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"linkfetch-linkedin": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://linkfetch.io/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer <API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"linkfetch-linkedin": {
"url": "https://linkfetch.io/mcp",
"headers": {
"Authorization": "Bearer <API_KEY>"
}
}
}
}Environment variables
LINKFETCH_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.