Linked API
v2.3.21Manage LinkedIn messages, connections, posts, and profile data through Linked API.
Values you need
| Variable | What it is | |
|---|---|---|
LINKED_API_TOKEN | required secret | Linked API access token from https://app.linkedapi.io. |
IDENTIFICATION_TOKEN | required 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-mcpAdd 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
- 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.
- 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: send_message, sync_inbox, get_inbox, sync_conversation, get_conversation, sync_network, get_network, manage_conversation, ….
- 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