Skip to main content

MCP interface server fronting the Vulners API (https://vulners.com)

Project description

Vulners MCP Server

Vulners MCP is a server implementation that provides the MCP (Machine‑to‑Machine Content Provider) interface for the Vulners API. It lets downstream clients (e.g. security scanners, SIEMs, internal tools) query vulnerability data via a streaming / RPC‑style interface while the MCP server handles the communication with Vulners’ REST API behind the scenes.

Features

  • Implements MCP (streamable HTTP or RPC) front for the Vulners API
  • Supports streaming and non‑streaming query modes
  • Configurable via environment variables
  • Deployable via Docker, local build, or pip installation
  • Lightweight and focused on proxying / transforming requests and responses

Table of Contents


Requirements

  • Python 3.9+
  • Access to the Vulners API (valid API key and network connectivity)
  • (For Docker) Docker engine

Obtaining Vulners API key

Please, register at Vulners website. Go to the personal menu by clicking at your name at the right top corner. Follow "API KEYS" tab. Generate API key with scope "api" and use it with the library.

Installation & Deployment

Docker (pull from registry)

You can run the MCP server via a Docker image from the registry:

docker run \
  -e VULNERS_BASE_URL="https://vulners.com/api" \
  -e VULNERS_API_KEY="your_api_key" \
  -p 8000:8000 \
  vulners/vulners-mcp:latest

MCP server will be running at http://0.0.0.0:8000/mcp

Build & run locally

git clone https://github.com/vulnersCom/vulners-mcp.git
cd vulners-mcp
poetry install 
poetry run python -m vulners_mcp.server

Install from PyPI

pip install vulners-mcp
vulners‑mcp --vulners-base-url "$VULNERS_BASE_URL"   --vulners-api-key "$VULNERS_API_KEY"   --host "$FASTMCP_HOST"   --port "$FASTMCP_PORT"   --streamable-path "$FASTMCP_STREAMABLE_HTTP_PATH"

Configuration / Environment Variables

Variable Type Default / Required Description
VULNERS_BASE_URL string https://vulners.com Base URL for the Vulners API, override if you want to use proxy
VULNERS_API_KEY string required API key for authenticating with Vulners
FASTMCP_HOST string 127.0.0.1 Host/interface on which MCP server binds
FASTMCP_PORT integer 8000 Port for MCP server
FASTMCP_STREAMABLE_HTTP_PATH string /mcp Path for the streamable MCP endpoint

Usage & Endpoints

Once the MCP server is running, clients should connect to:

http://<FASTMCP_HOST>:<FASTMCP_PORT><FASTMCP_STREAMABLE_HTTP_PATH>

The endpoint implements MCP semantics—clients may send requests (e.g. query, info, etc.), and receive streaming or chunked responses.


Development & Contributing

  • Open issues or feature requests
  • Submit pull requests
  • Ensure compatibility with the Vulners API

License & Acknowledgements

(Add your preferred license, e.g. MIT, Apache 2.0, etc.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vulners_mcp-1.0.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vulners_mcp-1.0.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file vulners_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: vulners_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/23.6.0

File hashes

Hashes for vulners_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ac6a2de90cb9232890a89ccf5e7bbdb09dd24bf8b0a6a131d89d32d9d4b48114
MD5 1eed9109329244f42f542af9ea8a4a52
BLAKE2b-256 018b23a6479e008b0348421a5640c8c351ef2b54734064cf65172de6ce58ad98

See more details on using hashes here.

File details

Details for the file vulners_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vulners_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/23.6.0

File hashes

Hashes for vulners_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ad813b10217de806de9f6b9d0ff92d7ca1fac4ad1ed99e9cec562d305093c30
MD5 5eafcb29d1f5558aea68a9f7fa3f86d4
BLAKE2b-256 1b0cd0f644f58dd24875e0628b19f58fae7e258cfabac9286073ef2ee096d8e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page