Launch Promo GET 75% OFF
Ending soon
LAUNCH26 75% off Ending soon
Guides Published June 12, 20264 min read

How to connect Claude Code and Cursor to LinkedIn (via MCP)

If you live in Claude Code or Cursor, you can give your AI assistant safe access to your LinkedIn activity through MCP — so it drafts, researches, and syncs with the real thing instead of guessing. Here is the step-by-step, and how to keep it safe.

Darren Alderman

Darren Alderman

Co-founder & CTO, Flow AI

Japanese sumi-e ink painting of two clear streams converging into a single calm river in a wooded valley
ShareLinkedInX
  • Connecting an AI tool to LinkedIn via MCP lets it work with your real activity instead of guessing.
  • The connection is an MCP server you authorise with OAuth and then add to your AI client.
  • The setup is: get a secure LinkedIn MCP, authorise it, add it to Claude Code or Cursor, grant scopes.
  • Keep a human approving outbound actions and never use a tool that wants your raw password.

Once you have worked with an AI assistant that can actually see your real context, going back feels clumsy. Connecting Claude Code or Cursor to your LinkedIn activity is one of those upgrades: instead of describing a prospect to your assistant, it can read the thread and draft something genuinely relevant. The good news is that the safe way to do this is also the easy way. Here is how.

Why connect AI tools to LinkedIn

The whole value of an AI assistant collapses when it is working blind. If it cannot see who you are talking to or what was already said, it produces generic drafts you have to rewrite. Connecting it to your LinkedIn activity closes that gap: the assistant reasons over the real conversation, the real profile, and the real history, so the first draft is usable.

For anyone running outbound, that is the difference between AI as a novelty and AI as leverage. It is the same reason an AI SDR only works well when it has real context to act on.

How the connection works

Under the hood, the connection is an MCP server — a small service that exposes LinkedIn capabilities in a standard way — that your AI client connects to. You authorise it once with OAuth (the same consent flow you would use for any reputable app), and from then on Claude Code or Cursor can call it within the permissions you granted. If the term is new, the LinkedIn MCP explainer covers the concept; this guide is the hands-on part.

Crucially, you are not handing your password to your code editor. The MCP provider holds a sanctioned, revocable authorisation, and your AI tool talks to that.

Connecting it, step by step

The exact clicks vary by client, but the shape is always the same:

  1. Get a secure LinkedIn MCP. Rather than building the server yourself, use a provider that offers a vetted LinkedIn MCP and handles OAuth, scopes, and sync. This is what Flow AI's integrations provide.
  2. Authorise it with OAuth. Sign in and grant the connection — no password is entered into a third-party tool, and your credentials are never stored.
  3. Add the MCP to your AI client. In Claude Code or Cursor, add the MCP server endpoint to your configuration so the client knows the connection exists.
  4. Grant only the scopes you need. Start narrow — read context and draft — before you allow anything that sends.
  5. Test on one real task. Ask your assistant to summarise a recent conversation or draft a follow-up, and confirm it is reading the real data.

What to do once connected

With the connection live, the everyday wins stack up fast:

  • Summarise a prospect's recent activity before you reach out.
  • Draft a connection note or reply grounded in the actual thread, not a template.
  • Keep conversations and outcomes synced to your CRM so nothing lives in two places.
  • Triage what needs a human and route it to a unified inbox.

The point is not to automate yourself out of the conversation — it is to spend your attention on the reply that matters while the assistant handles the prep.

Keeping it safe

Two rules keep this clean. First, only use a connection built on OAuth and standard API practices — anything asking for your raw LinkedIn password is a hard no. Second, keep a human approving outbound actions, and respect platform limits rather than firing at machine speed. That is how you get the leverage without putting the account at risk, a principle we cover in is LinkedIn automation safe.

If you want the fastest route to a safe, AI-ready LinkedIn connection — already wired for Claude Code, Cursor, and your GTM stack — you can try Flow AI free and connect through the safest MCP available.

Frequently asked questions