Skip to content
VS Code

linkedctl for VS Code

io.github.alexey-pelykh/linkedctl

CLI and MCP server for the LinkedIn API

client:VS Code transport:stdio runtime:npm

Install linkedctl in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "linkedctl-access-token",
      "description": "LINKEDCTL_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "linkedctl-client-id",
      "description": "LINKEDCTL_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "linkedctl-client-secret",
      "description": "LINKEDCTL_CLIENT_SECRET",
      "password": true
    }
  ],
  "servers": {
    "linkedctl": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "linkedctl"
      ],
      "env": {
        "LINKEDCTL_ACCESS_TOKEN": "${input:linkedctl-access-token}",
        "LINKEDCTL_CLIENT_ID": "${input:linkedctl-client-id}",
        "LINKEDCTL_CLIENT_SECRET": "${input:linkedctl-client-secret}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

linkedctl in other clients