Auth and security - official Socket server
Socket MCP server
Lets AI assistants query Socket dependency security scores and metadata across npm, PyPI, cargo, Maven, NuGet, RubyGems, Go and more, list org alerts and threat feed items, and inspect files inside published packages. Use the public hosted server or self-host the npm package. Socket hosts it at https://mcp.socket.dev/, or you can run @socketsecurity/mcp (npm) locally with OAuth or API key auth.
Last verified 7 tools8 sources
Install
Claude Code
About Claude Codeclaude mcp add --transport http socket-mcp https://mcp.socket.dev/Cursor
About Cursor{
"mcpServers": {
"socket-mcp": {
"type": "http",
"url": "https://mcp.socket.dev/"
}
}
}VS Code
{
"servers": {
"socket-mcp": {
"type": "http",
"url": "https://mcp.socket.dev/"
}
}
}Generic
{
"mcpServers": {
"socket": {
"command": "mcp-remote",
"args": ["https://mcp.socket.dev/"]
}
}
}Tools
depscore- Query the Socket API for dependency scores, with a Socket report URL when an overall score exists.
organizations- List the Socket organizations the authenticated user belongs to.
alerts- List the latest security alerts (supply-chain, vulnerability, quality, license, maintenance) for one Socket organization.
threat_feed- Look up packages recently flagged as malware, typosquats, obfuscated code and similar in an organization's threat feed.
package_files- List the files published in a package, with size and blob hash.
package_file_contents- Read a single file from a package by its blob hash.
package_file_grep- Search a single file from a package for lines matching a JavaScript regular expression.
As documented on October 17, 2026. A running server reports its current list through tools/list.
Notes and caveats
- The README says 'This project is in early development and rapidly evolving'.
- The public hosted server uses OAuth, so no API key is needed.
- Self-hosting reads SOCKET_API_TOKEN in stdio mode, or takes a Bearer token per request in HTTP mode. package_file_contents and package_file_grep need no token.
- The generic snippet is the documented mcp-remote local bridge (README pins mcp-remote 0.8.3) for clients that only launch stdio servers.
- The README says Claude Desktop should add the hosted URL as a custom connector; the docs page still shows a Developer config file.
- Windsurf uses the serverUrl form, which differs between README (https://mcp.socket.dev/mcp) and docs (https://mcp.socket.dev/).
- Node.js 24+ is required to run from source.
- Latest npm package version 0.2.1.
- Codex is not documented.
More MCP servers for auth and security
- 1Password
1Password Device Trust MCP server
Self-hosted Python MCP server that exposes the 1Password Device Trust (formerly Kolide) API so agents can query devices, people, checks, issues and live query campaigns, with auto-pagination and aggregation helpers. It runs locally over Streamable HTTP or stdio.
Transport: Streamable HTTP, stdioAuth: API key - 1PasswordStatus: Beta
1Password Environments MCP server
Local stdio MCP server built into the 1Password desktop app that lets agents create, list and rename 1Password Environments, list variable names, add variables and create locally mounted .env files. It never returns secret values to the client.
Transport: stdioAuth: Other - 1Password
MCP server for 1Password SaaS Manager
MCP server exposing the 1Password SaaS Manager (formerly Trelica) API, covering audit logs, applications, workflows, people and teams, contracts and assets. Available as a hosted read-only remote server or a local sm-mcp binary that can optionally enable writes.
Transport: Streamable HTTP, stdioAuth: OAuth - Auth0Status: Beta
Auth0 MCP server
Local MCP server that connects AI clients to an Auth0 tenant through the Management API to create and update applications, APIs, client grants, Actions and Forms, read logs, and onboard a project with an Auth0 SDK quickstart.
Transport: stdioAuth: OAuth - Clerk
Clerk MCP server
Remote MCP server that lets AI agents work with a Clerk account, including creating and configuring applications, managing users, checking domains and setting up production instances, and returns Clerk SDK snippets.
Transport: Streamable HTTPAuth: OAuth - Cloudflare
Cloudflare One CASB MCP server
A remote MCP server for inspecting Cloudflare One CASB integrations, assets and asset categories to find security misconfigurations in SaaS applications.
Transport: Streamable HTTPAuth: OAuth or API key
Related reading
- Claude Code MCP Tasks: Long-Running Tools That Ask You ThingsClaude Code supports MCP Tasks and elicitations. What a tool call needs to become a task, what v2.1.319 changed for Bedrock and gateways, and what server authors change.
- Claude Security Continuous Scanning: Fix Tracking, API and MCPClaude Security now rescans repos as commits land, marks findings fixed when the fix ships, and adds an API, MCP connector and webhooks. Setup, limits and cost.
- MCP Client Features: Sampling, Elicitation and Roots ExplainedMCP sampling, elicitation and roots explained against the 2026-07-28 spec, with JSON-RPC examples and which of 24 clients support each one.
- REA vs leanrea: Skill or MCP for Reverse Engineering Agents?leanrea is an 8 KB skill pitched as a replacement for the REA (Reverse Engineer Anything) MCP server. What its benchmark shows, what it skips, and which to install.
- How to Publish a Plugin to the Claude Directory (Developer Portal Guide)Submit a plugin to the Claude directory: validate it, clear the security scan, publish, and read 90 days of usage analytics. Needs a paid plan.
- ChatGPT Plugin Extensions: Sidebar Apps, Panels and File EditorsChatGPT plugins can now add sidebar apps, side panels, file editors and native forms. How openai/ui entrypoints work, with type-checked code.
FAQ
What does the Socket MCP server do?
Lets AI assistants query Socket dependency security scores and metadata across npm, PyPI, cargo, Maven, NuGet, RubyGems, Go and more, list org alerts and threat feed items, and inspect files inside published packages. Use the public hosted server or self-host the npm package. The vendor documents 7 tools, including depscore, organizations, alerts and threat_feed.
How do I add the Socket MCP server to Claude Code?
Run claude mcp add --transport http socket-mcp https://mcp.socket.dev/, copied from Socket's docs. This page also has snippets for Cursor, VS Code and Generic.
Does the Socket MCP server need authentication?
Yes, OAuth or API key. Transport: Streamable HTTP, stdio. Status: Unlabelled, last checked October 17, 2026.
Sources
Last verified against 8 Socket pages, then re-checked independently.
- raw.githubusercontent.comhttps://raw.githubusercontent.com/SocketDev/socket-mcp/HEAD/README.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/SocketDev/socket-mcp/HEAD/docs/service.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/SocketDev/socket-mcp/HEAD/LICENSE
- raw.githubusercontent.comhttps://raw.githubusercontent.com/SocketDev/socket-mcp/HEAD/package.json
- github.comhttps://github.com/SocketDev/socket-mcp/releases
- docs.socket.devhttps://docs.socket.dev/docs/guide-to-socket-mcp
- docs.socket.devhttps://docs.socket.dev/docs/remote-socket-mcp
- docs.socket.devhttps://docs.socket.dev/docs/local-socket-mcp
Newsletter
New MCP servers, the week they ship
One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.