Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Defense MCPWhat are my biggest security risks right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Defense MCP - Claude Desktop Extension
Claude Desktop native extension for Defense.com threat intelligence
This is a native Claude Desktop extension that gives Claude direct access to your Defense.com threat intelligence data. No terminal or configuration files required.
Features
One-click installation via Claude Desktop
Complete threat intelligence toolset (16 tools)
Source type alias mapping (200+ friendly aliases like "pentest", "m365", "vuln scan")
Interactive security training sessions
Parallel sub-resource fetching for performance
Installation
Option 1: One-Click Install (Recommended)
The easiest way to install - no terminal or config files needed:
Download the
.mcpbextension file from ReleasesDouble-click the file to open it with Claude Desktop
Click "Install" in the installation dialog
Enter your API token when prompted (see Getting your API Token)
That's it! The extension is now ready to use.
Alternative: Drag and Drop
Open Claude Desktop
Go to Settings (gear icon)
Drag the
.mcpbfile into the Settings windowClick Install and enter your API token
Verifying Installation
Once installed, you should see the extension in Claude Desktop:
Step 1: Check Extension is Installed
Navigate to Settings > Extensions. You should see "Defense.com Threat Analysis" listed under "Installed on your computer".
Step 2: Configure Your API Token
Click Configure to enter your Defense.com API Token (required) and optionally modify the API Base URL.
Step 3: Verify All Tools Are Available
Scroll down to see all 16 available tools. You can configure tool permissions to control when Claude is allowed to use each tool.
Option 2: Manual Configuration (Advanced)
For developers or users who prefer manual setup:
Build from Source
npm install
npm run build
npx @anthropic-ai/mcpb packThis creates a .mcpb file you can install via drag-and-drop, or you can configure Claude Desktop manually:
Edit Claude Desktop Config
Edit your Claude Desktop config file:
Configuration file locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"Defense MCP": {
"command": "node",
"args": ["/absolute/path/to/desktop-extension/dist/index.js"],
"env": {
"DEFENSE_API_TOKEN": "your_token_here",
"DEFENSE_API_BASE_URL": "https://api.defense.com"
}
}
}
}Remember to:
Replace
your_token_herewith your actual Defense API tokenUpdate the absolute path to point to your
dist/index.jsfileRestart Claude Desktop after making changes
Getting your API Token
Log into your Defense.com Portal
Go to Account → API Keys
Click Add API Key
Copy the generated token
Your API token is stored securely in your operating system's keychain.
Using the Extension
Once installed, you can ask Claude natural language questions about your security data.
Example Prompts
Example 1: Risk Assessment
"What are my biggest security risks right now?"Claude will call get_biggest_risks to retrieve critical and high severity threats, sorted by risk score and number of affected assets. You'll get a prioritized list with remediation guidance.
Example 2: Source-Based Threat Analysis
"Show me all phishing threats from the last 30 days that are still open"Claude will call get_threats_by_source with source_type="phishing", days=30, and state="detected". The tool recognizes 200+ aliases, so "phishing", "phish", "email phishing", and "social engineering" all work.
Example 3: Interactive Security Training
"Start a security training session on ransomware for beginners"Claude will call start_training_session with session_type="ransomware" and difficulty="beginner". You'll receive quiz questions about ransomware threats. Use follow-up prompts like "submit answer A" or "give me a hint" to continue.
More Examples
"Show me new threats from the last 7 days"
"Who has the most threats assigned to them?"
"Get full details on threat ID abc-123"
"What's my team's current threat workload?"
"Generate 5 advanced training questions about vulnerability management"
Available Tools
Threat Intelligence Tools
Tool | Description |
| Top critical/high severity threats |
| Recent threats from last N days |
| Highest priority unremediated threat |
| Latest detection events |
| Threats assigned to a person |
| Filter by source type (supports aliases) |
| Search by keyword |
| Complete threat details with assets/users |
Workload Tools
Tool | Description |
| Dashboard view of threat workload |
Training Tools
Tool | Description |
| Create security training questions |
| Training content for specific threat |
| Security briefing from current threats |
| Begin interactive training |
| Submit answer, get next question |
| Hint for current question |
| Check session progress |
Source Type Aliases
When filtering threats by source, you can use friendly names:
Say this... | Gets threats from... |
"pentest", "pen test" | Penetration tests |
"m365", "office365" | Microsoft 365 |
"vuln scan", "cve" | Vulnerability scans |
"phishing" | Phishing campaigns |
"endpoint", "edr" | Endpoint protection |
"threat intel", "ti" | Threat intelligence |
See src/config.ts for the complete mapping (200+ aliases).
Troubleshooting
Extension Not Working
Check the extension is enabled: Go to Claude Desktop Settings → Extensions → ensure Defense MCP is toggled on
Verify your API token: Try regenerating it from the Defense.com Portal
Restart Claude Desktop: Sometimes a restart is needed after installation
"No tools available" Error
Check that all tools are enabled in Claude Desktop's tools menu
Try disabling and re-enabling the extension
Authentication Errors
Your API token may have expired - regenerate it from Defense.com Portal
Ensure the token has read permissions for threat data
Development
Building
npm install
npm run build
npx @anthropic-ai/mcpb packRunning Locally
DEFENSE_API_TOKEN=your_token npm startDependencies
@modelcontextprotocol/sdk- MCP SDK for Claude Desktop integrationzod- Runtime type validation (bundled with MCP SDK)
Learn More
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.