MCP Security Analyst logo

MCP Security Analyst

by gleicon

A Model Context Protocol (MCP) server that provides security analysis capabilities by integrating with OSV.dev and AI models. It helps identify and analyze potential vulnerabilities in your codebase.

View on GitHub

Last updated: N/A

What is MCP Security Analyst?

The MCP Security Analyst is a server that utilizes the Model Context Protocol (MCP) to provide security analysis by integrating with OSV.dev, AI models, and optionally Semgrep for static code analysis. It allows AI models to check for vulnerabilities and analyze code for security issues.

How to use MCP Security Analyst?

Install the server using make deps and make install. Configure your LLM (like Claude or Cursor) to use mcp-osv as an agent by configuring the MCP server settings. Use the provided tools (check_vulnerabilities and analyze_security) through the AI interface by asking it to perform security analysis tasks.

Key features of MCP Security Analyst

  • Vulnerability checking using OSV.dev database

  • Basic security analysis of code files

  • Integration with AI models for security insights

  • MCP protocol support

  • Optional static code analysis using Semgrep

Use cases of MCP Security Analyst

  • Checking dependencies for known vulnerabilities

  • Analyzing code for security issues

  • Providing recommendations for security improvements

  • Integrating security analysis into AI-powered development workflows

FAQ from MCP Security Analyst

What is OSV.dev?

OSV.dev is a comprehensive database of open-source vulnerabilities.

What is Semgrep?

Semgrep is a static analysis tool that can be used to find potential security issues in code.

Is Semgrep required to use this server?

No, Semgrep is optional. The server will work without it, but static analysis will be skipped when analyzing directories.

How do I connect this server to Claude?

Edit the Claude config file and add the mcp_osv section with the command path to the mcp-osv executable.

How do I debug the server in VSCode?

Go to Help -> Toggle developer tools and at the console look for mcp.