Expose application functions to the agent as in-process MCP tools. This sample implements a release-readiness assistant with two tools:
get_build_statusget_open_incidents
Complete the repository setup, then:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python main.pyThe checked-in data.json simulates application-owned release data. Replace
load_data() with calls to your CI and incident-management clients in a real
application. Both tools are read-only and explicitly pre-approved for the
session.