Skip to main content
Glama

OWASP Cheatsheets MCP Server

by santosomar

owasp_cheatsheets_mcp_server

提供 OWASP 备忘单的最小模型上下文协议 (MCP) 兼容服务器。

服务器使用FastAPI公开一个简单的 HTTP API,该 API 返回来自OWASP 备忘单系列的备忘单内容。

先决条件

  • Python 3.8 或更高版本
  • Git(用于在首次运行时克隆备忘单存储库)

用法

  1. 安装要求:
    pip install -r requirements.txt
  2. *(可选)*如果您已经拥有备忘单的本地副本,请设置CHEATSHEETS_DIR
    export CHEATSHEETS_DIR=/path/to/CheatSheetSeries/cheatsheets
  3. 使用uvicorn运行服务器:
    uvicorn server.app:app --reload
  4. 如果未设置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 服务器的简化示例,可能无法涵盖整个规范。

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

最小模型上下文协议服务器,通过简单的 HTTP API 提供对 OWASP 安全备忘单的访问,使用户能够列出、检索和搜索安全最佳实践。

  1. 先决条件
    1. 用法
      1. 端点
      2. 生产运行中
      3. 贡献

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      An MCP server that exposes HTTP methods defined in an OpenAPI specification as tools, enabling interaction with APIs via the Model Context Protocol.
      Last updated -
      2
      Python
      MIT License
    • -
      security
      A
      license
      -
      quality
      A 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 -
      2
      Python
      MIT License
      • Apple
    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server designed for testing backend APIs for security vulnerabilities like authentication bypass, injection attacks, and data leakage.
      Last updated -
      5
      TypeScript
      MIT License
    • A
      security
      A
      license
      A
      quality
      A 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 -
      9
      73
      20
      JavaScript
      Apache 2.0

    View all related MCP servers

    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/santosomar/owasp_cheatsheets_mcp_server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server