# Needle MCP

```json
{
  "name": "Needle MCP",
  "slug": "needle_mcp",
  "url": "https://composio.dev/toolkits/needle_mcp",
  "markdown_url": "https://composio.dev/toolkits/needle_mcp.md",
  "logo_url": "https://logos.composio.dev/api/needle",
  "categories": [
    "crm"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-29T05:34:06.141Z"
}
```

![Needle MCP logo](https://logos.composio.dev/api/needle)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Needle MCP or direct API to manage leads, create outreach campaigns, prepare drafts, and handle connected LinkedIn and Instagram accounts through natural language.

## Summary

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.

## Categories

- crm

## Toolkit Details

- Tools: 116

## Images

- Logo: https://logos.composio.dev/api/needle

## Authentication

- **Dcr Oauth**
  - Type: `custom`
  - Description: Dcr Oauth authentication for Needle MCP.
  - Setup:
    - Configure Dcr Oauth credentials for Needle MCP.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

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

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `NEEDLE_MCP_NEEDLE_ARCHIVE_CAMPAIGN` | Needle archive campaign | Archive a campaign. |
| `NEEDLE_MCP_NEEDLE_CHECK_SUPPRESSIONS` | Needle check suppressions | Check whether identities are contactable or suppressed. IdenToolAnnotationWrite,tity accepts the same forms as leads: LinkedIn public identifier, /in/ path, profile URL, or user id; Instagram username, @handle, or profile URL. |
| `NEEDLE_MCP_NEEDLE_COMMENT_ON_INSTAGRAM_POST` | Needle comment on instagram post | Comment on an Instagram post, or reply to a comment on it. Write @username to mention someone. |
| `NEEDLE_MCP_NEEDLE_COMMENT_ON_LINKEDIN_POST` | Needle comment on linkedin post | Comment on a LinkedIn post, or reply to a comment when commentId is given. |
| `NEEDLE_MCP_NEEDLE_COMPOSE_PREVIEW` | Needle compose preview | Preview an AI-composed outreach message without sending it, from any prompt, account, and profile. To see what a saved campaign step sends, use needleGetMessagePreviewForStep instead. identity accepts the same forms as leads: LinkedIn public identifier, /in/ path, profile URL, or user id; Instagram username, @handle, or profile URL. |
| `NEEDLE_MCP_NEEDLE_CREATE_CAMPAIGN` | Needle create campaign | Create a campaign. |
| `NEEDLE_MCP_NEEDLE_CREATE_DRAFT` | Needle create draft | Draft a message, InMail or connection request (text is its note) to a lead from a connected account. Nothing sends until the user approves it in the Needle inbox, where they can also edit or discard it, so use this instead of sending when the user wants to review first. A conversation (account and lead) has one draft waiting at a time: a new one replaces a waiting one created with this tool, but fails while a draft from a campaign step waits. Write the final words: {{variables}} are not filled in. |
| `NEEDLE_MCP_NEEDLE_CREATE_FILE_ACCESS_URL` | Needle create file access url | Mint a preview URL for a stored file. It redirects to a short-lived signed GET. Do not send it to LinkedIn. |
| `NEEDLE_MCP_NEEDLE_CREATE_FILE_UPLOAD` | Needle create file upload | Mint a short-lived signed PUT URL, or copy a public file with sourceUrl. Omit scope for a workspace file. Pass scope "user" to keep the file visible only to you. PUT bytes to uploadUrl when it is returned, then pass the returned url on needleSendLinkedinMessage or needleSendLinkedinInMail. Campaign steps can attach workspace files only. downloadUrl is a preview link. Do not store uploadUrl. |
| `NEEDLE_MCP_NEEDLE_CREATE_INSTAGRAM_POST` | Needle create instagram post | Publish an Instagram feed post or story. At least one image or video URL is required. |
| `NEEDLE_MCP_NEEDLE_CREATE_LEAD` | Needle create lead | Create a lead. Fails when an identity already belongs to a lead (the error data has that leadId); use needleUpsertLead to create-or-update. LinkedIn identity accepts john-doe, /in/john-doe, https://www.linkedin.com/in/john-doe, or a user id (ACoAAA…). Instagram accepts john-doe, @john-doe, or https://www.instagram.com/john-doe. |
| `NEEDLE_MCP_NEEDLE_CREATE_LEADS` | Needle create leads | Create up to 500 leads at once, matching on identity so re-sending a list does not duplicate anyone. Returns created, matched, or skipped per row, in request order, with the lead id to enroll. Same identity formats as needleCreateLead. |
| `NEEDLE_MCP_NEEDLE_CREATE_SUPPRESSIONS` | Needle create suppressions | Create suppression entries for people or companies. |
| `NEEDLE_MCP_NEEDLE_CREATE_WEBHOOK` | Needle create webhook | Add an https URL that receives events, signed with a new secret. eventTypes picks the event types: "all" (the default, also types added later) or a list. The whsec_ secret is returned only here; show it to the user so they can store it. Up to 5 per workspace. Optional headers, such as an API key the URL requires, are sent with every request. Header values you send pass through your AI app. |
| `NEEDLE_MCP_NEEDLE_DELETE_CONNECTED_ACCOUNT` | Needle delete connected account | Delete a connected account. Its owner or a workspace admin can delete it. |
| `NEEDLE_MCP_NEEDLE_DELETE_FILE` | Needle delete file | Delete a private file stored in Needle. Pass the url from needleListFiles or from creating a file. Messages and campaign steps that still reference it will fail when sending. |
| `NEEDLE_MCP_NEEDLE_DELETE_LEAD` | Needle delete lead | Delete a lead. |
| `NEEDLE_MCP_NEEDLE_DELETE_LEADS` | Needle delete leads | Delete up to 500 leads by id, stopping their live campaign enrollments. Returns deleted or skipped (lead_not_found) per id in request order; retrying is safe. |
| `NEEDLE_MCP_NEEDLE_DELETE_SUPPRESSION` | Needle delete suppression | Delete a suppression entry. |
| `NEEDLE_MCP_NEEDLE_DELETE_WEBHOOK` | Needle delete webhook | Delete a webhook. Only the member who created it or a workspace admin can. Needle stops sending events to it, and its pending deliveries are dropped. |
| `NEEDLE_MCP_NEEDLE_ENROLL_CAMPAIGN_LEADS` | Needle enroll campaign leads | Enroll existing leads in a campaign, by lead id. Create the leads first with needleCreateLead or needleCreateLeads. A lead without a handle for every channel the campaign sends on is skipped as missing_identity. Contactability skips are suppressed (do-not-contact list), recently_contacted, or unresponsive — not every skip means the lead is on the list. Returns accepted or skipped per lead id. |
| `NEEDLE_MCP_NEEDLE_FOLLOW_INSTAGRAM_USER` | Needle follow instagram user | Follow an Instagram user as a connected account. |
| `NEEDLE_MCP_NEEDLE_GET_ASSISTANT_CHAT` | Needle get assistant chat | Read a chat the user had with the assistant inside the Needle web app, to continue it here. When `handoff` is set, the assistant passed the task on: its `brief` holds the goal, the ids involved, what was already found, and what is left. Start from the brief and carry the task out with your Needle tools. Messages hold each turn's text and the tools it called. Calls since the last user message keep their results; earlier ones do not. |
| `NEEDLE_MCP_NEEDLE_GET_CAMPAIGN` | Needle get campaign | Get a campaign by id. |
| `NEEDLE_MCP_NEEDLE_GET_CAMPAIGN_STATS` | 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_MCP_NEEDLE_GET_CONNECTED_ACCOUNT` | Needle get connected account | Get a connected account and its usage. |
| `NEEDLE_MCP_NEEDLE_GET_DRAFT` | Needle get draft | Get one draft and where it is in review: awaiting_review, sent, failed or discarded. |
| `NEEDLE_MCP_NEEDLE_GET_INSTAGRAM_ACCOUNT_PROFILE` | Needle get instagram account profile | Get the Instagram profile of the connected account, with its follower, following and post counts. |
| `NEEDLE_MCP_NEEDLE_GET_INSTAGRAM_POST` | Needle get instagram post | Get one Instagram post by post id, or by the short code from its URL. |
| `NEEDLE_MCP_NEEDLE_GET_INSTAGRAM_PROFILE` | Needle get instagram profile | Get an Instagram profile by username without @. |
| `NEEDLE_MCP_NEEDLE_GET_LEAD` | Needle get lead | Get a lead, its identities, and enrollments. |
| `NEEDLE_MCP_NEEDLE_GET_LINKEDIN_COMPANY` | 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_MCP_NEEDLE_GET_LINKEDIN_IN_MAIL_BALANCE` | Needle get linkedin in mail balance | Read the InMail credits left on a connected account. |
| `NEEDLE_MCP_NEEDLE_GET_LINKEDIN_JOB` | Needle get linkedin job | Get one LinkedIn job with its full description, applicant count, apply link and hiring team. jobId accepts the id from a job listing or search, or a job URL such as https://www.linkedin.com/jobs/view/4447604185. Salary, seniority, skills and screening questions are not returned for jobs posted by other companies; use service recruiter for jobs posted through LinkedIn Recruiter. |
| `NEEDLE_MCP_NEEDLE_GET_LINKEDIN_POST` | Needle get linkedin post | Get one LinkedIn post by the postId returned from a post listing or search. |
| `NEEDLE_MCP_NEEDLE_GET_LINKEDIN_PROFILE` | Needle get linkedin profile | Get a LinkedIn profile by user id or public identifier. |
| `NEEDLE_MCP_NEEDLE_GET_ME` | Needle get me | Returns the user and the workspace (`organization`) this caller is bound to. |
| `NEEDLE_MCP_NEEDLE_GET_MESSAGE_PREVIEW_FOR_STEP` | 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. Nothing is sent or saved. AI steps write the message fresh on every call, so check a few enrollments before going live. status unavailable gives the reason, such as a missing lead field. Step ids are the node ids from needleGetCampaign; enrollmentId comes from needleListCampaignLeads. |
| `NEEDLE_MCP_NEEDLE_GET_MESSAGE_PREVIEW_FOR_TASK` | Needle get message preview for task | What a queued task would send to its lead, from the step's current content and account. Nothing is sent or saved. AI steps write the message fresh on every call. status unavailable gives the reason. Task ids come from needleListCampaignTasks or needleListLeadTasks. |
| `NEEDLE_MCP_NEEDLE_GET_ONBOARDING_INFO` | 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. Fields the user has not reached yet are null or empty. |
| `NEEDLE_MCP_NEEDLE_GET_PLACE` | Needle get place | Get place details by Google Place id. The response includes remainingUsage for this workspace. |
| `NEEDLE_MCP_NEEDLE_GET_WEBHOOK` | Needle get webhook | Get one webhook with its delivery status. |
| `NEEDLE_MCP_NEEDLE_LIKE_INSTAGRAM_POST` | Needle like instagram post | Like an Instagram post, or one of its comments. A like is the only reaction a post takes. |
| `NEEDLE_MCP_NEEDLE_LIST_CAMPAIGN_EVENTS` | Needle list campaign events | List a page of campaign events. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_CAMPAIGN_LEADS` | Needle list campaign leads | List a page of leads enrolled in a campaign. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_CAMPAIGNS` | Needle list campaigns | List a page of campaigns. Filter by status. Use nextCursor as cursor for the next page. Results leave out the step graph; use needleGetCampaign for it. |
| `NEEDLE_MCP_NEEDLE_LIST_CAMPAIGN_TASKS` | Needle list campaign tasks | List a page of the actions this campaign owes its leads, earliest scheduled first. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_CONNECTED_ACCOUNT_EVENTS` | Needle list connected account events | List a page of events for a connected account. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_CONNECTED_ACCOUNT_LIMITS` | 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. Use this to explain a 429 or before changing a cap. |
| `NEEDLE_MCP_NEEDLE_LIST_CONNECTED_ACCOUNTS` | Needle list connected accounts | List a page of connected LinkedIn and Instagram accounts. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_CONNECTED_ACCOUNT_TASKS` | Needle list connected account tasks | List a page of the queue for one connected account, earliest scheduled first. Limits and pacing are per account, so this is the order and rate its work will go out at. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_DRAFTS` | Needle list drafts | List a page of drafted messages, newest first. By default only the ones waiting for a person to review them in the Needle inbox; pass status for sent, failed or discarded ones. Filter by campaignId, leadId or connectedAccountId. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_FILES` | Needle list files | List a page of files you can use: every workspace file, then your private files. Each item includes scope. Pass a workspace url on a campaign step or a LinkedIn send. Pass your own user url on needleSendLinkedinMessage or needleSendLinkedinInMail. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_INSTAGRAM_CONVERSATION_MESSAGES` | Needle list instagram conversation messages | List messages in an Instagram conversation. |
| `NEEDLE_MCP_NEEDLE_LIST_INSTAGRAM_CONVERSATION_PARTICIPANTS` | Needle list instagram conversation participants | List the accounts in an Instagram conversation, with their usernames. |
| `NEEDLE_MCP_NEEDLE_LIST_INSTAGRAM_CONVERSATIONS` | Needle list instagram conversations | List the Instagram inbox of a connected account, most recent first. |
| `NEEDLE_MCP_NEEDLE_LIST_INSTAGRAM_FOLLOWERS` | Needle list instagram followers | List the followers of an Instagram account. Omit identity for the connected account. |
| `NEEDLE_MCP_NEEDLE_LIST_INSTAGRAM_FOLLOWING` | Needle list instagram following | List the accounts an Instagram account follows. Omit identity for the connected account. |
| `NEEDLE_MCP_NEEDLE_LIST_INSTAGRAM_POST_COMMENTS` | Needle list instagram post comments | List the comments on an Instagram post, or the replies to one comment. |
| `NEEDLE_MCP_NEEDLE_LIST_INSTAGRAM_POST_REACTIONS` | Needle list instagram post reactions | List the accounts that liked an Instagram post, or one of its comments. |
| `NEEDLE_MCP_NEEDLE_LIST_INSTAGRAM_POSTS` | Needle list instagram posts | List the posts of an Instagram account, most recent first. A username that does not exist comes back with no posts. |
| `NEEDLE_MCP_NEEDLE_LIST_LEAD_EVENTS` | Needle list lead events | List a page of events for a lead. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_LEAD_PROPERTIES` | Needle list lead properties | List every custom property key leads in this workspace use, with its type, lead count and most common values. Use them as properties. in needleSearchLeads filters. |
| `NEEDLE_MCP_NEEDLE_LIST_LEADS` | Needle list leads | List a page of leads in this workspace. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_LEAD_TASKS` | Needle list lead tasks | List a page of the actions campaigns owe a lead, earliest scheduled first. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_COMPANY_JOBS` | Needle list linkedin company jobs | List jobs on a LinkedIn company page. Identifier accepts a public identifier, numeric id, or company URL. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_COMPANY_POSTS` | Needle list linkedin company posts | List posts on a LinkedIn company page. Identifier accepts a public identifier, numeric id, or company URL. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_CONVERSATION_MESSAGES` | Needle list linkedin conversation messages | List messages in a LinkedIn conversation. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_CONVERSATIONS` | Needle list linkedin conversations | List LinkedIn conversations. Use a conversationId from here to read its messages. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_FOLLOWERS` | Needle list linkedin followers | List followers of the connected account, or of a person or company when identity is given. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_FOLLOWING` | Needle list linkedin following | List the people and companies this account follows. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_INVITATIONS` | Needle list linkedin invitations | List a page of pending LinkedIn connection invitations from this account. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_POST_COMMENTS` | Needle list linkedin post comments | List comments on a post, or replies to one comment when commentId is given. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_POST_REACTIONS` | Needle list linkedin post reactions | List the people who reacted to a LinkedIn post, or to a comment when commentId is given. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_POSTS` | Needle list linkedin posts | List posts from a person (user id or public identifier) or a company page (numeric id or company URL). remainingUsage is the post-view budget; looking up a handle also spends a profile-view or company-view unit. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_RECEIVED_INVITATIONS` | Needle list linkedin received invitations | List connection invitations other people sent to this account. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_RELATIONS` | Needle list linkedin relations | List first-degree LinkedIn connections. Use the returned cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_LINKEDIN_SEARCH_PARAMETERS` | Needle list linkedin search parameters | Resolve LinkedIn filter values from keywords. Each service has its own types: standard LinkedIn resolves LOCATION and INDUSTRY, while Sales Navigator resolves REGION and SALES_INDUSTRY along with DEPARTMENT, GROUPS, PERSONA, ACCOUNT_LISTS and LEAD_LISTS. LANGUAGE lists official ISO 639-1 codes for either and can be filtered by code or name. |
| `NEEDLE_MCP_NEEDLE_LIST_SUPPRESSIONS` | Needle list suppressions | List a page of suppression entries. Optionally filter by reason. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_LIST_WEBHOOKS` | Needle list webhooks | List the workspace's webhooks, oldest first, with their delivery status. lastError is null when the last delivery succeeded. |
| `NEEDLE_MCP_NEEDLE_REACT_TO_INSTAGRAM_MESSAGE` | Needle react to instagram message | Add an emoji reaction to an Instagram direct message. |
| `NEEDLE_MCP_NEEDLE_REACT_TO_LINKEDIN_POST` | Needle react to linkedin post | React to a LinkedIn post, or to a comment when commentId is given. Defaults to like. |
| `NEEDLE_MCP_NEEDLE_READ_DOCS` | Needle read docs | Read one page of the Needle documentation as markdown. Use it to answer how Needle works: its features, integrations, setup, and limits. Not sure which page? Search first with needleSearchDocs. Pages: - introduction: What Needle is and the ways to use it: the dashboard, the REST API, and MCP. - authentication: Two ways in: API keys for the REST API, sign-in for MCP. - agent-onboarding: Where an agent starts: MCP, the REST API, credentials, and common outbound workflows. - api-reference/introduction: Every REST API endpoint. Each endpoint has its own page, for example api-reference/create-lead. - mcp/introduction: Every MCP tool. Each tool has its own page, for example mcp/needle-create-lead. - changelog: Notable changes to the Needle Agents REST API and MCP server. - workspaces: Where leads, campaigns, and connected accounts live. - leads: People you can enroll in a campaign. - campaigns: Sequences this workspace is running. - enrollments: A lead moving through a campaign sequence. - drafts: Messages that wait for a person to approve them. - connected-accounts: LinkedIn and Instagram senders this workspace reaches out from. - suppressions: People and companies on the do-not-contact list. - events: Activity across campaigns, leads, and connected accounts. - webhooks: Receive events at your own URL as they happen. - attio: Sync your team's LinkedIn activity to your Attio People. - hubspot: Sync your team's LinkedIn activity to your HubSpot contacts. - places: Companies and locations you can turn into lead lists. - compose: Preview an AI-written message before you send it. - agents: Personal agents that work in Slack and Teams. |
| `NEEDLE_MCP_NEEDLE_REMOVE_CAMPAIGN_LEAD` | Needle remove campaign lead | Stop a live lead enrollment in a campaign. |
| `NEEDLE_MCP_NEEDLE_RESET_CONNECTED_ACCOUNT_LIMIT` | Needle reset connected account limit | Remove the override for one action so the connected account runs on the channel defaults again. |
| `NEEDLE_MCP_NEEDLE_RESPOND_TO_LINKEDIN_INVITATION` | Needle respond to linkedin invitation | Accept or decline an invitation from the received invitations listing. |
| `NEEDLE_MCP_NEEDLE_SEARCH_CAMPAIGNS` | Needle search campaigns | Find campaigns in this workspace by name. Every word in query must match; names starting with it come first. Pass nextCursor as cursor, with the same query, for more. Results leave out the step graph; use the returned id with needleGetCampaign for it. |
| `NEEDLE_MCP_NEEDLE_SEARCH_CONNECTED_ACCOUNTS` | Needle search connected accounts | Find connected accounts by display name, handle, or username. Every word in query must match; names or handles starting with it come first. Pass nextCursor as cursor, with the same query, for more. Use the returned id with needleGetConnectedAccount. |
| `NEEDLE_MCP_NEEDLE_SEARCH_DOCS` | Needle search docs | Find Needle documentation pages: guides, concepts, every REST API endpoint, and every MCP tool. Pages that match more of the words come first. Read a result with needleReadDocs and its pageId. |
| `NEEDLE_MCP_NEEDLE_SEARCH_ENROLLMENTS` | Needle search enrollments | Find enrollments by the lead or the campaign name. Every word in query must match; lead names starting with it come first. Pass campaignId to search inside one campaign. Pass nextCursor as cursor, with the same query and campaignId, for more. Each enrollment includes campaignId and campaignName. |
| `NEEDLE_MCP_NEEDLE_SEARCH_EVENTS` | Needle search events | Search a page of events. Filter by campaign, lead, enrollment, account, type, channel, or date. Use nextCursor as cursor for the next page. |
| `NEEDLE_MCP_NEEDLE_SEARCH_LEADS` | Needle search leads | Find leads already in this workspace. With a query, best matches come first (name, then email starting with it); without one, newest first. Every word in query must appear in the name, email, company, title, or a handle. Filter built-in fields (jobTitle, companyDomain, createdAt…) or custom properties as properties.; call needleListLeadProperties first for the keys, types and common values. Pass nextCursor as cursor, with the same query and filters, for the next page. |
| `NEEDLE_MCP_NEEDLE_SEARCH_LINKEDIN_COMPANIES_CLASSIC` | Needle search linkedin companies classic | Search LinkedIn companies. Provide either keywords or a LinkedIn company searchUrl, not both. |
| `NEEDLE_MCP_NEEDLE_SEARCH_LINKEDIN_JOBS` | Needle search linkedin jobs | Search LinkedIn jobs with keywords, a company, or a LinkedIn jobs searchUrl. Do not combine a searchUrl with keywords or company. |
| `NEEDLE_MCP_NEEDLE_SEARCH_LINKEDIN_PEOPLE` | Needle search linkedin people | Deprecated. Use needleSearchLinkedinPeopleClassic for standard LinkedIn or needleSearchLinkedinPeopleSalesNavigator for Sales Navigator. |
| `NEEDLE_MCP_NEEDLE_SEARCH_LINKEDIN_PEOPLE_CLASSIC` | Needle search linkedin people classic | Search standard LinkedIn people with keywords or filters. Resolve location, industry, company, school, service-category, connections-of, and followers-of ids with needleListLinkedinSearchParameters using service classic. Job titles are keyword-matched here via advancedKeywords.title, not ids. |
| `NEEDLE_MCP_NEEDLE_SEARCH_LINKEDIN_PEOPLE_SALES_NAVIGATOR` | 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. Most filters also take an excluded form. Resolve filter ids with needleListLinkedinSearchParameters using service sales_navigator. Requires a Sales Navigator seat. |
| `NEEDLE_MCP_NEEDLE_SEARCH_LINKEDIN_POSTS` | Needle search linkedin posts | Search LinkedIn posts. Provide either keywords or a LinkedIn post searchUrl, not both. |
| `NEEDLE_MCP_NEEDLE_SEARCH_PLACES` | Needle search places | Build a list of businesses and locations. Pass a query for text search, or a location (and optional type) for nearby search. Page text-search results with the returned cursor. The response includes remainingUsage for this workspace. |
| `NEEDLE_MCP_NEEDLE_SEARCH_SUPPRESSIONS` | Needle search suppressions | Find suppression entries by person, company domain, note, or reason. Every word in query must match; people or domains starting with it come first. Pass nextCursor as cursor, with the same query, for more. Use the returned id with needleDeleteSuppression. |
| `NEEDLE_MCP_NEEDLE_SEND_INSTAGRAM_MESSAGE` | Needle send instagram message | Send an Instagram direct message as a connected account. |
| `NEEDLE_MCP_NEEDLE_SEND_LINKEDIN_IN_MAIL` | Needle send linkedin in mail | Send a LinkedIn InMail. Needs a Sales Navigator seat. Reaches people in your network and out-of-network Open Profiles. Usually costs one credit. Attach files by passing a url from needleListFiles or from creating a file first. |
| `NEEDLE_MCP_NEEDLE_SEND_LINKEDIN_INVITATION` | Needle send linkedin invitation | Send a LinkedIn connection invitation. |
| `NEEDLE_MCP_NEEDLE_SEND_LINKEDIN_MESSAGE` | Needle send linkedin message | Send a LinkedIn message as a connected account. Attach files by passing a url from needleListFiles or from creating a file first. |
| `NEEDLE_MCP_NEEDLE_STOP_CAMPAIGN_LEADS` | Needle stop campaign leads | Stop the live enrollments of up to 500 leads in a campaign, by lead id. Returns stopped or skipped (not_live: nothing live for that lead in this campaign) per lead id in request order; retrying is safe. |
| `NEEDLE_MCP_NEEDLE_UNFOLLOW_INSTAGRAM_USER` | Needle unfollow instagram user | Unfollow an Instagram user as a connected account. |
| `NEEDLE_MCP_NEEDLE_UPDATE_CAMPAIGN` | Needle update campaign | Update a campaign. |
| `NEEDLE_MCP_NEEDLE_UPDATE_CONNECTED_ACCOUNT` | Needle update connected account | Update a connected account. |
| `NEEDLE_MCP_NEEDLE_UPDATE_CONNECTED_ACCOUNT_LIMIT` | Needle update connected account limit | Set hourly, daily, or weekly caps for one action on a connected account. Fields left out keep the channel default. Caps can be tightened or loosened but not removed. Going above the default is applied but returns a warning, since it raises the risk of the channel restricting the account; relay it to the user. |
| `NEEDLE_MCP_NEEDLE_UPDATE_LEAD` | Needle update lead | Update a lead profile or identities. |
| `NEEDLE_MCP_NEEDLE_UPDATE_LEAD_PROPERTY` | 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. Stored values are not changed. |
| `NEEDLE_MCP_NEEDLE_UPDATE_LEADS` | Needle update leads | Update up to 500 existing leads by id; never creates leads. Each row takes leadId plus the fields to change, same as needleUpdateLead. Returns updated or skipped per row in request order; skipped rows say why (lead_not_found, invalid_identity, or identity_taken with the conflictingLeadId). |
| `NEEDLE_MCP_NEEDLE_UPDATE_WEBHOOK` | 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). Only the member who created the webhook can change it. Pending deliveries of event types no longer picked are dropped. Only the headers named change: a value sets or replaces one, null removes it. A new URL removes all saved headers first. The secret stays the same, and pending deliveries go out with the new URL and headers. Header values you send pass through your AI app. |
| `NEEDLE_MCP_NEEDLE_UPSERT_LEAD` | Needle upsert lead | Create a lead, or when a LinkedIn or Instagram identity already belongs to one, patch the fields sent onto it. Returns created or matched with the lead. Same identity formats as needleCreateLead. |
| `NEEDLE_MCP_NEEDLE_WITHDRAW_DRAFT` | Needle withdraw draft | Take back a draft before anyone reviewed it, so it never sends. Only for drafts created with needleCreateDraft; a draft a campaign step holds goes away when the lead is removed from the campaign. |
| `NEEDLE_MCP_NEEDLE_WITHDRAW_LINKEDIN_INVITATION` | Needle withdraw linkedin invitation | Withdraw a pending LinkedIn invitation. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Needle MCP
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["needle_mcp"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["needle_mcp"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run Needle MCP tools with your agent

Send a request, execute the Needle MCP tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Create a LinkedIn outreach campaign for my new leads"}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Create a LinkedIn outreach campaign for my new leads" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Needle MCP and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["needle_mcp"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["needle_mcp"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Needle MCP request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Needle MCP tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Create a LinkedIn outreach campaign for my new leads")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Create a LinkedIn outreach campaign for my new leads",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native Needle MCP Integration

- Supports both Needle MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable lead and outreach tool execution
- Rich coverage for managing leads, campaigns, drafts, and connected social accounts

### 2. Managed Auth

- Built-in OAuth handling with automatic token refresh and rotation
- Central place to manage, scope, and revoke Needle MCP access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Needle MCP
- Scoped, least privilege access to Needle MCP resources
- Full audit trail of agent actions to support review and compliance

## Use Needle MCP with any AI Agent Framework

Choose a framework you want to connect Needle MCP with:

- [ChatGPT](https://composio.dev/toolkits/needle_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/needle_mcp/framework/claude-cowork)

## Related Toolkits

- [HubSpot](https://composio.dev/toolkits/hubspot) - HubSpot is an all-in-one marketing, sales, and customer service platform. It lets teams nurture leads, automate outreach, and track every customer interaction in one place.
- [Pipedrive](https://composio.dev/toolkits/pipedrive) - Pipedrive is a sales management platform offering pipeline visualization, lead tracking, and workflow automation. It helps sales teams keep deals moving forward efficiently and never miss a follow-up.
- [Apollo](https://composio.dev/toolkits/apollo) - Apollo is a CRM and lead generation platform that helps businesses discover contacts and manage sales pipelines. Use it to streamline customer outreach and track your deals from one place.
- [Attio](https://composio.dev/toolkits/attio) - Attio is a customizable CRM and workspace for managing your team's relationships and workflows. It helps teams organize contacts, automate tasks, and collaborate more efficiently.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [AeroLeads MCP](https://composio.dev/toolkits/aeroleads_mcp) - AeroLeads MCP is a hosted B2B prospecting service for finding people and discovering work emails. It provides agent-ready lead search, email verification, contact lists, and credit visibility.
- [Affinity](https://composio.dev/toolkits/affinity) - Affinity is a relationship intelligence CRM that helps private capital investors find, manage, and close more deals. It streamlines deal flow and surfaces key connections to help you win opportunities.
- [Agencyzoom](https://composio.dev/toolkits/agencyzoom) - AgencyZoom is a sales and performance platform built for P&C insurance agencies. It helps agents boost sales, retain clients, and analyze producer results in one place.
- [Agile CRM](https://composio.dev/toolkits/agile_crm) - Agile CRM is a unified customer management platform combining contacts, sales pipelines, marketing, and support. Use it to centralize customer data, automate campaigns, and manage deals and tickets in one place.
- [Apollo MCP](https://composio.dev/toolkits/apollo_mcp) - Apollo MCP is Apollo.io's hosted server for prospecting, enrichment, and CRM workflows. It gives agents structured access to Apollo data and actions through one integration.
- [Attio MCP](https://composio.dev/toolkits/attio_mcp) - Attio is a flexible CRM for managing companies, people, deals, notes, and workspace data. Its connected data model helps teams keep customer information organized and actionable.
- [Aviato](https://composio.dev/toolkits/aviato) - Aviato is a company and person intelligence platform for search, enrichment, investments, relationships, and contact data. It helps teams research markets and prospects with native BYOK access to detailed business intelligence.
- [Bettercontact](https://composio.dev/toolkits/bettercontact) - Bettercontact is a smart contact enrichment tool for finding emails and phone numbers. It helps boost lead generation with automated, waterfall search across multiple sources.
- [Blackbaud](https://composio.dev/toolkits/blackbaud) - Blackbaud provides cloud-based software for nonprofits, schools, and healthcare institutions. It streamlines fundraising, donor management, and mission-driven operations.
- [Blitz API](https://composio.dev/toolkits/blitz_api) - Blitz API is a people, company, and job search API with contact and company enrichment. Use it to enrich leads and accelerate sales outreach with accurate contact and firmographic data.
- [Blitz API MCP](https://composio.dev/toolkits/blitz_api_mcp) - Blitz API MCP is a hosted remote MCP server for searching and enriching B2B people, companies, and jobs. It gives AI agents structured access to fresh business data without building a custom integration.
- [Brilliant directories](https://composio.dev/toolkits/brilliant_directories) - Brilliant Directories is an all-in-one platform for building and managing online membership communities and business directories. It streamlines listings, member management, and engagement tools into a single, easy interface.
- [Capsule crm](https://composio.dev/toolkits/capsule_crm) - Capsule CRM is a user-friendly CRM platform for managing contacts and sales pipelines. It helps businesses organize relationships and streamline their sales process efficiently.
- [Centralstationcrm](https://composio.dev/toolkits/centralstationcrm) - CentralStationCRM is an easy-to-use CRM software focused on collaboration and long-term customer relationships. It helps teams manage contacts, deals, and communications all in one place.
- [Clarify MCP](https://composio.dev/toolkits/clarify_mcp) - Clarify MCP is a CRM platform for managing companies, people, deals, meetings, tasks, lists, and campaigns. Use it to centralize CRM data and streamline sales and marketing workflows.

## Frequently Asked Questions

### Do I need my own developer credentials to use Needle MCP with Composio?

Yes, Needle MCP requires you to configure your own DCR OAuth credentials. Once set up, Composio handles secure credential storage and management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
