cf-osv-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
cf-osv-mcp
Authenticated MCP server for OSV vulnerability lookups, running on Cloudflare Workers. It is a TypeScript port of StacklokLabs/osv-mcp, which only ships a Go SSE/streamable-HTTP server.
The Worker is stateless: every tool call is a read-only request to api.osv.dev.
There is no database, no Durable Object, and no session store.
Endpoint
After deploying, the Worker is reachable at your workers.dev subdomain:
https://<worker-name>.<your-subdomain>.workers.dev/mcpPOST /mcpstreamable HTTP, one JSON-RPC message per request, JSON responses.GET /healthunauthenticated liveness probe.Auth is a bearer token (
MCP_AUTH_TOKEN, Worker secret). Missing or wrong credentials return401with aWWW-Authenticate: Bearerheader. Set the secret to any high-entropy string; the server fails closed when it is unset.
Related MCP server: edge-soc-mcp
Tools
Tool | Purpose |
| Vulnerabilities for one package version, purl, or commit |
| The same for several packages or commits in one call |
| Full record for one OSV or GHSA id |
Input handling and validation mirror the upstream Go implementation.
Client configuration
{
"mcpServers": {
"osv": {
"type": "http",
"url": "https://<worker-name>.<your-subdomain>.workers.dev/mcp",
"headers": { "Authorization": "Bearer <token>" },
"timeoutMs": 30000
}
}
}Local development
pnpm install
echo 'MCP_AUTH_TOKEN=local-dev-token' > .dev.vars
pnpm dev
pnpm run checkDeploy
wrangler.toml deliberately has no account id and no secrets. Provide both from
the environment:
export CLOUDFLARE_ACCOUNT_ID=<your-account-id>
export CLOUDFLARE_API_TOKEN=<scoped-token>
pnpm deploy
pnpm exec wrangler secret put MCP_AUTH_TOKENThe Deploy workflow is manual by default and only runs from main. To deploy
automatically on every push to main, set the repository variable
AUTO_DEPLOY to true and add the repository secrets CLOUDFLARE_API_TOKEN
and CLOUDFLARE_ACCOUNT_ID. Set WORKER_URL (for example
https://osv-mcp.example.workers.dev) to enable the anonymous-request smoke
test. The job skips cleanly while AUTO_DEPLOY is unset, so the public template
never deploys itself.
As an alternative to GitHub Actions minutes, Cloudflare Workers Builds can build
and deploy on push from Cloudflare's own infrastructure (6,000 build minutes per
month on Workers Paid, 3,000 on Free, then $0.005 per minute). Connect the
Worker to the repository under Settings > Builds in the Cloudflare
dashboard, set the build command to pnpm install --frozen-lockfile && pnpm run check and the deploy command to pnpm exec wrangler deploy. Workers Builds
authenticates with its own build token, so no CLOUDFLARE_API_TOKEN secret is
needed there.
Provenance
upstream/ keeps the reference Go implementation unmodified (Apache-2.0) at the
commit recorded in upstream/COMMIT. See NOTICE. This project is not
affiliated with StacklokLabs or Google.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
CVE, KEV, EPSS, SBOM and advisory lookups; per-CVE exposure from Shodan data (© Shodan). Keyless.
Vulnerability records: CVE, GHSA, CISA KEV, EPSS and vendor fixes in one place. No key needed.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
Related MCP Servers
- AlicenseAqualityCmaintenanceUnifies NVD, EPSS, CISA KEV, GitHub Advisory, and OSV into a single MCP server, enabling AI agents to query vulnerability intelligence conversationally with 23 tools for incident response, prioritization, dependency audits, and threat monitoring.41292 npm30MIT
- AlicenseNot gradedqualityDmaintenanceA Cloudflare Workers MCP server that puts a SOC analyst's enrichment, investigation, and detection-context workflow behind a single endpoint. It aggregates over 20 threat-intel sources into 18 MCP tools for IP, domain, URL, hash, and CVE lookups.MIT
- AlicenseAqualityCmaintenanceMCP server for querying CVE and package vulnerability data from NVD and OSV.dev, allowing CVE lookups and dependency scanning.4148 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to look up known open-source vulnerabilities in the OSV.dev database, covering individual packages and versions, specific git commits, single vulnerability IDs, and batch SBOM-style dependency scans. Queries are keyless and return compact summaries or full vulnerability details with affected ranges and references.341 npmMIT