How to connect Needle MCP to Claude

Connect Claude Web, Desktop and Cowork to Needle MCP. Create a linkedin outreach campaign for leads, review instagram connected account drafts, and more using natural language, with authentication handled for you.

Needle MCP logoNeedle MCP
Dcr Oauth

Needle MCP is a hosted service for managing leads, outreach campaigns, drafts, and social accounts. It gives teams a simple way to coordinate LinkedIn and Instagram outreach in one place.

116 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your Needle account to Claude via Composio Connect, enabling it to create a LinkedIn outreach campaign for leads, review Instagram connected account drafts, manage leads for a LinkedIn campaign, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Needle MCP with

Connecting Needle to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Needle account

Back in Claude, ask it to connect to Needle or give it any Needle-related task.

For example, ask Claude to:

  • "Create a LinkedIn outreach campaign for leads"
  • "Review Instagram connected account drafts"
  • "Manage leads for a LinkedIn campaign"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Needle account is ready to use.

What is the Needle Claude Connector, and what's possible with it?

The Needle MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Needle account. It provides structured and secure access to leads, outreach campaigns, drafts, and connected LinkedIn and Instagram accounts, so your agent can manage leads, create and track campaigns, prepare outreach messages, and interact with social accounts on your behalf.

  • Lead management: Have your agent create, update, review, and remove leads, check whether contacts are suppressed, and inspect each lead's campaign enrollment.
  • Outreach campaigns: Let the agent create campaigns, enroll leads, archive campaigns, and review campaign progress, funnel results, enrollments, and step activity.
  • Message drafting: Direct your agent to create outreach drafts, InMail messages, or connection requests, then check their review status and view the message that a campaign step or queued task would send.
  • LinkedIn research and engagement: Instruct your agent to look up LinkedIn profiles, companies, jobs, and posts, check InMail credit balances, and comment on LinkedIn posts.
  • Instagram account actions: Have your agent inspect Instagram profiles and posts, publish feed posts or stories, comment on posts, and follow Instagram users through a connected account.

Troubleshooting

1. Why does Claude not use the Composio connector for Needle?

The connector can show as connected, but Claude must use it in each Needle conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Needle again.

2. Why does Claude show an MCP server error before Needle connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Needle.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect Needle.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Needle authorization link not work?

The Composio connector is one server. Your Needle account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Needle connection.
  • Composio creates a fresh Needle authorization link.
  • Open that link in your browser and finish the Needle sign-in.

4. Why do Needle actions fail after they worked before?

The Needle connection can expire or lose permission.

  • Ask Claude to inspect the Needle connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the Needle account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in Needle.
  • If the action still fails with a permission error, check that the connected account has that permission in Needle itself.

5. How do I switch to a different Needle account?

Claude can manage the Needle connection for you.

  • Ask Claude to disconnect or delete the current Needle account.
  • Ask Claude to connect Needle again.
  • Open the new Composio authorization link for Needle.
  • Sign in with the other Needle account in the browser.
  • After the account connects, ask Claude to retry the Needle task.

6. Why is my Needle connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Needle connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click ⋮ and click Clear cache.
  • If Needle tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Needle.
TOOLS

Supported Tools

Every Needle MCP action and event your agent gets out of the box.

Needle archive campaign

Archive a campaign.

Needle check suppressions

Check whether identities are contactable or suppressed.

Needle comment on instagram post

Comment on an Instagram post, or reply to a comment on it.

Needle comment on linkedin post

Comment on a LinkedIn post, or reply to a comment when commentId is given.

Needle compose preview

Preview an AI-composed outreach message without sending it, from any prompt, account, and profile.

Needle create campaign

Create a campaign.

Needle create draft

Draft a message, InMail or connection request (text is its note) to a lead from a connected account.

Needle create file access url

Mint a preview URL for a stored file.

Needle create file upload

Mint a short-lived signed PUT URL, or copy a public file with sourceUrl.

Needle create instagram post

Publish an Instagram feed post or story.

Needle create lead

Create a lead.

Needle create leads

Create up to 500 leads at once, matching on identity so re-sending a list does not duplicate anyone.

Needle create suppressions

Create suppression entries for people or companies.

Needle create webhook

Add an https URL that receives events, signed with a new secret.

Needle delete connected account

Delete a connected account.

Needle delete file

Delete a private file stored in Needle.

Needle delete lead

Delete a lead.

Needle delete leads

Delete up to 500 leads by id, stopping their live campaign enrollments.

Needle delete suppression

Delete a suppression entry.

Needle delete webhook

Delete a webhook.

Needle enroll campaign leads

Enroll existing leads in a campaign, by lead id.

Needle follow instagram user

Follow an Instagram user as a connected account.

Needle get assistant chat

Read a chat the user had with the assistant inside the Needle web app, to continue it here.

Needle get campaign

Get a campaign by id.

Needle get campaign stats

Campaign progress, funnel (distinct leads per stage), enrollments, and steps (including current and completed leads per step) for a campaign.

Needle get connected account

Get a connected account and its usage.

Needle get draft

Get one draft and where it is in review: awaiting_review, sent, failed or discarded.

Needle get instagram account profile

Get the Instagram profile of the connected account, with its follower, following and post counts.

Needle get instagram post

Get one Instagram post by post id, or by the short code from its URL.

Needle get instagram profile

Get an Instagram profile by username without @.

Needle get lead

Get a lead, its identities, and enrollments.

Needle get linkedin company

Get a LinkedIn company by public identifier, numeric id, or company URL such as https://www.linkedin.com/company/heravideo.

Needle get linkedin in mail balance

Read the InMail credits left on a connected account.

Needle get linkedin job

Get one LinkedIn job with its full description, applicant count, apply link and hiring team.

Needle get linkedin post

Get one LinkedIn post by the postId returned from a post listing or search.

Needle get linkedin profile

Get a LinkedIn profile by user id or public identifier.

Needle get me

Returns the user and the workspace (`organization`) this caller is bound to.

Needle get message preview for step

What a campaign step would send to the lead of one of the campaign's enrollments, from the step's account, with subject, sender and attachments.

Needle get message preview for task

What a queued task would send to its lead, from the step's current content and account.

Needle get onboarding info

Get what the user told Needle during onboarding and what it produced: the use case, website, notes, attached documents, the ideal customer profile, the ids of the leads found, the onboarding campaign id, and when onboarding was completed.

Needle get place

Get place details by Google Place id.

Needle get webhook

Get one webhook with its delivery status.

Needle like instagram post

Like an Instagram post, or one of its comments.

Needle list campaign events

List a page of campaign events.

Needle list campaign leads

List a page of leads enrolled in a campaign.

Needle list campaigns

List a page of campaigns.

Needle list campaign tasks

List a page of the actions this campaign owes its leads, earliest scheduled first.

Needle list connected account events

List a page of events for a connected account.

Needle list connected account limits

Every metered action on a connected account with its channel defaults, the caps currently enforced, the override behind them (if any), and usage so far.

Needle list connected accounts

List a page of connected LinkedIn and Instagram accounts.

Needle list connected account tasks

List a page of the queue for one connected account, earliest scheduled first.

Needle list drafts

List a page of drafted messages, newest first.

Needle list files

List a page of files you can use: every workspace file, then your private files.

Needle list instagram conversation messages

List messages in an Instagram conversation.

Needle list instagram conversation participants

List the accounts in an Instagram conversation, with their usernames.

Needle list instagram conversations

List the Instagram inbox of a connected account, most recent first.

Needle list instagram followers

List the followers of an Instagram account.

Needle list instagram following

List the accounts an Instagram account follows.

Needle list instagram post comments

List the comments on an Instagram post, or the replies to one comment.

Needle list instagram post reactions

List the accounts that liked an Instagram post, or one of its comments.

Needle list instagram posts

List the posts of an Instagram account, most recent first.

Needle list lead events

List a page of events for a lead.

Needle list lead properties

List every custom property key leads in this workspace use, with its type, lead count and most common values.

Needle list leads

List a page of leads in this workspace.

Needle list lead tasks

List a page of the actions campaigns owe a lead, earliest scheduled first.

Needle list linkedin company jobs

List jobs on a LinkedIn company page.

Needle list linkedin company posts

List posts on a LinkedIn company page.

Needle list linkedin conversation messages

List messages in a LinkedIn conversation.

Needle list linkedin conversations

List LinkedIn conversations.

Needle list linkedin followers

List followers of the connected account, or of a person or company when identity is given.

Needle list linkedin following

List the people and companies this account follows.

Needle list linkedin invitations

List a page of pending LinkedIn connection invitations from this account.

Needle list linkedin post comments

List comments on a post, or replies to one comment when commentId is given.

Needle list linkedin post reactions

List the people who reacted to a LinkedIn post, or to a comment when commentId is given.

Needle list linkedin posts

List posts from a person (user id or public identifier) or a company page (numeric id or company URL).

Needle list linkedin received invitations

List connection invitations other people sent to this account.

Needle list linkedin relations

List first-degree LinkedIn connections.

Needle list linkedin search parameters

Resolve LinkedIn filter values from keywords.

Needle list suppressions

List a page of suppression entries.

Needle list webhooks

List the workspace's webhooks, oldest first, with their delivery status.

Needle react to instagram message

Add an emoji reaction to an Instagram direct message.

Needle react to linkedin post

React to a LinkedIn post, or to a comment when commentId is given.

Needle read docs

Read one page of the Needle documentation as markdown.

Needle remove campaign lead

Stop a live lead enrollment in a campaign.

Needle reset connected account limit

Remove the override for one action so the connected account runs on the channel defaults again.

Needle respond to linkedin invitation

Accept or decline an invitation from the received invitations listing.

Needle search campaigns

Find campaigns in this workspace by name.

Needle search connected accounts

Find connected accounts by display name, handle, or username.

Needle search docs

Find Needle documentation pages: guides, concepts, every REST API endpoint, and every MCP tool.

Needle search enrollments

Find enrollments by the lead or the campaign name.

Needle search events

Search a page of events.

Needle search leads

Find leads already in this workspace.

Needle search linkedin companies classic

Search LinkedIn companies.

Needle search linkedin jobs

Search LinkedIn jobs with keywords, a company, or a LinkedIn jobs searchUrl.

Needle search linkedin people

Deprecated.

Needle search linkedin people classic

Search standard LinkedIn people with keywords or filters.

Needle search linkedin people sales navigator

Search Sales Navigator leads with keywords or filters, including current and past company, company headcount and type, function, seniority, years of experience, groups, saved lists and personas, and Spotlights such as changed_jobs.

Needle search linkedin posts

Search LinkedIn posts.

Needle search places

Build a list of businesses and locations.

Needle search suppressions

Find suppression entries by person, company domain, note, or reason.

Needle send instagram message

Send an Instagram direct message as a connected account.

Needle send linkedin in mail

Send a LinkedIn InMail.

Needle send linkedin invitation

Send a LinkedIn connection invitation.

Needle send linkedin message

Send a LinkedIn message as a connected account.

Needle stop campaign leads

Stop the live enrollments of up to 500 leads in a campaign, by lead id.

Needle unfollow instagram user

Unfollow an Instagram user as a connected account.

Needle update campaign

Update a campaign.

Needle update connected account

Update a connected account.

Needle update connected account limit

Set hourly, daily, or weekly caps for one action on a connected account.

Needle update lead

Update a lead profile or identities.

Needle update lead property

Change how a custom property is compared when filtering (type: string, number, boolean, date), or whether it shows as a column in the leads table.

Needle update leads

Update up to 500 existing leads by id; never creates leads.

Needle update webhook

Change the URL, the headers, the event types, or several at once, or turn on a webhook that was turned off after 3 days without a 2xx (enabled: true).

Needle upsert lead

Create a lead, or when a LinkedIn or Instagram identity already belongs to one, patch the fields sent onto it.

Needle withdraw draft

Take back a draft before anyone reviewed it, so it never sends.

Needle withdraw linkedin invitation

Withdraw a pending LinkedIn invitation.

FRAMEWORKS

How to build Needle MCP Agent with another framework

FAQ

Frequently asked questions

Start with Needle MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Needle MCP tool your agent needs.Free to start.

Start building