We and selected third parties use cookies or similar technologies for technical purposes and, with your consent, to analyze how the site is used.

You can freely give, refuse or withdraw your consent at any time.

Socket

MCP server by Socket

Check supply-chain security scores for npm, PyPI, Maven, Go and other packages, and inspect package files before installing.

Sign-in optional (Works without an account; sign in for more)Streamable HTTP

Connect to Socket

Sign-in is optional. Connect with Socket’s own URL:

https://mcp.socket.dev/

It works without signing in. Sign in with Socket for more access.

Share this server

Opens this page, with the URL and setup steps.

mcp.tc/i/socket

About

Socket connects your assistant to Socket's dependency security data. It scores packages for vulnerabilities, malware, supply chain risk, quality, maintenance and license issues across ecosystems such as npm, PyPI, Cargo, Maven, NuGet, RubyGems and Go. It can also list organization alerts, read the threat feed, and browse or grep the files a package ships.

A hosted endpoint is available at https://mcp.socket.dev/ over streamable HTTP, and the README describes an OAuth sign-in through your MCP client. You can also self-host the npm package @socketsecurity/mcp with a Socket API token and Node.js 24 or later. Sessions on the hosted server may occasionally need a fresh initialize.

What you can do

  • Score packages for security, quality and maintenance
  • Audit dependencies found in manifests and code imports
  • List Socket organizations you belong to
  • List security alerts with severity and status filters
  • Browse the threat feed for malware and typosquats
  • List files published in a package
  • Read or grep a single file inside a package

Tools 7

  • depscoreRead-only

    Get dependency quality and security scores for packages; use 'unknown' when the version is not…

  • organizationsRead-only

    List the Socket organizations the signed-in user belongs to and their org_slug values.

  • alertsRead-only

    List latest security alerts for an organization with filters and pagination.

  • threat_feedRead-only

    Look up recently flagged packages such as malware and typosquats, with filters and pagination.

  • package_filesRead-only

    List the files and sizes published in a package across supported ecosystems.

  • package_file_contentsRead-only

    Read a single file from a package, up to 1 MB of text.

  • package_file_grepRead-only

    Search a package file for lines matching a JavaScript regular expression.

Read from the live server on 17 Nov 2026. Read-only, Writes and Can delete are hints the server declares; your client decides whether to ask before running a tool.

Example prompts

  • Check the security score for express version 4.18.2

  • Audit the dependencies in my package.json for risky packages

  • Show the latest high severity alerts for my Socket organization

  • List the files in the npm package left-pad before I install it

Set up

Every client connects to mcp.socket.dev. Pick yours; the page remembers your choice.

Claude Code

  1. Run this in a terminal, in your project folder:
claude mcp add --transport http socket https://mcp.socket.dev/
  1. Start Claude Code and type /mcp. socket should show as connected. To sign in for more access, pick it and choose Authenticate.

Add --scope user to make it available in every project, not just this one.

Claude Desktop

  1. Open Customize → Connectors, click + Add, then Add custom connector.
  2. Name it Socket and paste this URL:
https://mcp.socket.dev/
  1. Click Add, then Connect. Signing in to Socket is optional.

Claude Desktop’s JSON config file only starts local servers. Remote servers go through Connectors, and connectors you add on claude.ai show up here too.

claude.ai

  1. Open the connector form on claude.ai. This button fills in the name and URL for you:
  1. Check that the URL reads https://mcp.socket.dev/ and click Add.
  2. Click Connect. Signing in to Socket is optional.

Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under Organization settings → Connectors.

ChatGPT

  1. On chatgpt.com, go to Plugins, select +, then Add custom MCP server.
  2. Enter a name for the server.
  3. Under Connection, paste https://mcp.socket.dev/ as the server URL, then for authentication choose No authentication, or OAuth to sign in to Socket for more access.
  4. Check I understand and want to continue, then select Create as a plugin.

Whether you can add a custom MCP server depends on your ChatGPT plan and your workspace permissions (in Business workspaces, admins and owners can).

Cursor

Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):

mcp.json
{
  "mcpServers": {
    "socket": {
      "url": "https://mcp.socket.dev/"
    }
  }
}

VS Code

Or from a terminal:

code --add-mcp '{"name":"socket","type":"http","url":"https://mcp.socket.dev/"}'

Or commit it to the repo in .vscode/mcp.json:

.vscode/mcp.json
{
  "servers": {
    "socket": {
      "type": "http",
      "url": "https://mcp.socket.dev/"
    }
  }
}

Devin Desktop

  1. Add it to ~/.config/devin/mcp_config.json (macOS and Linux) or %APPDATA%\devin\mcp_config.json (Windows):
mcp_config.json
{
  "mcpServers": {
    "socket": {
      "serverUrl": "https://mcp.socket.dev/"
    }
  }
}
  1. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf. It reads serverUrl (or url) for remote servers.

Codex

codex mcp add socket --url https://mcp.socket.dev/

Or edit ~/.codex/config.toml directly:

config.toml
[mcp_servers.socket]
url = "https://mcp.socket.dev/"

Gemini CLI

gemini mcp add --transport http socket https://mcp.socket.dev/

Then, inside Gemini CLI, run /mcp auth socket to sign in (optional).

This adds it to the current project. Add -s user to use it everywhere.

Any client

Most clients accept this shape. Some name the URL field differently: serverUrl in Devin Desktop, httpUrl in Gemini CLI’s settings file.

{
  "mcpServers": {
    "socket": {
      "type": "http",
      "url": "https://mcp.socket.dev/"
    }
  }
}

Zed puts servers under context_servers in its settings. Cline needs "type": "streamableHttp", or it assumes SSE.

Client only starts local servers? Bridge it with npx -y mcp-remote https://mcp.socket.dev/.

Embed

Show Socket in a README or on your site. Each embed links to this page, uses the server’s own URL, and sets no cookies. How embeds work

The card, the iframe and the JSON are in English. Add ?lang=it, fr, de or es to their address for another language.

README badge

Badge preview, lightBadge preview, dark
Markdown
[![Socket on mcp.tc](https://mcp.tc/i/socket/badge.svg)](https://mcp.tc/i/socket)
HTML
<a href="https://mcp.tc/i/socket"><img src="https://mcp.tc/i/socket/badge.svg" alt="Socket on mcp.tc" height="20"></a>

It follows the reader’s light or dark mode. Add ?theme=light or ?theme=dark to fix it, or ?style=compact to show the mark without the word.

Website card

HTML
<script src="https://mcp.tc/w/socket.js" async></script>

The card appears where the tag is. Add data-theme="dark" or data-size="compact" to the tag to change it. The file holds everything it needs, so it makes no other requests and sets no cookies.

iframe

HTML
<iframe src="https://mcp.tc/embed/socket" title="Socket on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>

Use it on pages that don’t allow scripts. Add ?theme=light or ?theme=dark to the address to fix the colors.

JSON

The listing as data for your own pages and tools: name, tagline, the server’s own URL, tools and the “Add to” links. Any site can read it (CORS is open).

https://mcp.tc/i/socket.json

What each field means

AI prompt

Paste this into an AI coding assistant, such as Claude Code or Cursor, and it adds the Socket card to your site.

Markdown
Add the mcp.tc card for Socket, an MCP server, to my website. It is one static script: no build step, no package to install, no cookies.

Put this tag where the card should appear. The card renders right before it:

```html
<script src="https://mcp.tc/w/socket.js" async></script>
```

To show the card somewhere else, put this placeholder there and load the same script once, for example before `</body>`. Keep the link inside: visitors without JavaScript see it.

```html
<div data-mcptc="socket"><a href="https://mcp.tc/i/socket">Socket on mcp.tc</a></div>
```

Options:
- `data-theme="light"` or `"dark"` on the tag or the placeholder fixes the colors. Without it, the card follows the visitor’s light or dark mode.
- `data-size="compact"` gives a smaller card without the tagline.
- The CSS variable `--mcptc-max-width` on the placeholder or a parent sets the width (default `520px`).
- `?lang=` on the script URL sets the card’s language: `en`, `it`, `fr`, `de` or `es`.

If the site has a Content Security Policy, allow `script-src https://mcp.tc` and `img-src data:` (the icon is inline).

For a README or other Markdown docs, use the badge instead:

```markdown
[![Socket on mcp.tc](https://mcp.tc/i/socket/badge.svg)](https://mcp.tc/i/socket)
```

Reference: https://mcp.tc/embed

Change history

We read this server’s tool list every 3 hours and record what changes. Last read 18 Nov 2026, 05:34 UTC.

Follow Socket and we’ll email you when something changes.

  1. , Automatic check

    New version 0.4.0 (was 0.3.0). Reported by the server.

  2. , Automatic check

    New version 0.3.0 (was 0.0.20). Reported by the server.

  3. , Automatic check

    7 tools changed.

    Details, 26 Oct 2026, 20:45 UTC

    Changed 7

    • alertsinput schema and hints
      • destructiveHint not set changed to no
      • openWorldHint not set changed to no
    • depscoredescription, input schema and hints
      Before

      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 when any of the scores are low. When checking dependencies, make sure to also check the imports in the code, not just the manifest files (pyproject.toml, package.json, etc).

      After

      Look up Socket scores when evaluating or adding dependencies. Returns available 0-100 supply chain, quality, maintenance, vulnerability, and license scores, plus report links. Lower scores mean higher risk. Use exact versions; ^ and ~ are stripped. Use 'unknown' to let Socket resolve a version, which may differ from the installed one. Missing scores are not a safety verdict. Scores do not list individual alerts.

      • destructiveHint not set changed to no
      • openWorldHint not set changed to yes
    • organizationsinput schema and hints
      • destructiveHint not set changed to no
      • openWorldHint not set changed to no
    • package_file_contentsinput schema and hints
      • destructiveHint not set changed to no
      • openWorldHint not set changed to yes
    • package_file_grepinput schema and hints
      • destructiveHint not set changed to no
      • openWorldHint not set changed to yes
    • package_filesdescription, input schema and hints
      Before

      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 installing it. After calling this, use `package_file_contents` with one of the paths to read the file's contents.

      After

      List the files published in a package using the `package_files` tool from Socket. Returns a tree of file paths, each with its size and blob hash, for any package on a supported ecosystem (npm, pypi, gem, cargo, maven, golang, nuget, chrome, openvsx). Useful for inspecting what a dependency ships before installing it. After calling this, pass a file's `hash` to `package_file_contents` to read that file, or to `package_file_grep` to search it for a pattern.

      • No longer required: ecosystem
      • destructiveHint not set changed to no
      • openWorldHint not set changed to yes
    • threat_feedinput schema and hints
      • destructiveHint not set changed to no
      • openWorldHint not set changed to yes
  4. , Automatic check

    Tracking started: 7 tools.

FAQ

Can I paste mcp.tc/i/socket into my MCP client?

No. mcp.tc links are pages, not server addresses. Connect with https://mcp.socket.dev/, so your client talks to Socket directly. The quick link is for sharing: it opens this page, with setup steps for every client.

Does Socket need an API key or a sign-in?

Not to start. Socket works without signing in and offers sign-in for more access.

Is Socket a remote or a local server?

Remote. Socket hosts it at https://mcp.socket.dev/, and it speaks Streamable HTTP. There’s nothing to install.

What can Socket do?

It has 7 tools, including depscore, organizations and alerts. You can score packages for security, quality and maintenance, audit dependencies found in manifests and code imports and list Socket organizations you belong to.

Which clients can use it?

Any client that supports remote MCP servers: Claude Code, Claude Desktop, claude.ai, ChatGPT, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. The setup steps cover each one.

Does mcp.tc track changes to Socket?

Yes. Socket’s History tab shows each change we find to its tools, down to descriptions and parameters, plus new versions and edits by its owner. Follow the listing to get an email when it changes.

Who wrote this page?

mcp.tc’s robot read Socket’s own metadata (its MCP handshake, tool list and public pages), and an AI model drafted the text from it. A person reviews anything the checks can’t confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.

mcp.tc isn’t affiliated with Socket. This page was built from Socket’s public metadata, last checked on 17 Nov 2026, and an AI model wrote the description, so it can be wrong. Names and marks belong to their owners. Something off? Report this listing.