Provides access to OWASP Cheat Sheets content, enabling search capabilities and retrieval of security best practices from the OWASP Cheat Sheet Series repository.
owasp_cheatsheets_mcp_server
A minimal Model Context Protocol (MCP) compatible server providing the OWASP Cheat Sheets.
The server uses FastAPI to expose a simple HTTP API that returns the contents of the cheat sheets from the OWASP Cheat Sheet Series.
Prerequisites
- Python 3.8 or newer
- Git (for cloning the cheat sheet repository on first run)
Usage
- Install requirements:
- (Optional) Set
CHEATSHEETS_DIR
if you already have a local copy of the cheat sheets: - Run the server with
uvicorn
: - If
CHEATSHEETS_DIR
is not set the server will clone the cheat sheet repository on first start (requires network access).
Endpoints
GET /health
– Basic health check.GET /cheatsheets
– List available cheat sheet files.GET /cheatsheets/{name}
– Retrieve a specific cheat sheet.GET /search?q=term
– Search cheat sheets for a term and return matching file names.
Running in production
Use uvicorn
with explicit host and port when deploying:
For a real deployment consider a process manager such as systemd
or running behind a reverse proxy.
Contributing
Pull requests are welcome. Tests can be added under a tests/
directory using pytest.
This implementation is a simplified example of an MCP server and may not cover the entire specification.
This server cannot be installed
A minimal Model Context Protocol server that provides access to OWASP security cheat sheets through a simple HTTP API, enabling users to list, retrieve, and search security best practices.
Related MCP Servers
- -securityAlicense-qualityAn MCP server that exposes HTTP methods defined in an OpenAPI specification as tools, enabling interaction with APIs via the Model Context Protocol.Last updated -2PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables seamless execution of commands, Python code, web content fetching, and reusable task management with secure credentials handling.Last updated -2PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server designed for testing backend APIs for security vulnerabilities like authentication bypass, injection attacks, and data leakage.Last updated -1TypeScriptMIT License
Infisical MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol server that enables interaction with Infisical APIs for secret management, allowing users to create, update, delete, and list secrets through function calling.Last updated -93316JavaScriptApache 2.0