A side-by-side look at the MCP Shield and Pkgxray MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose MCP Shield for security work as a local process; choose Pkgxray for security as a local process. You can also run both side by side in one mcpServers block.
Which MCP server should you choose?
Choose MCP Shield when
You need dedicated capabilities in the Security domain.
You prefer a local stdio subprocess transport.
Its auth model fits you: No auth required.
You want tools like scan_package, scan_directory, check_prompt_injection.
scan_packageDownload an npm MCP package and scan it for malicious patterns
scan_directoryScan a local MCP server directory (cloned from GitHub, etc.)
check_prompt_injectionCheck tool descriptions or responses for hidden injections
audit_supply_chainGet trust score, CVEs, maintainer count, and age for any npm package
Pkgxray tools
No tool names declared yet. Check the project README from the listing page.
Ready-to-paste client configs
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
MCP Shield is categorized under Security and uses a local stdio subprocess. Pkgxray belongs to Security and uses a local stdio subprocess. Pick MCP Shield for security work and Pkgxray for security.
Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.
MCP Shield is listed as free. Auth: no auth required. Pkgxray is listed as free. Auth: no auth required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.
Yes. MCP clients support multiple servers: add muhannad-hash-mcp-shield and pkgxray as separate keys in the same mcpServers object, and your assistant will call tools from either one.
On AllMCPs, MCP Shield has a quality signal of 57/100 (Good) with 3 views, 0 installs and 2 GitHub stars. Pkgxray has 47/100 (Fair) with 5 views, 0 installs and 11 GitHub stars.