Skip to main content
Version: Spectra Analyze 9.9.0

MCP Server Configuration for AI Assistants

The MCP (Model Context Protocol) server enables AI assistants to connect to Spectra Analyze APIs for malware reporting, IOC triage, and reputation lookups. The following steps describe how to configure the MCP server integration with Claude Code or other MCP-compatible AI assistants.

Access

Official marketplace integration for Claude.ai is currently in the submission phase and will be available in the near future. For immediate access, refer to the Configuration examples section below.

Prerequisites

  • MCP server must be enabled on Spectra Analyze. Navigate to Administration > Configuration > MCP Server and check the Enable MCP Server option. For more information, see MCP Server.
  • An active Spectra Analyze account, or
  • (legacy) A valid API token for the Spectra Analyze instance.

Configuration parameters

Parameters

Spectra Analyze hostname (SPECTRA_ANALYZE_HOST) is usually in the form of instance-name.reversinglabs.com.

  1. MCP server URL (no trailing slash): https://SPECTRA_ANALYZE_HOST/mcp/
  2. OpenID client ID: mcp-analyze-client
  3. OpenID client secret: not required, leave empty
  4. OAuth scope (if explicitly requested): appliance-access

Example: Claude Code (CLI)

  1. Add the Spectra Analyze MCP to a list of MCP servers
    • Replace SPECTRA_ANALYZE_HOST with the hostname of your SA instance
    • claude mcp add --client-id mcp-analyze-client -t http spectra-analyze https://SPECTRA_ANALYZE_HOST/mcp/
  2. Start claude code
  3. Use the /mcp command to connect to the configured spectra-analyze MCP server
  4. Authenticate as required by the OAuth flow
  5. Once completed you can use the tools exposed by the server via Claude Code

Example: Calude Desktop

  1. Open Claude Desktop settings
  2. Navigate to the Developer tab in the left sidebar
  3. Click Edit Config, this opens the configuration json file
  4. Copy the spectra-analyze object into the mcpServers section of your configuration
  5. Replace SPECTRA_ANALYZE_HOST with your Spectra Analyze hostname
{
"mcpServers": {
"spectra-analyze": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://SPECTRA_ANALYZE_HOST/mcp/",
"--static-oauth-client-info",
"{ \"client_id\": \"mcp-analyze-client\" }"
]
}
}
}

(Legacy) Configuration steps

  1. Download the .mcpb file.
  2. In Claude Desktop, navigate to Settings > Extensions > Advanced Settings > Install Extension.
  3. Click Install.
  4. Set MCP Server URL to https://SPECTRA_ANALYZE_HOST/mcp/ and replace SPECTRA_ANALYZE_HOST with your Spectra Analyze hostname. Ensure that the URL includes a trailing slash, or the connection will fail.
  5. Set Token to a valid API token for the Spectra Analyze instance.
  6. Save, and toggle the button to enable the service.

Usage

Use the pre-canned prompts by going to + > Connectors > Add from Spectra Analyze, or start asking questions directly. Example queries:

  • "Retrieve detailed threat analysis for the file 5884d853f85eb536244f354ba5d6cf9b4e702c7f"
  • "Check network reputation for 45.148.11.242"
  • "Search for samples targeting industrial control systems"
  • "Gather some hashes for windows PE samples with sandbox evasion and anti-analysis tricks that I can use to test our company sandbox"

MCP Server configuration in Claude Desktop

Available tools

Once connected, AI assistants can invoke the following tools to query Spectra Analyze. Each entry lists the tool's parameters and an example request.

get_file_reputation

Return file classification and reputation.

Parameters:

  • hash: MD5, SHA1, or SHA256 hash of a file.

Example:

{
"hash": "d41d8cd98f00b204e9800998ecf8427e"
}

get_network_reputation

Look up the reputation of a network indicator (domain, IP, or full URL) and return the results including GeoIP, business context, and an automated verdict with a risk score.

Parameters:

  • indicator: IP address, domain, or URL to check.

Example:

{
"indicator": "example.com"
}

Search malware samples on the Spectra Analyze instance using Solr query syntax. Use instance='local' for on-prem samples or instance='cloud' if your Spectra Analyze is connected to Spectra Intelligence.

Parameters:

  • query: Search query string with field:value syntax.
  • limit: Maximum results per page (1-500, default: 100).
  • instance: cloud or local
  • sort: Sort results by field, for example, sha1, firstseen, threatname (default: None).

Example:

{
"query": "classification:malicious sampletype:PE",
"instance": "cloud",
"limit": 100,
"sort": null
}

enhanced_threat_analysis

Comprehensive threat intelligence with AI-powered insights, combining multiple analysis engines for comprehensive threat assessment.
This tool provides in-depth analysis of a sample including:

  • File classification and threat verdict
  • Static and dynamic analysis results
  • Network indicators (domains, IPs, URLs)
  • Behavioral indicators (file paths, registry keys, processes, mutexes)
  • MITRE ATT&CK techniques and tactics
  • File similarity analysis (RHA1 and imphash)
  • Antivirus scan results
  • Extracted files analysis

Parameters:

  • hash: File hash for analysis.

Example:

{
"hash": "d41d8cd98f00b204e9800998ecf8427e",
}

get_server_info

Retrieve information about the status of the MCP server.