Contributing
Contributions should preserve the project’s safety-first design.
Development Setup
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -e ".[dev]"
pytest
Before Opening a Pull Request
- Keep credentials and local environment details out of commits.
- Add or update tests for SQL guardrail changes.
- Prefer portable examples over machine-specific paths or IP addresses.
- Keep MCP tool responses free of configured passwords.
- Put new EMR tool logic in the matching
oscar_db_mcp.emrfeature module. - Add MCP wrappers in
oscar_db_mcp.serveronly after the domain logic is covered.
Project Structure
Read Project Architecture before adding new tools. The MCP entry point stays thin, while OSCAR EMR behavior is grouped by feature area under oscar_db_mcp.emr.
Documentation
Build the docs locally:
npm install
npm run build
Preview the docs locally:
npm run start