Agent Security Scanner MCP vs Elasticsearch

A side-by-side look at the Agent Security Scanner MCP and Elasticsearch MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Agent Security Scanner MCP logoAgent Security Scanner MCPSecurity · Local subprocess (stdio)Security layer for AI agents: blocks prompt injection, detects fake packages, scans vulnerabilities.68GreatAuth: not declaredElasticsearch logoElasticsearchSecurity · Local subprocess (stdio)Elasticsearch MCP Server with multi-version support (ES 5.x-9.x) for security analysis and threats.57GoodAuth: not declared

Verdict: choose Agent Security Scanner MCP for security work as a local process; choose Elasticsearch for security as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Agent Security Scanner MCP logoChoose Agent Security Scanner MCP when

  • You need dedicated capabilities in the Security domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like scan_security, fix_security, record_security_outcome.
Explore Agent Security Scanner MCP

Elasticsearch logoChoose Elasticsearch when

  • You need dedicated capabilities in the Security domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: ES_URL, ES_API_KEY, ES_USERNAME, ES_PASSWORD, ES_CA_CERT, NODE_TLS_REJECT_UNAUTHORIZED, MCP_TRANSPORT, MCP_HTTP_PORT.
  • You want tools like list_indices, get_mappings, es_search.
Explore Elasticsearch

Feature & specification comparison

Rows where the two servers differ are marked.

SpecAgent Security Scanner MCP logoAgent Security Scanner MCPElasticsearch logoElasticsearch
CategorySecuritySecurity
Quality signal68/100 · Great57/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNot declared
PricingNot declaredNot declared
Required env varsNone listedES_URLES_API_KEYES_USERNAMEES_PASSWORDES_CA_CERTNODE_TLS_REJECT_UNAUTHORIZEDMCP_TRANSPORTMCP_HTTP_PORT
Verified ownerCommunity listingCommunity listing
GitHub stars1248
Directory activity 2 views 0 installs 0 upvotes 3 views 0 installs 0 upvotes
Tools238

Tools & capabilities

Agent Security Scanner MCP tools 23

  • 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 descriptions
  • check_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 detection
  • scan_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.
  • +11 more on the listing page

Elasticsearch tools 8

  • list_indicesList indices with pattern filter, health filter, sorting and token-aware summary
  • get_mappingsGet field mappings with flat/tree/raw modes, field filtering and multi-index compare
  • es_searchFull Query DSL search with auto-highlight, plus harness field validation / auto-fix
  • lookup_fieldsFind the right field names: ECS vocabulary intersected with the index's real fields
  • execute_es_apiExecute any ES REST endpoint directly (GET/POST/PUT/DELETE/HEAD)
  • get_shardsShard info with health analysis, problem detection and recommendations
  • list_data_streamsList and analyze Data Streams with ILM info and backing index details
  • esql_queryExecute ES\

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.

Agent Security Scanner MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "agent-security-scanner-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "agent-security-scanner-mcp"
      ]
    }
  }
}

Elasticsearch

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@tocharianou/elasticsearch-mcp"
      ],
      "env": {
        "ES_URL": "YOUR_ES_URL_HERE",
        "ES_API_KEY": "YOUR_ES_API_KEY_HERE",
        "ES_USERNAME": "YOUR_ES_USERNAME_HERE",
        "ES_PASSWORD": "YOUR_ES_PASSWORD_HERE",
        "ES_CA_CERT": "YOUR_ES_CA_CERT_HERE",
        "NODE_TLS_REJECT_UNAUTHORIZED": "YOUR_NODE_TLS_REJECT_UNAUTHORIZED_HERE",
        "MCP_TRANSPORT": "YOUR_MCP_TRANSPORT_HERE",
        "MCP_HTTP_PORT": "YOUR_MCP_HTTP_PORT_HERE"
      }
    }
  }
}

Frequently asked questions

Agent Security Scanner MCP is categorized under Security and uses a local stdio subprocess. Elasticsearch belongs to Security and uses a local stdio subprocess. Pick Agent Security Scanner MCP for security work and Elasticsearch 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.

Agent Security Scanner MCP has no declared pricing — check the project's own site. Elasticsearch has no declared pricing — check the project's own site. 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 agent-security-scanner-mcp and elasticsearch as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Agent Security Scanner MCP has a quality signal of 68/100 (Great) with 2 views, 0 installs and 124 GitHub stars. Elasticsearch has 57/100 (Good) with 3 views, 0 installs and 8 GitHub stars.