sam5epi0l/oss-fuzz-mcp
3.1
If you are the rightful owner of oss-fuzz-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The OSS-Fuzz MCP Server is a Model Context Protocol server that facilitates interaction with OSS-Fuzz's tools through structured commands, enabling AI agents and other tools to efficiently manage fuzzing tasks.
OSS-Fuzz MCP Server
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.
Features
- ✅ Project generation and management
- ✅ Docker image building and management
- ✅ Fuzzer compilation and execution
- ✅ Code coverage analysis
- ✅ Corpus management (GCS integration)
- ✅ GitHub Actions integration (CIFuzz)
Requirements
- A local clone of the OSS-Fuzz repository
- Python 3.7+
- Docker
- gsutil (for corpus management)
Install dependencies:
pip install -r requirements.txt
File Structure
File | Purpose |
---|---|
server.py | Main FastMCP server exposing OSS-Fuzz tools |
requirements.txt | Python package dependencies |
Setup and Usage
-
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