package_files

MCP tool from Socket MCP by SocketDev

List the files published in a package: a tree of file paths, each with its size and blob hash, for any package on a supported ecosystem. Use it to inspect what a dependency ships before installing it. Pass a file's hash to packagefilecontents or packagefilegrep.

How to use it

Project documentation lists package_files for the Socket MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Socket MCP

$claude mcp add --transport http socket-mcp https://mcp.socket.dev/
FULL SOCKET MCP LISTING