Socket
MCP server by Socket
Check supply-chain security scores for npm, PyPI, Maven, Go and other packages, and inspect package files before installing.
Connect to Socket
Sign-in is optional. Connect with Socket’s own URL:
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/socketAbout
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-onlyGet dependency quality and security scores for packages; use 'unknown' when the version is not…
organizationsRead-onlyList the Socket organizations the signed-in user belongs to and their org_slug values.
alertsRead-onlyList latest security alerts for an organization with filters and pagination.
threat_feedRead-onlyLook up recently flagged packages such as malware and typosquats, with filters and pagination.
package_filesRead-onlyList the files and sizes published in a package across supported ecosystems.
package_file_contentsRead-onlyRead a single file from a package, up to 1 MB of text.
package_file_grepRead-onlySearch 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
- Run this in a terminal, in your project folder:
claude mcp add --transport http socket https://mcp.socket.dev/- 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
- Open Customize → Connectors, click + Add, then Add custom connector.
- Name it Socket and paste this URL:
https://mcp.socket.dev/- 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
- Open the connector form on claude.ai. This button fills in the name and URL for you:
Add to claude.ai (opens in a new tab)
- Check that the URL reads
https://mcp.socket.dev/and click Add. - 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
- On chatgpt.com, go to Plugins, select +, then Add custom MCP server.
- Enter a name for the server.
- 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. - 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
Add to Cursor (opens in a new tab)
Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):
{
"mcpServers": {
"socket": {
"url": "https://mcp.socket.dev/"
}
}
}VS Code
Install in VS Code (opens in a new tab)
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:
{
"servers": {
"socket": {
"type": "http",
"url": "https://mcp.socket.dev/"
}
}
}Devin Desktop
- Add it to
~/.config/devin/mcp_config.json(macOS and Linux) or%APPDATA%\devin\mcp_config.json(Windows):
{
"mcpServers": {
"socket": {
"serverUrl": "https://mcp.socket.dev/"
}
}
}- 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:
[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
[](https://mcp.tc/i/socket)<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
<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
<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.jsonAI prompt
Paste this into an AI coding assistant, such as Claude Code or Cursor, and it adds the Socket card to your site.
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
[](https://mcp.tc/i/socket)
```
Reference: https://mcp.tc/embedChange history
We read this server’s tool list every 3 hours and record what changes. Last read 18 Nov 2026, 05:34 UTC.
-
New version 0.4.0 (was 0.3.0). Reported by the server.
-
New version 0.3.0 (was 0.0.20). Reported by the server.
-
7 tools changed.
Details, 26 Oct 2026, 20:45 UTC
Changed 7
alertsinput schema and hintsdestructiveHintnot set changed to noopenWorldHintnot set changed to no
depscoredescription, input schema and hintsBeforeGet the dependency score of packages with the `depscore` tool from Socket.Use 'unknown'for version if not known. Use this tooltoscan dependencies for their quality and security on existing code or when code is generated. Stop generating code and asktheuser how to proceed when any of thescores arelow. When checking dependencies, make sure to also check the imports in the code,notjust the manifest files (pyproject.toml, package.json, etc).AfterLook 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.
destructiveHintnot set changed to noopenWorldHintnot set changed to yes
organizationsinput schema and hintsdestructiveHintnot set changed to noopenWorldHintnot set changed to no
package_file_contentsinput schema and hintsdestructiveHintnot set changed to noopenWorldHintnot set changed to yes
package_file_grepinput schema and hintsdestructiveHintnot set changed to noopenWorldHintnot set changed to yes
package_filesdescription, input schema and hintsBeforeList the files published in a package using the `package_files` tool from Socket. Returns a tree of
pathsandsizesfor 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 pathsto readthe file's contents.AfterList 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 destructiveHintnot set changed to noopenWorldHintnot set changed to yes
- No longer required:
threat_feedinput schema and hintsdestructiveHintnot set changed to noopenWorldHintnot set changed to yes
-
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.