Linked API

v2.3.21
io.github.Linked-API/linkedapi-mcp Checked 34 minutes ago Published 1 month ago

Manage LinkedIn messages, connections, posts, and profile data through Linked API.

Values you need

VariableWhat it is
LINKED_API_TOKENrequired secret Linked API access token from https://app.linkedapi.io.
IDENTIFICATION_TOKENrequired secret Identification token for the LinkedIn account from https://app.linkedapi.io.

npm (npx) verified

Requires Node.js 18+

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

Remote (hosted)

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

For AI agents

  1. Ask the user for: LINKED_API_TOKEN, IDENTIFICATION_TOKEN. 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. Verify: the server should expose these tools: send_message, sync_inbox, get_inbox, sync_conversation, get_conversation, sync_network, get_network, manage_conversation, ….
  5. 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