# Quick Start Guide
Get your Security Context MCP server up and running in 5 minutes.
## Step 1: Install Dependencies
```bash
npm install
```
## Step 2: Build the Project
```bash
npm run build
```
## Step 3: Fetch Security Documentation
This downloads and indexes security docs from OWASP, NIST, AWS, Google, SANS, and CIS:
```bash
npm run fetch-docs
```
This takes 2-5 minutes. You'll see output like:
```
Security Documentation Fetcher
==============================
Fetching documents from OWASP...
✓ Fetched 18 documents from OWASP
Fetching documents from NIST...
✓ Fetched 10 documents from NIST
...
Total documents fetched: 50+
✓ Documents indexed successfully!
```
## Step 4: Configure Claude Desktop
Add this to your Claude Desktop config file:
**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
```json
{
"mcpServers": {
"security-context": {
"command": "node",
"args": ["/FULL/PATH/TO/security-mcp/dist/index.js"]
}
}
}
```
**Important**: Replace `/FULL/PATH/TO/security-mcp` with the actual absolute path to your security-mcp directory.
To get the full path:
```bash
pwd
# Copy this path and use it in the config
```
## Step 5: Restart Claude Desktop
Completely quit and restart Claude Desktop to load the MCP server.
## Step 6: Test It!
In Claude Desktop, try these queries:
**Example 1**: "What are the OWASP Top 10 vulnerabilities?"
**Example 2**: "How do I implement zero trust architecture?"
**Example 3**: "What are AWS S3 security best practices?"
**Example 4**: "Explain NIST Cybersecurity Framework"
Claude will automatically use your security MCP server to answer these questions with authoritative documentation.
## Verify It's Working
Look for the 🔌 icon in Claude Desktop that indicates MCP servers are connected. You can also check the logs to see if the server started successfully.
## Troubleshooting
### "No security documentation found"
You forgot to run `npm run fetch-docs`. Run it now, then restart Claude Desktop.
### Server not appearing in Claude
1. Check your config file path is correct
2. Ensure you used the absolute path to `dist/index.js`
3. Restart Claude Desktop completely (quit, not just close window)
4. Check Claude Desktop logs for errors
### Fetch command fails
Some sources may be temporarily unavailable. The fetcher will continue with other sources. Try again later or check your internet connection.
## What's Next?
- Read the full [README.md](./README.md) for detailed documentation
- Customize which sources to fetch
- Add your own security documentation sources
- Set up automatic weekly updates with cron
## Updating Documentation
Security docs change frequently. Update your local cache:
```bash
npm run fetch-docs
```
No need to restart Claude Desktop after updating docs.
---
**You now have a security expert at your fingertips!** 🔐