commcare-connect-mcp

commcare-connect-mcp

0

The project is an experimental Model Context Protocol server designed for CommCare Connect. It provides functionality to query the global stats API, retrieving information on earnings, user activity, and visit statistics. Built using Python, it supports customization through the Python MCP SDK.

Experimental MCP Server for CommCare Connect (ccc)

This is an experimental MCP server for CommCare Connect built on the Python MCP SDK. It allows querying of the global stats API for information such as amounts earned or paid, active users, and visit stats over specific date ranges. Setup and usage require the installation of the uv tool, and authentication is done via an API token from the Dimagi platform.

Usage

  • Query global stats API for earnings, active users, and visit stats.

Getting an authentication token

  • Obtain the token from the Dimagi admin interface.
  • Use the token to authenticate API requests.

Development

  • Test against a development server by changing the SERVER_ENDPOINT in .mcp.json.