owasp_cheatsheets_mcp_server
OWASP チートシートを提供する最小限のモデル コンテキスト プロトコル (MCP) 互換サーバー。
サーバーはFastAPIを使用して、 OWASP チートシート シリーズからチートシートの内容を返すシンプルな HTTP API を公開します。
前提条件
- Python 3.8以降
- Git (初回実行時にチートシートリポジトリをクローンするため)
使用法
- インストール要件:
- *(オプション)*チートシートのローカルコピーがすでにある場合は、
CHEATSHEETS_DIR
設定します。 uvicorn
でサーバーを実行します。CHEATSHEETS_DIR
が設定されていない場合、サーバーは最初の起動時にチートシート リポジトリのクローンを作成します (ネットワーク アクセスが必要です)。
エンドポイント
GET /health
– 基本的なヘルスチェック。GET /cheatsheets
– 利用可能なチートシート ファイルを一覧表示します。GET /cheatsheets/{name}
– 特定のチートシートを取得します。GET /search?q=term
– チートシートで用語を検索し、一致するファイル名を返します。
本番環境で実行中
デプロイ時に明示的なホストとポートを指定してuvicorn
使用します。
実際の展開では、 systemd
などのプロセス マネージャーやリバース プロキシの背後での実行を検討してください。
貢献
プルリクエストは歓迎します。pytestを使用して、 tests/
ディレクトリ以下にテストを追加できます。
この実装は MCP サーバーの簡略化された例であり、仕様全体を網羅しているわけではありません。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
シンプルな HTTP API を介して OWASP セキュリティ チート シートへのアクセスを提供し、ユーザーがセキュリティのベスト プラクティスを一覧表示、取得、検索できるようにする最小限のモデル コンテキスト プロトコル サーバーです。
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 -8MIT License
- -securityFlicense-qualityA Model Context Protocol server that provides tools for reading, updating, filtering, and visualizing Excel data through a simple API.Last updated -
- AsecurityFlicenseAqualityA Model Context Protocol server that enables users to perform third-party enrichment lookups for security observables (IP addresses, domains, URLs, emails) through services like VirusTotal, Shodan, and others.Last updated -12
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides AI-powered security analysis and safety instruction tools. This server helps protect AI agents by providing security guidelines, content analysis, and cautionary instructions when interacting with various MCPs and external services.Last updated -3109ISC License