This guide provides examples for integrating with the Content Intelligence system, covering both the MCP tool interface and the RESTful HTTP API.
This guide provides examples for integrating with the Content Intelligence system, covering both the MCP tool interface and the RESTful HTTP API.
The /mcp surface enables LLM agents to perform diagnostic work, triage findings, and query effort predictions.
Using the @modelcontextprotocol/sdk TypeScript client to connect to the server:
Tools use snake_case for arguments. This call fetches a calibrated effort prediction for a specific ticket:
Agents can fetch a high-level health overview using the get_health_confidence tool:
/api/v1/ci)For automated CI/CD checks or reporting dashboards, use the standard RESTful HTTP API.
Use the repository's client factory to instantiate an authenticated HTTP client:
Automated pipelines often verify that current estimates are aligned with historical calibration data before pushing a change:
Retrieve all unacknowledged alerts to include in build logs:
isError in MCP tools or catch ContentIntelligenceApiError instances when using the HTTP client.MCP_BEARER_TOKEN is configured on the server, ensure your HTTP client or MCP transport includes the Authorization: Bearer <token> header in all requests./health/readiness for Kubernetes readiness probes and /health/liveness for basic process monitoring. Use /health/nexus (with auth) to monitor connectivity to the underlying item-store database.