---
title: "Socket MCP Server: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/mcp-servers/socket/
description: "Exposes Socket supply-chain analysis so an assistant can check packages for vulnerabilities and suspicious behavior. It supports both local stdio and a hosted Streamable HTTP endpoint at the pinned revision."
---

# Socket MCP Server: review, setup & limitations · Undominated.ai

> Exposes Socket supply-chain analysis so an assistant can check packages for vulnerabilities and suspicious behavior. It supports both local stdio and a hosted Streamable HTTP endpoint at the pinned revision.

[← Explore all mcp servers](/mcp-servers/)

SUPPLY-CHAIN SECURITY / Socket

# Socket MCP Server

Exposes Socket supply-chain analysis so an assistant can check packages for vulnerabilities and suspicious behavior. It supports both local stdio and a hosted Streamable HTTP endpoint at the pinned revision.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/SocketDev/socket-mcp)

SOURCE REVIEW

 Reviewed 2026-10-13
 Evidence 6 linked sources
 Publisher Socket
 Licence [MIT ↗](https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/LICENSE)
 Revision 7ec4bfb5d1a5
 [Read what was—and wasn’t—checked ↓](#review)

“Socket MCP lets AI assistants query Socket's dependency security scores and metadata through the Model Context Protocol (MCP).”

 [Socket · upstream description ↗](https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/README.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - The README at this commit documents a hosted server at https://mcp.socket.dev/ that signs in through the client's OAuth flow, and a self-hosted stdio or HTTP mode that takes a Socket API token.
- The README lists seven tools (depscore, organizations, alerts, threat_feed, package_files, package_file_contents, package_file_grep), each a query; lib/server.mts registers exactly those seven.

### A good fit for

 - Checking a dependency for known vulnerabilities before adding it.
- Reviewing supply-chain risk signals on packages already in a manifest.
- Reading the files a package publishes before installing it, through package_files and package_file_grep.

### Weigh up before choosing

 - depscore leaves out a package Socket has no record of instead of returning an error, so a name missing from the response is not a clean result.
- organizations, alerts, threat_feed and package_files need a Socket API token or an OAuth sign-in; only depscore works without credentials on the public server. Self-hosting needs Node.js 24 or later.
- Every tool call appends a line with masked arguments and a hashed token identity to ~/.socket/mcp-audit.jsonl, unless SOCKET_MCP_AUDIT_LOG names another file (lib/tool-audit.mts). The server was not run.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - README.md at 7ec4bfb5d1a5fa988ac022eeec460c09955713a7: install options, tool roster, authentication and troubleshooting
- package.json at the same commit: name @socketsecurity/mcp, version 0.2.1, bin socket-mcp, node >=24
- LICENSE at the same commit: MIT, Copyright (c) 2025 Socket Inc
- lib/server.mts, lib/tool-depscore.mts, lib/tool-package-files.mts, lib/tool-logging.mts and lib/tool-audit.mts at the same commit

### Our findings

 - The README documents stdio and an HTTP mode; lib/server.mts names stdio and Streamable HTTP as the transports it serializes for.
- The tools query Socket analysis results; they do not install packages or alter manifests. depscore and the three package-file tools are annotated readOnlyHint: true in source.
- Correction on 2026-10-13: the description quoted here until now ("Query Socket analysis for package vulnerabilities and supply-chain risk.") does not appear in the README at this commit and was replaced with its opening sentence. A claim that unauthenticated use is rate-limited had no source and was removed.
- configExample is the README's Cursor block for the hosted server at this commit; it carries no credential because the hosted server uses OAuth.
- lib/tool-logging.mts wraps every tool handler so each call, successful or not, emits an audit entry through lib/tool-audit.mts; a failed write is logged and does not stop the call.
- Upstream on 2026-10-13: HEAD 3f72bfcc2b4e4527bc8df98688def8e73ce00122 is ahead of this pin; the repository is not archived, LICENSE is still MIT and package.json still names @socketsecurity/mcp 0.2.1.

### Not established by this review

 - Server startup, authentication and tool execution were not tested.
- The optional socket-gate Claude Code hook was not reviewed beyond the README.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Connect a server deliberately.

[Upstream setup instructions ↗](https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/README.md)

DOCUMENTED COMMAND

 claude mcp add --transport http socket-mcp https://mcp.socket.dev/ Copy command ↗

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

 - The command above is the README's Claude Code line for the hosted server. The client opens a browser to sign in to Socket on first connection; no API key is needed. It was not run.
- To self-host instead, the README installs @socketsecurity/mcp globally with pnpm and runs socket-mcp over stdio with SOCKET_API_TOKEN set, or with --http as a service.

### Before you start

 - An MCP client that supports remote HTTP servers and OAuth, for the hosted server
- Node.js 24 or later and a Socket API token with the packages:list scope, for self-hosting

### Documented configuration example

Use the client and authentication context described in the setup guidance. Configuration formats vary between hosts.

 {
 "mcpServers": {
 "socket-mcp": {
 "type": "http",
 "url": "https://mcp.socket.dev/"
 }
 }
} Copy configuration ↗

### Compatibility

MCP clients that launch stdio servers with Node.js 24 or later, or that connect over HTTP to the hosted endpoint. · A Socket account (OAuth on the hosted server) or a Socket API token (self-hosted).

### Implementation

TypeScript

### Transports

stdio · Streamable HTTP

### Socket API credential

 - Reads Socket scores, alerts, threat-feed items and published package files for the queried packages and organizations.
- No tool installs, modifies or removes project dependencies. A self-hosted server appends to its audit log file on every call.
- Authentication: OAuth on the hosted server; on a self-hosted server a SOCKET_API_TOKEN read at startup (stdio) or a per-request Authorization: Bearer token (HTTP, where org-scoped tools never fall back to the operator's token).

### Cost model

Socket account and API limits apply; the local source licence does not include Socket service entitlements.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Socket MCP server README at reviewed revision ↗](https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/README.md) Checked 2026-10-13 https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/README.md Supports: summary, upstreamDescription, install, compatibility, access, transports, whySelected, bestFor, limitations, configExample
- [Repository licence ↗](https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/LICENSE) Checked 2026-10-13 https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/LICENSE Supports: license
- [package.json at reviewed revision ↗](https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/package.json) Checked 2026-10-13 https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/package.json Supports: language, install, compatibility
- [Tool registration at reviewed revision ↗](https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/lib/server.mts) Checked 2026-10-13 https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/lib/server.mts Supports: whySelected, transports, review
- [Audit log writer at reviewed revision ↗](https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/lib/tool-audit.mts) Checked 2026-10-13 https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/lib/tool-audit.mts Supports: limitations, access, review
- [Package-file tools at reviewed revision ↗](https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/lib/tool-package-files.mts) Checked 2026-10-13 https://github.com/SocketDev/socket-mcp/blob/7ec4bfb5d1a5fa988ac022eeec460c09955713a7/lib/tool-package-files.mts Supports: bestFor, review

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Snyk Studio MCP ↗ Invoke Snyk source, dependency, configuration and package-health checks through its CLI-integrated MCP server.](/mcp-servers/snyk/)[### CrowdStrike Falcon MCP Server ↗ Queries a Falcon tenant the caller already has credentials for. It does not grant a tenant.](/mcp-servers/crowdstrike-falcon-mcp/)[### SafeDep Pinner MCP ↗ Resolve GitHub references and container tags to immutable identifiers for a dependency-pin review. The inspected handlers return lookup results; they do not edit files or verify signatures, provenance or vulnerability status.](/mcp-servers/safedep-pinner-mcp/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Inspect resource evidence](/tools/)
- [Choose a host](/agents/)
- [Inspect reusable workflows](/skills/)
- [Use Undominated data](/api/)
