linkedctl
v0.5.0CLI and MCP server for the LinkedIn API
Values you need
| Variable | What it is | |
|---|---|---|
LINKEDCTL_ACCESS_TOKEN | required secret | LinkedIn OAuth2 access token |
LINKEDCTL_CLIENT_ID | optional | LinkedIn OAuth2 client ID |
LINKEDCTL_CLIENT_SECRET | optional secret | LinkedIn OAuth2 client secret |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add linkedctl -e 'LINKEDCTL_ACCESS_TOKEN=<LINKEDCTL_ACCESS_TOKEN>' -- npx -y linkedctl@0.5.0 mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"linkedctl": {
"args": [
"-y",
"linkedctl@0.5.0",
"mcp"
],
"command": "npx",
"env": {
"LINKEDCTL_ACCESS_TOKEN": "<LINKEDCTL_ACCESS_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"linkedctl": {
"args": [
"-y",
"linkedctl@0.5.0",
"mcp"
],
"command": "npx",
"env": {
"LINKEDCTL_ACCESS_TOKEN": "<LINKEDCTL_ACCESS_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "LINKEDCTL_ACCESS_TOKEN",
"id": "linkedctl-access-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"linkedctl": {
"args": [
"-y",
"linkedctl@0.5.0",
"mcp"
],
"command": "npx",
"env": {
"LINKEDCTL_ACCESS_TOKEN": "${input:linkedctl-access-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.linkedctl]
command = "npx"
args = ["-y", "linkedctl@0.5.0", "mcp"]
env = { "LINKEDCTL_ACCESS_TOKEN" = "<LINKEDCTL_ACCESS_TOKEN>" }For AI agents
- Ask the user for: LINKEDCTL_ACCESS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: whoami, auth_status, auth_revoke, post_create, post_get, post_list, post_update, post_delete, ….
- 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