A side-by-side look at the Agent Security Scanner MCP and Magicsword MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Agent Security Scanner MCP for security work as a local process; choose Magicsword MCP for security as a local process. You can also run both side by side in one mcpServers block.
scan_security, fix_security, record_security_outcome.MAGICSWORD_API_KEY, MAGICSWORD_BASE_URL.whoami, list_endpoints, show_endpoint.Rows where the two servers differ are marked.
| Spec | M Magicsword MCP | |
|---|---|---|
| Category | Security | Security |
| Quality signal | 68/100 · Great | 53/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | API key required |
| Pricing | Not declared | BYOK (pay the provider) |
| Required env vars | None listed | MAGICSWORD_API_KEYMAGICSWORD_BASE_URL |
| Verified owner | Community listing | Community listing |
| GitHub stars | 124 | 0 |
| Directory activity | 1 views 0 installs 0 upvotes | 0 views 0 installs 0 upvotes |
| Tools | 23 | 21 |
| Full listing | View Agent Security Scanner MCP | View Magicsword MCP |
scan_securityScan a file for security vulnerabilities. Use verbosity='minimal' for counts only (~50 tokens), 'compact' (default) for actionable info (~200 tokens), 'full' for complete metadata.fix_securityScan a file and return fixes. Use verbosity='minimal' for summary only, 'compact' (default) for fix list, 'full' for complete fixed file content.record_security_outcomeRecord aggregate remediation outcomes after reviewing scanner findings. Sends counts only; never sends code, findings, paths, or rule IDs.list_security_rulesList all available security fix templates and their descriptionscheck_packageCheck if a package name is legitimate or potentially hallucinated (AI-invented)scan_packagesScan code for package imports and check for hallucinated (AI-invented) packages. Use verbosity='minimal' for counts, 'compact' (default) for flagged packages, 'full' for all details.list_package_statsList statistics about loaded package lists for hallucination detectionscan_agent_promptScan a prompt for malicious intent. Returns BLOCK/WARN/LOG/ALLOW. Use verbosity='minimal' for action only, 'compact' (default) for findings, 'full' for audit details.scan_git_diffScan git diff for new security vulnerabilities. Only reports issues on changed lines. Use for PR reviews.scan_projectScan an entire directory for security vulnerabilities with .gitignore support and security grading. Use verbosity='minimal' for grade + counts, 'compact' (default) for top issues, 'full' for all details.scan_agent_actionPre-execution security check for agent actions (bash, file_write, file_read, http_request, file_delete, cron, process_spawn, git, docker). Returns ALLOW/WARN/BLOCK.scan_mcp_serverScan an MCP server's source code for security vulnerabilities: overly broad permissions, missing input validation, data exfiltration, insecure patterns. Returns grade (A-F) and recommendations.whoamiReturns organization, key id, and scopes. Always call first when troubleshooting.list_endpointsLists endpoints with optional platform / status / hostname-glob filtering.show_endpointFetches one endpoint with OS, policy, compliance, upgrade, heartbeat, and AMSI details.list_agent_releasesLists available agent versions and per-platform latest releases.find_alertsSearches alerts by severity / ack state / since / hostname / MITRE technique.list_eventsLists audit/block telemetry events, including last-day event review workflows.triage_alertFetches one alert directly with triggering events, metadata, and file context; optionally acknowledges or dismisses it.list_policiesLists policies with current version + mode.show_policyShows one policy by id.manage_policy_rulesLists rules or adds explicit / event-derived rules to a policy by id or name. Avoid explicit flat hash rules for Windows WDAC.apply_policy_to_endpointsResolves endpoints and previews a policy assignment; `confirm=true` applies it after approval.flip_to_enforcingTwo-step preview/confirm flip with a server-issued one-time confirm token. Safety-critical.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.
{
"mcpServers": {
"agent-security-scanner-mcp": {
"command": "npx",
"args": [
"-y",
"agent-security-scanner-mcp"
]
}
}
}
{
"mcpServers": {
"magicsword-mcp": {
"command": "npx",
"args": [
"-y",
"@magicsword-io/magicsword-mcp"
],
"env": {
"MAGICSWORD_API_KEY": "YOUR_MAGICSWORD_API_KEY_HERE",
"MAGICSWORD_BASE_URL": "YOUR_MAGICSWORD_BASE_URL_HERE"
}
}
}
}