Back to Home
StacklokLabs icon

osv-mcp

Verified Safe

by StacklokLabs

Overview

An MCP (Model Context Protocol) server that provides access to the OSV (Open Source Vulnerabilities) database for LLM-powered applications.

Installation

Run Command
task build && ./build/osv-mcp-server

Environment Variables

  • MCP_PORT
  • MCP_TRANSPORT

Security Notes

The server uses standard Go HTTP client practices with appropriate timeouts when interacting with the external OSV API. It includes input validation for its MCP tools, preventing obvious injection vectors for package names, versions, or IDs. Configuration through environment variables is handled with type conversion and range checks. No direct 'eval' or arbitrary code execution from user input is apparent in the provided source code. The project has documented security policies for responsible disclosure, indicating a proactive stance on security. Primary external risks are tied to the reliability and security of the OSV API itself and the underlying `mark3labs/mcp-go` library.

Similar Servers

Stats

Interest Score42
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars25
Forks4
Last Update2025-12-12

Tags

OSVVulnerability ManagementMCP ServerGoLLM Integration