This project provides a Model Context Protocol (MCP) server that wraps OSS-Fuzz's helper tools. It enables AI agents and other tools to interact with OSS-Fuzz through structured commands.
- ✅ Project generation and management
- ✅ Docker image building and management
- ✅ Fuzzer compilation and execution
- ✅ Code coverage analysis
- ✅ Corpus management (GCS integration)
- ✅ GitHub Actions integration (CIFuzz)
- A local clone of the OSS-Fuzz repository
- Python 3.7+
- Docker
- gsutil (for corpus management)
Install dependencies:
pip install -r requirements.txt
File | Purpose |
---|---|
server.py |
Main FastMCP server exposing OSS-Fuzz tools |
requirements.txt |
Python package dependencies |
-
Start the MCP server:
python server.py
-
Configure the OSS-Fuzz directory path:
curl -X POST http://localhost:8000/tool/configure_oss_fuzz_path \ -H "Content-Type: application/json" \ -d '{"path": "/path/to/oss-fuzz"}'
-
The server exposes various tools for:
- Generating new projects
- Building and running fuzzers
- Managing corpora
- Generating coverage reports
- Setting up GitHub Actions integration