@scanfix-ai/mcp-server
v0.1.1
Published
MCP server for ScanFix - Connect AI coding assistants to your code analysis and error logs
Maintainers
Readme
ScanFix MCP Server
Connect AI coding assistants (Claude, Cursor, VS Code) directly to your ScanFix code analysis and error logs.
What it does
scanfix_show_issues— Pull code vulnerabilities, bugs, and quality issues from your latest ScanFix scanscanfix_fix_issue— Get full context and fix an issue with AI assistancescanfix_show_logs— Fetch live error logs from your applicationscanfix_fix_logs— Fix errors directly from your editor using live log datascanfix_switch_context— Switch between repositories and environments
Installation
Claude Code
claude mcp add scanfix -- npx -y @scanfix-ai/mcp-serverVS Code / Cursor (workspace)
Add to .mcp.json in your project root:
{
"mcpServers": {
"scanfix": {
"command": "npx",
"args": ["-y", "@scanfix-ai/mcp-server"],
"env": {
"SCANFIX_API_KEY": "your-api-key"
}
}
}
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"scanfix": {
"command": "npx",
"args": ["-y", "@scanfix-ai/mcp-server"],
"env": {
"SCANFIX_API_KEY": "your-api-key"
}
}
}
}Setup
- Sign up at scanfix.ai
- Go to Settings → API Keys and create a key
- Add the key to your MCP config as
SCANFIX_API_KEY - Restart your editor
Configuration
| Variable | Required | Description |
|---|---|---|
| SCANFIX_API_KEY | ✅ | Your ScanFix API key from scanfix.ai/settings/api-keys |
| SCANFIX_API_URL | ❌ | Override API URL (default: https://api.scanfix.ai) |
| SCANFIX_DEFAULT_LOG_PROJECT_ID | ❌ | Pin a specific log project |
Example usage
Once connected, ask your AI assistant:
show my latest security issues
fix the critical SQL injection in users.ts
show errors from the last hour
fix error #3Requirements
- Node.js 18+
- A ScanFix account (free tier available)
License
MIT © ScanFix
