Thanks for your interest in contributing!
git clone https://github.com/faxik/codebugs.git
cd codebugs
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"pytest tests/ -vsrc/codebugs/
db.py — Database layer (all SQLite operations, returns dicts)
server.py — MCP server (7 tools via FastMCP)
cli.py — CLI (argparse wrapper over db.py)
tests/
test_db.py — 41 tests covering all database operations
- AI-first: MCP server is the primary interface. Structured JSON responses, minimal tokens.
- Simple schema: Lean core fields + flexible
metaJSON. No migrations needed for new use cases. - Zero config:
pip installand go. Database created on first use. - Per-project: Each project gets its own
.codebugs/findings.db. No global state.
- Add the database operation to
db.py(returns dicts, no formatting) - Add the MCP tool to
server.py(thin wrapper) - Optionally add CLI command to
cli.py - Add tests to
tests/test_db.py
rufffor linting (configured inpyproject.toml)- Type hints on all public functions
- No dependencies beyond
mcpSDK and stdlib