# Socket MCP connector

The Socket connector brings dependency scores, alerts, the threat feed and package file contents into Claude, ChatGPT, Cursor, Microsoft Copilot and the Elaichi Agent, where each person sees only what their own Socket account allows.

Source: https://elaichi.ai/connectors/socket/

## Facts

| | |
| --- | --- |
| Application | Socket |
| Category | Security |
| AI tools | 7 |
| Authentication | Connects over OAuth |
| Bring your own OAuth app | No |
| Native MCP | Yes. Socket builds and runs this MCP server. Elaichi adds sign-in, access controls and an audit log on top |
| Support for its tools | support.socket.dev/hc/en-us |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## Why connect Socket's MCP server through Elaichi

Socket builds and runs this MCP server. Elaichi sits in front of it, so Socket's tools follow the same sign-in, access rules and audit log as every other connector your organization uses. Calls an AI client makes to Socket's server directly, outside Elaichi, get none of this.

- **One address for every AI client.** Claude, ChatGPT, Cursor and Microsoft Copilot reach Socket's tools at the same Elaichi address as every other connected app. Nobody adds Socket's server to each client one by one.
- **Each person signs in as themselves.** Each person signs in to Elaichi as themselves. Members connect with their own Socket sign-in, and a connection someone shares runs on its owner's account. The credential stays in Elaichi's separate credential service, and the AI client holds only its Elaichi sign-in.
- **Rules checked before a call leaves.** Restrictions on a role or a person, for the whole connector or a single tool, are checked before a call reaches Socket's server. By default, a tool Socket does not mark read-only or non-destructive counts as destructive, and over MCP it still runs under the "Use your connected apps" consent.
- **One audit log for every app.** Each call that runs is recorded with the person, the tool, the connection and the AI client that made it, in the same audit log as every other app.
- **Tool issues go to Socket.** Socket builds and runs these tools, and Elaichi staff do not curate them, so a report about how a tool behaves goes to the Socket team. Contact: [support.socket.dev/hc/en-us](https://support.socket.dev/hc/en-us).

More: [why run a vendor's MCP server through Elaichi](https://elaichi.ai/blog/vendor-mcp-servers-through-elaichi/)

## What you can ask once Socket is connected

- What is the dependency score for lodash 4.17.21?
- Show me open alerts in our organization from this week.
- Search the files in express 4.19 for postinstall scripts.

## Connect Socket in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Socket.
2. Optionally set Share with, then press Connect.
3. Approve it in Socket. Socket's own window opens. Whoever approves it decides what this connection can reach.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Socket tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Socket MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Socket MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. In a terminal, run `claude mcp add` with the endpoint.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Socket MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Socket MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Socket MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Socket to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Socket tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Socket through Elaichi

### Triage this morning's alerts before standup

Security. Ask for the open Socket alerts in your organization, sorted by severity, and get a plain summary of which packages were flagged and why.

### Check a package before adding it

Engineering. Ask for the dependency score of a package and version you are about to install, and hear what pulls the score down before it reaches a pull request.

### Watch the threat feed for your stack

Platform. Ask what has appeared in the Socket threat feed this week that touches the ecosystems you ship, and get the list without opening a dashboard.

### Look inside a suspicious package

Incident response. List the files in a package version, open the install script, and search its contents for a domain or command while the incident is still live.

### Write up a package risk review

Compliance. Pull the score, open alerts and file list for a package into one note that an auditor can read without a Socket login.

### Compare candidate libraries side by side

Open source office. Ask for the dependency scores of three libraries that do the same job and get a short recommendation grounded in Socket's findings.

## Elaichi vs Zapier MCP vs Composio for Socket

All three can connect Socket to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Socket tools | Allow or restrict single Socket tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Socket call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Socket to Claude?

Connecting Socket to Claude takes two steps. In Elaichi, choose Socket and sign in over OAuth, which means approving access on Socket's own sign-in page, with no OAuth application to register and no client ID or secret to generate. Then in Claude open Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp.

### Does Socket work with ChatGPT and Cursor as well as Claude?

Yes. Once Socket is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent. You connect Socket once and every client picks it up.

### What can an AI agent actually do with my Socket data?

With Socket connected, an agent can look up the dependency score for a package and version, read the open alerts in your Socket organization, scan the threat feed for newly flagged packages, and list the files inside a package, open one, or search its contents for a word or domain. Short, specific asks such as a package name and version work better than long sentences.

### Does connecting Socket give the AI everything in my organization?

No. Every call to Socket runs as the person who signed in, so the agent sees only the Socket organizations, alerts and packages that person can already see. Elaichi can narrow that further with roles and restrictions, and it can never widen it beyond what Socket itself grants.

### Can my team share one Socket connection?

Yes. One person connects Socket in Elaichi and shares the connection with a team, and nobody else ever handles a token or credential. Each teammate still signs in to Elaichi as themselves, so the audit log names the actual person behind every Socket lookup.

### Can I stop an agent from deleting or changing things in Socket?

Yes. Restrictions in Elaichi apply per action, so you can allow reading Socket alerts and scores while restricting anything you do not want an agent to touch. A restricted action still appears in Elaichi's tool search, flagged as restricted, but Claude, ChatGPT, Cursor or Microsoft Copilot cannot run it, whatever the prompt says.

### What happens to a Socket connection when someone leaves?

When you offboard someone in Elaichi, their access to Socket through every AI client ends at once. A Socket connection they shared keeps working for everyone else on the team. If you ever want Socket gone entirely, disconnecting it once in Elaichi removes it from every client.

### Does the Socket MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Socket is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Socket?

Yes. Both let Claude, ChatGPT or Cursor use Socket. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Socket call.

### How is Elaichi different from Composio for Socket?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Socket: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 7 Socket tools

Every tool below is callable through https://api.elaichi.ai/mcp once Socket is connected, subject to the toolbox it is in and the restrictions on the caller.

- **Depscore** (Action). Get the dependency score of packages with the `depscore` tool from Socket. Use 'unknown' for version if not known. Use this tool to scan dependencies for their quality and security on existing code or when code is generated. Stop generating code and ask the user how to proceed…
- **Organizations** (Action). List the Socket organizations the authenticated user belongs to with the `organizations` tool. Use this to discover the `org_slug` values needed by other org-scoped tools (e.g. `alerts`, `threat_feed`), or when the user asks which organizations they have access to.
- **Alerts** (Action). List the latest security alerts for a Socket organization with the `alerts` tool. Requires `org_slug` — call the `organizations` tool first if you don't have it. Supports filtering by severity, category, status, artifact type/name, alert type, and repo. Use this to surface…
- **Threat feed** (Action). Look up items in the Socket organization threat feed with the `threat_feed` tool. Requires `org_slug` — call the `organizations` tool first if you don't have it. Returns recently flagged packages (malware, typosquats, obfuscated code, etc.) along with a `nextPageCursor` for…
- **Package files** (Action). List the files published in a package using the `package_files` tool from Socket. Returns a tree of paths and sizes for any package on a supported ecosystem (npm, pypi, gem, cargo, maven, golang, nuget, chrome, openvsx). Useful for inspecting what a dependency ships before…
- **Package file contents** (Action). Read a single file from a package using the `package_file_contents` tool from Socket. Pass the `hash` printed next to each entry in `package_files` output. Returns up to 1 MB of UTF-8 text; binary files return metadata only.
- **Package file grep** (Action). Search a single file from a package for lines matching a JavaScript regular expression. Pass the `hash` printed next to each entry in `package_files` output. The file is fetched from Socket once per session and cached, so repeated greps on the same hash skip the network.…
