OWASP Cheatsheets MCP Server
owasp_cheatsheets_mcp_server
提供 OWASP 备忘单的最小模型上下文协议 (MCP) 兼容服务器。
服务器使用FastAPI公开一个简单的 HTTP API,该 API 返回来自OWASP 备忘单系列的备忘单内容。
先决条件
Python 3.8 或更高版本
Git(用于在首次运行时克隆备忘单存储库)
Related MCP server: vuln-nist-mcp-server
用法
安装要求:
pip install -r requirements.txt*(可选)*如果您已经拥有备忘单的本地副本,请设置
CHEATSHEETS_DIR:export CHEATSHEETS_DIR=/path/to/CheatSheetSeries/cheatsheets使用
uvicorn运行服务器:uvicorn server.app:app --reload如果未设置
CHEATSHEETS_DIR,服务器将在首次启动时克隆备忘单存储库(需要网络访问)。
端点
GET /health– 基本健康检查。GET /cheatsheets– 列出可用的备忘单文件。GET /cheatsheets/{name}– 检索特定的备忘单。GET /search?q=term– 在备忘单中搜索某个术语并返回匹配的文件名。
生产运行中
部署时使用带有明确主机和端口的uvicorn :
uvicorn server.app:app --host 0.0.0.0 --port 8000对于实际部署,请考虑使用诸如systemd类的进程管理器或在反向代理后面运行。
贡献
欢迎提交 Pull 请求。可以使用pytest将测试添加到tests/目录下。
此实现是 MCP 服务器的简化示例,可能无法涵盖整个规范。
This server cannot be deployed
Maintenance
Related MCP Connectors
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
MCP server for accessing curated awesome list documentation
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server for querying the CVE-Search API. This server provides comprehensive access to CVE-Search, browse vendor and product、get CVE per CVE-ID、get the last updated CVEs.6106MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for querying the NIST National Vulnerability Database (NVD) API, enabling search and retrieval of CVE details, temporal context, and KEV catalog entries.15MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for automated security vulnerability assessment, combining OWASP Dependency-Check dependency scanning with custom code vulnerability detection, and generating detailed HTML and JSON reports.-
- FlicenseNot gradedqualityCmaintenanceA lightweight MCP server that wraps OWASP ZAP's REST API as Model Context Protocol tools, enabling AI agents to perform automated security scanning.-