Cisco PSIRT OpenVuln MCP Server
Allows querying Cisco security advisories via the PSIRT OpenVuln API, providing tools for searching, filtering, and analyzing Cisco vulnerability data.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cisco PSIRT OpenVuln MCP Serverget the latest 5 advisories"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cisco PSIRT OpenVuln MCP Server
A production-quality Model Context Protocol (MCP) server for querying Cisco security advisories via the PSIRT OpenVuln API v2. Built with Python and FastMCP, it enables LLM-powered interfaces like Claude Desktop and Kiro to search, filter, and analyze Cisco vulnerability data.
Features
15 MCP tools covering all Cisco PSIRT OpenVuln API v2 endpoints
OAuth2 authentication with automatic token caching and refresh (client_credentials flow)
Multi-tier rate limiting — 5 calls/sec, 30 calls/min, 5,000 calls/day (client-side enforcement)
Server-side 429 retry — automatic retry with Retry-After header support (up to 3 attempts)
Input validation on all parameters with descriptive error messages
Pagination support across all list endpoints (page_index, page_size)
LLM-optimized responses — consistent structured envelope with summary truncation
Transport-agnostic — supports stdio (default) and SSE transports
Structured error handling — classified errors with user-friendly messages
Related MCP server: NVD MCP Server
Prerequisites
Python 3.10+
Cisco API Console credentials (client_id and client_secret) — see Getting Cisco API Credentials
Installation
Clone the repository:
git clone <repository-url> cd openvuln-mcp-serverCreate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtConfigure credentials:
cp .env.example .envEdit
.envand fill in your Cisco API credentials:CISCO_CLIENT_ID=your_client_id_here CISCO_CLIENT_SECRET=your_client_secret_here
Getting Cisco API Credentials
Go to the Cisco API Console and sign in (or create an account)
Register a new application
Enable the "Cisco PSIRT openVuln API" for your application
Copy the generated
client_idandclient_secretAdd them to your
.envfile or pass them as environment variables
Each user's credentials are independent — rate limits are tracked per client_id on Cisco's side.
Usage
stdio mode (default)
Standard transport for local MCP integrations (Claude Desktop, Kiro):
python main.pySSE mode
HTTP-based Server-Sent Events transport for web or remote integrations:
python main.py --transport sse --port 8080MCP Client Configuration
Claude Desktop / Kiro (stdio)
Add to your MCP client configuration file:
{
"mcpServers": {
"cisco-openvuln": {
"command": "python",
"args": ["main.py"],
"cwd": "/path/to/openvuln-mcp-server",
"env": {
"CISCO_CLIENT_ID": "your_client_id",
"CISCO_CLIENT_SECRET": "your_client_secret"
}
}
}
}SSE client
{
"mcpServers": {
"cisco-openvuln": {
"url": "http://localhost:8080/sse"
}
}
}Available Tools
# | Tool | Description | Key Parameters |
1 |
| Retrieve all published advisories with pagination |
|
2 |
| Look up a specific advisory by Cisco advisory ID |
|
3 |
| Find advisories by CVE identifier |
|
4 |
| Find advisories by Cisco Bug ID |
|
5 |
| Get the N most recently published advisories |
|
6 |
| Filter advisories by severity level |
|
7 |
| Filter by severity and first-published date range |
|
8 |
| Filter by severity and last-updated date range |
|
9 |
| Find advisories first published in a date range |
|
10 |
| Find advisories last updated in a date range |
|
11 |
| Search advisories by product name |
|
12 |
| Get advisories published in a specific year |
|
13 |
| Find advisories for a specific OS type and version |
|
14 |
| Get available OS version metadata |
|
15 |
| List platform aliases for an OS type |
|
All list-returning tools support page_index (1–100) and page_size (1–100) pagination parameters.
Running Tests
Run the full test suite:
pytestRun with coverage:
pytest --cov=src --cov-report=term-missingRun a specific test file:
pytest tests/test_validators.pyRun property-based tests (Hypothesis):
pytest tests/ -k "property"Rate Limits
The server enforces client-side rate limiting to stay within Cisco API quotas:
Tier | Limit | Enforcement |
Per-second | 5 calls/sec | Minimum 200ms between requests |
Per-minute | 30 calls/min | Rolling 60-second sliding window |
Per-day | 5,000 calls/day | Calendar day counter, resets at 00:00 UTC |
When a rate limit is hit:
Per-second / per-minute: The server automatically sleeps until the next request is permitted
Per-day: Returns an error indicating the daily limit is exhausted, with seconds until reset
Server-side 429: Retries up to 3 times using the
Retry-Afterheader (default 60s if absent)
Project Structure
openvuln-mcp-server/
├── main.py # Entry point: loads env, parses args, starts server
├── src/
│ ├── __init__.py
│ ├── server.py # FastMCP server and 15 tool registrations
│ ├── oauth2_client.py # OAuth2 client_credentials with token caching
│ ├── rate_limiter.py # Multi-tier rate limiter
│ ├── api_client.py # HTTP client with auth, rate limiting, retry
│ ├── validators.py # Input validation functions
│ ├── response_formatter.py # LLM-optimized response formatting
│ ├── constants.py # URLs, limits, validation rules
│ └── exceptions.py # Custom exception hierarchy
├── tests/
│ ├── test_validators.py
│ ├── test_oauth2_client.py
│ ├── test_rate_limiter.py
│ ├── test_api_client.py
│ ├── test_response_formatter.py
│ └── test_tools.py
├── .env.example # Credentials template
├── requirements.txt # Python dependencies
└── README.mdLicense
This project is licensed under the Apache License 2.0.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aldoleiva1/MCP-Svr-OpenVulnAPI'
If you have feedback or need assistance with the MCP directory API, please join our Discord server