Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 606 Bytes

File metadata and controls

21 lines (16 loc) · 606 Bytes

Custom tools

Expose application functions to the agent as in-process MCP tools. This sample implements a release-readiness assistant with two tools:

  • get_build_status
  • get_open_incidents

Complete the repository setup, then:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python main.py

The 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.