Skip to main content
Glama

OWASP Cheatsheets MCP Server

by santosomar

owasp_cheatsheets_mcp_server

OWASP チートシートを提供する最小限のモデル コンテキスト プロトコル (MCP) 互換サーバー。

サーバーはFastAPIを使用して、 OWASP チートシート シリーズからチートシートの内容を返すシンプルな HTTP API を公開します。

前提条件

  • 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などのプロセス マネージャーやリバース プロキシの背後での実行を検討してください。

貢献

プルリクエストは歓迎します。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