# How to connect WhatsApp and LinkedIn to Claude Code

> One claude mcp add command and one sign-in, and Claude Code can read your WhatsApp and LinkedIn messages. The commands, the real output and the fixes.

- URL: https://pluggzy.com/blog/connect-whatsapp-and-linkedin-to-claude-code
- Published: 2026-11-26
- Author: Pluggzy
- Language: en

Connect both accounts in [Pluggzy](https://pluggzy.com/features/ai-apps), then run this and sign in:

```
claude mcp add --transport http --scope user pluggzy https://pluggzy.com/mcp
```

Claude Code can then list your chats, read messages, look up profiles and draft replies on both accounts. It can’t send until you allow it.

Here is the whole session from our terminal, from the add to a connected server. The rest of the page takes it one line at a time.

![A terminal session: claude mcp add --transport http --scope user pluggzy https://pluggzy.com/mcp answers Added HTTP MCP server pluggzy to user config. claude mcp login pluggzy prints an authorization link and then Authenticated with pluggzy. Its tools are now available in Claude Code. claude mcp list answers pluggzy: https://pluggzy.com/mcp (HTTP), Connected.](https://pluggzy.com/blog/media/connect-whatsapp-and-linkedin-to-claude-code/claude-code-terminal.webp)

Add, sign in, check. Three commands, run against a test workspace.

## Before you run it

You need WhatsApp and LinkedIn connected in Pluggzy. On the WhatsApp connect page, choose **Scan a QR code** or **Use a phone number instead** and approve the link on your phone. On the LinkedIn one, sign in with **Email or phone** and **Password**, then press **Connect LinkedIn**. Both show as **Connected** on the **Accounts** page, and the 3-day free trial covers them.

## Add the server

```
$ claude mcp add --transport http --scope user pluggzy https://pluggzy.com/mcp
✔ Added HTTP MCP server pluggzy with URL: https://pluggzy.com/mcp to user config
File modified: /home/user/.claude.json
```

`--scope user` writes the server to `~/.claude.json`, so it works in every project and stays out of your repositories. Without the flag, Claude Code adds it for the current project only.

Right after the add, `claude mcp list` shows `pluggzy: https://pluggzy.com/mcp (HTTP) - ! Needs authentication`. That’s expected.

## Sign in

Inside Claude Code, type `/mcp`, pick **pluggzy** and authenticate. From a plain shell, or over SSH, run:

```
claude mcp login pluggzy
```

It prints a link that starts with `https://pluggzy.com/authorize`, waits, and accepts the redirect URL pasted back if the browser is on another machine. The link opens Pluggzy’s permission page.

![The top of Pluggzy's permission page at phone width, titled Let Claude Code connect, with the line Published by claude.ai, access is sent to localhost, a warning that reads This sends access to an app on your computer. Continue only if you just started connecting from it, and the Account menu showing the sample user Alex Morgan on LinkedIn.](https://pluggzy.com/blog/media/connect-whatsapp-and-linkedin-to-claude-code/claude-code-permission-page-top.webp)

The top of the permission page. Check the line under the title: Published by claude.ai, access is sent to localhost.

The **Account** menu opens on your first account. Leave it there. Left on the first entry, the connection reaches every account in your workspace, so one server covers WhatsApp and LinkedIn. Any other entry ties Claude Code to that single account.

![The lower half of the same page, under the line Claude Code is asking for permission to. Read your messages, View profiles and Search for people are ticked, Send messages & posts is not, above the buttons Deny and Allow connection.](https://pluggzy.com/blog/media/connect-whatsapp-and-linkedin-to-claude-code/claude-code-permissions.webp)

Further down the same page, the four permissions.

**Read your messages**, **View profiles** and **Search for people** are ticked. **Send messages & posts** isn’t. Leave it and press **Allow connection**. The terminal answers `Authenticated with "pluggzy". Its tools are now available in Claude Code.`

## Check it

```
$ claude mcp list
pluggzy: https://pluggzy.com/mcp (HTTP) - ✔ Connected
```

Then ask Claude Code which accounts it can use through Pluggzy. It calls `list_accounts` and should name both. To see the read-only connection hold, we called `send_message` on that same connection. It answered:

```
This connection is not allowed to send messages & posts. Revoke this app at https://pluggzy.com/apps, connect it again, and allow "Send messages & posts".
```

## What to ask first

```
Find my conversations that are waiting for a reply.
```

Claude Code has your repository and your shell, so messages can turn into work:

```
Read the WhatsApp group with our beta testers and draft a GitHub issue for each bug they reported, with steps to reproduce.
```

```
Read CHANGELOG.md and draft a LinkedIn post about this release. Show it to me, don't post.
```

## API keys, for machines with no browser

A CI runner that calls `claude -p` can’t click through a sign-in. Use keys there. A Pluggzy key belongs to one connected account, so create one per account under **API keys**, with **Allow sending** left off unless the job has to send. Then add one server per key:

```
claude mcp add --transport http --scope user pluggzy-whatsapp https://pluggzy.com/mcp \
  --header "Authorization: Bearer $PLUGGZY_WHATSAPP_KEY"

claude mcp add --transport http --scope user pluggzy-linkedin https://pluggzy.com/mcp \
  --header "Authorization: Bearer $PLUGGZY_LINKEDIN_KEY"
```

Your shell expands the variable when you run the command, and Claude Code saves the header in `~/.claude.json`. If the variable was empty at that moment, the header is saved without a key. We did it on purpose to see the result, and `claude mcp list` showed this next to the server:

```
✘ Failed to connect — Server rejected the configured Authorization header (HTTP 401). Check that the token is valid for this MCP endpoint — OAuth fallback is disabled when headers.Authorization is set.
```

Remove the server, set the variable and add it again.

**Keep keys out of .mcp.json**

A project’s `.mcp.json` is meant to be committed. If Pluggzy has to live there, write the variable’s name in the header and never the key. If a key leaks, revoke it under **API keys** and create another.

## Letting Claude Code send

An existing connection has no switch for this. In Pluggzy, open **Connected apps** and press **Revoke** next to Claude Code. Then run `claude mcp login pluggzy` again and tick **Send messages & posts**. With keys, create a new key with **Allow sending** on.

After that, plain words are enough: “Reply to Elena on WhatsApp: yes, Thursday works.” The send tool tells Claude to show you the exact text first, and Claude Code asks before it runs a tool you haven’t allowed yet.

Pluggzy paces what gets sent. WhatsApp actions leave 10 to 20 seconds apart with 10 new chats a day. LinkedIn actions leave 45 to 75 seconds apart with 25 invitations a day on a free account. An action that comes too soon is refused with the wait in seconds, for example “Wait 16s”, so a long agent run pauses and carries on. Read [will WhatsApp ban my number?](https://pluggzy.com/blog/will-whatsapp-ban-my-number) and [is it safe to connect LinkedIn to an AI agent?](https://pluggzy.com/blog/is-it-safe-to-connect-linkedin-to-ai) before you tick the box.

## When it doesn’t work

If `claude mcp list` still says `! Needs authentication`, the sign-in didn’t finish. Run `claude mcp login pluggzy` again.

If only one account answers, you picked a specific account in the **Account** menu. Revoke the app under **Connected apps** and sign in again without touching the menu.

If you signed in and want a clean start, `claude mcp logout pluggzy` clears the stored sign-in on your machine. Revoking under **Connected apps** ends it on Pluggzy’s side.

The same accounts work in [Cursor](https://pluggzy.com/blog/connect-whatsapp-and-linkedin-to-cursor) and [Codex](https://pluggzy.com/blog/connect-whatsapp-and-linkedin-to-codex). For Claude on the web or desktop, follow [how to connect WhatsApp to Claude](https://pluggzy.com/blog/connect-whatsapp-to-claude). Pluggzy’s own reference is in the [Claude Code setup docs](https://pluggzy.com/docs/apps/claude-code).

## Frequently asked questions

### I already added Pluggzy to claude.ai. Do I need to add it again in Claude Code?

Usually not. Claude Code fetches the connectors of the claude.ai account it is logged in with, so Pluggzy shows up in /mcp without the command.

### Do I need a separate server for WhatsApp and for LinkedIn?

Not when you sign in: one pluggzy server reaches every account in your workspace as long as you leave the Account menu on its first entry. With API keys you add one server per key, because a key belongs to one connected account.

### How much does it cost?

$10 per connected account a month after a 3-day free trial, so WhatsApp and LinkedIn together are two accounts. Claude Code itself isn't counted.

## Sources

1.  [Claude Code docs: Connect Claude Code to tools via MCP](https://code.claude.com/docs/en/mcp)
2.  [Pluggzy docs: Claude Code](https://pluggzy.com/docs/apps/claude-code)
3.  [Pluggzy docs: Limits](https://pluggzy.com/docs/reference/limits)

In this article [WhatsApp](https://pluggzy.com/blog/channel/whatsapp) [LinkedIn](https://pluggzy.com/blog/channel/linkedin) [Claude Code](https://pluggzy.com/blog/ai/claude-code)
