data
OSV MCP, CLI, and Lua Integration for AI Agents
OSV integration docs for AI agents: MCP gateway setup, OSV CLI commands, Lua API reference, credentials, and function schemas.OSV for agents
No credentials required; available in web and CLI hosts when runtime dependencies are installed.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
osv.osv_query | Read read | 0 | Query vulnerabilities for one package version, purl, or commit. |
osv.osv_query_batch | Read read | 0 | Query vulnerabilities for multiple package versions or commits. |
osv.osv_get_vulnerability | Read read | 0 | Retrieve one OSV vulnerability record by ID. |
osv.osv_import_findings | Read read | 0 | Retrieve experimental import-quality findings for a source. |
osv.osv_determine_version | Read read | 0 | Experimentally identify likely C/C++ library versions from file hashes. |