Guides

How to Connect Claude Code to LinkedIn

Short answer: Run claude mcp add with your Cesar connector URL, then check it with /mcp.

What you need

  • Claude Code installed.
  • A Cesar Pro or Business plan and the connector URL.
  • Cesar open in a browser with the extension connected.

Before you add Claude Code

  1. Cesar is on the Pro or Business plan. In the app, open Integrations and enable LinkedIn MCP.
  2. Copy the connector URL. It already contains the token. Rotating the token in Integrations makes the previous URL stop working.
  3. Keep Cesar open in one browser tab with the Cesar extension installed and LinkedIn signed in. Green status means the bridge is up.

Step by step

  1. 1. Add the server for every project

    Replace the sample with the URL from Cesar → Integrations → LinkedIn MCP.

    claude mcp add --transport http --scope user cesar "https://mcp.cesar.chat/?token=<secret>"
  2. 2. Check the list

    Start Claude Code, run /mcp, and confirm cesar is there. claude mcp list shows the same thing. Restart Claude Code if the tools do not appear.

  3. 3. Read before you allow a write

    Claude Code asks before it uses a tool. Allow list_inboxes and read_chat freely. When it calls set_chat_draft, read the text first. There is no send tool.

Prompts to try first

  • Use cesar get_connection_status.
  • List unread chats and write the name and last message to replies.md.
  • Draft a reply for the first chat with set_chat_draft. Do not send.

Sending is not a tool. Replies land as drafts in Cesar. You send them yourself. The full list is on the LinkedIn MCP server page.

If it does not work

cesar is not in /mcp

The command ran without --scope user, so it attached to one folder. Run it again with --scope user.

Tools return disconnected

The extension bridge is down. Open Cesar, confirm the green status, and ask again.

Can this put my LinkedIn account at risk?

The agent cannot send a message. LinkedIn calls run one at a time, through the Cesar extension in your browser, not from a copy of the inbox on the server. Cesar does not run outreach sequences. Revoke the connector in Integrations and the URL stops working. Details are in Guardrails built in.

Other AI tools