socket-mcp

socket-mcp is a cursor rule for Cursor from SocketDev/sauce. It costs 35 tokens per session (587 once invoked), scanned A, original, MIT.

A set of rules that tells a coding agent to use Socket's hosted service before adding, upgrading, or reviewing a software dependency. Socket checks packages for security and supply-chain concerns and uses browser-based OAuth sign-in.

In plain words
What is it for?
Use it to review package scores before dependency changes and to guide Socket sign-in or command-line fallback steps.
Why use it?
It adds a package check to dependency work and explains how to continue when the service is not authenticated, without requesting an API key.

Cursor rule for Cursor

Written for Cursor: a Cursor plugin manifest.

Good fit Use it to review package scores before dependency changes and to guide Socket sign-in or command-line fallback steps.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/socketdev/sauce/socket-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/SocketDev/sauce

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for socket-mcp

README.md
[![agentmods](https://agentmods.dev/badge/rules/socketdev/sauce/socket-mcp/github.svg)](https://agentmods.dev/rules/socketdev/sauce/socket-mcp)
Your own site
<a href="https://agentmods.dev/rules/socketdev/sauce/socket-mcp"><img src="https://agentmods.dev/badge/rules/socketdev/sauce/socket-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for socket-mcp

Your own site · 80×15
<a href="https://agentmods.dev/rules/socketdev/sauce/socket-mcp"><img src="https://agentmods.dev/badge/rules/socketdev/sauce/socket-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 587 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00587
Opus 5.5 $0.00014 $0.00235
Sonnet 5.5 $0.00007 $0.00117
Haiku 4.5 $0.00003 $0.00059

Measured yesterday against content hash 2c1dfc1f2be1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

socket-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor-plugin/rules/socket-mcp.mdc · 37 lines

How it starts

The opening of the file, as written. The whole thing — 37 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Socket MCP

This plugin connects Cursor to Socket's hosted MCP server at https://mcp.socket.dev/. Cursor shows it as plugin-socket-skills-socket.

Sign in

The server uses OAuth. The user signs in to Socket in the browser. Nobody copies or pastes an API key.

When a Socket tool returns Unauthorized, or the server shows that it needs a login:

  1. Tell the user to open Customize in the Cursor sidebar, find the Socket MCP server, and choose Authenticate.
  2. When the user says the sign-in is done, try the tool one more time.
  3. If the tool still returns Unauthorized, do not ask the user to sign in again. Some Cursor versions do not complete the sign-in for MCP servers that a plugin adds. Continue with the Socket CLI steps in the skills (pnpm dlx socket login), and tell the user that MCP checks are not available in this session.

Do not ask the user for an API key for this server. Do not put a token in an Authorization header for this server.

Tools

  • depscore: get Socket scores (0-100) for one or more packages. Give each package as depname, ecosystem (default npm), and version (use the exact version when you know it). Lower scores mean higher risk. A missing score is not a safety verdict.
  • organizations: list the Socket organizations that the sign-in can access. Use it to find the org_slug that alerts and threat_feed need. If there is more than one organization, ask the user which one to use.
  • alerts: list the security alerts of an organization. It needs org_slug. Filter with status, severity, and other fields, and use cursor to get more pages.
  • threat_feed: list packages that Socket flagged recently, for example malware and typosquats. It needs org_slug.
  • package_files, package_file_contents, package_file_grep: read the files in a published package before you install it.

When to check

  • Before you add a new dependency, run depscore on it. Report low scores to the user before you continue.
  • Before you upgrade a dependency, run depscore on the target version.
  • When the user asks if a package is safe, use depscore, then the /socket-inspect skill for a full review.

Read the full file on GitHub · 37 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 37 lines · 35 tokens per session scan A 2c1dfc1f2be1

Subscribe to this mod's changes

socket-mcp is a cursor rule published in the GitHub repository SocketDev/sauce (3 stars, last pushed 2d ago), licensed MIT. It adds 35 tokens to every session and 587 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

socket-mcp compared with cursor rules from other repositories

socket-mcp next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
socket-mcpSocketDev/sauceCursor rule32d agoMITA35Cursor
ponytailDietrichGebert/ponytailCursor rule186k10d agoMITA604Cursor
angular-20angular/angularCursor rule101kyesterdayMITA0Cursor
dev-standardapache/supersetCursor rule75kyesterdayApache-2.0A1,147Cursor
control-plane-descriptorsprisma/ormCursor rule48kyesterdayApache-2.0A0Cursor
family-instance-domain-actionsprisma/ormCursor rule48kyesterdayApache-2.0A0Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48kyesterdayApache-2.0A0Cursor