Socketsecurity MCP
MCP server by SocketDev Verified · npm:@socketsecurity
Lets AI assistants query Socket's dependency security scores and metadata through the Model Context Protocol. Built for developers who want to check packages and package.json dependencies during a conversation.
Install Socketsecurity MCP
Built from the published package, never by AI.
claude mcp add socketsecurity-mcp -- npx -y @socketsecurity/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"socketsecurity-mcp": {
"args": [
"-y",
"@socketsecurity/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"socketsecurity-mcp": {
"args": [
"-y",
"@socketsecurity/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"socketsecurity-mcp": {
"args": [
"-y",
"@socketsecurity/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add socketsecurity-mcp -- npx -y @socketsecurity/mcp{
"mcpServers": {
"socketsecurity-mcp": {
"args": [
"-y",
"@socketsecurity/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add socketsecurity-mcp npx -y @socketsecurity/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the socketsecurity-mcp block.
About
Socket MCP is a Model Context Protocol server that lets AI assistants query Socket's dependency security scores and metadata. It can score a package, audit a package.json, or identify risky dependencies in a conversation. The source lists supported ecosystems including npm, PyPI, cargo, Maven, NuGet, RubyGems and Go Modules.
The public server runs at https://mcp.socket.dev/ and requires Socket sign-in through OAuth for every tool call. No API key is needed for the hosted service. You can also run the server yourself over stdio or HTTP using the npm package. It is aimed at developers who want dependency security checks inside their AI assistant.
Written from the project's README and checked against it.
Tools it gives your assistant
depscoreReturns Socket security scores for packages, such as checking a specific npm package version.organizationsReturns organization details. Requires authentication for organization-scoped tools.alertsProvides alerts for dependencies, shown in a worked example with organization details.threat_feedProvides access to Socket's threat feed. See the service reference for details.package_filesLists package files. See the service reference for input and result details.package_file_contentsReturns the contents of package files. See the service reference for details.package_file_grepSearches package files. See the service reference for details.
What you need
- A Socket account with OAuth sign-in
- An MCP-compatible AI client
- Node.js 24 or later for running the server from source
- A SOCKET_API_TOKEN for local stdio or HTTP runs
- pnpm for development and self-hosting
- mcp-remote 0.8.3 for clients that only launch local stdio servers
Try asking
- Check the security score for express version 4.18.2
- Analyze the security of my package.json dependencies
- What are the vulnerability scores for react, lodash, and axios?
Good to know
- The project is in early development and rapidly evolving.
- The public server requires Socket sign-in for every tool call.
- OAuth behavior varies by MCP client, and some clients need an explicit sign-in step.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Socketsecurity MCP
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Socketsecurity MCP: common questions
Do I need an API key to use the hosted Socket MCP server?
No. The source says the public server uses OAuth sign-in through your MCP client and that you do not need an API key.
Which package ecosystems does Socket MCP cover?
The source says it covers npm, PyPI, cargo, Maven, NuGet, RubyGems, Go Modules, and more, with a link to the supported ecosystems list.
Can I run Socket MCP on my own machine?
Yes. The source says you can run the npm package locally over stdio or HTTP, using SOCKET_API_TOKEN, and points to the self-hosted server instructions.
How do I install Socketsecurity MCP?
In Claude Code run claude mcp add socketsecurity-mcp -- npx -y @socketsecurity/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Socketsecurity MCP the official server?
Socketsecurity MCP is published by npm:@socketsecurity from its verified domain in the official MCP Registry.
Is Socketsecurity MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Socketsecurity MCP safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Socketsecurity MCP?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does Socketsecurity MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
