Skip to Content

CMDOP integration

CMDOP  connects AI clients to the machines on which your application runs. Django-CFG provides the application framework; CMDOP provides a way for an authorized client to inspect files, edit source and run development tools on a connected machine.

Use it when your Django project lives on a remote development server and you want to work on it from ChatGPT, Claude or another supported MCP client. It does not replace Django’s settings, API, authentication, or deployment workflow.

Two MCP surfaces

SurfaceWhat it connects to
Django-CFG MCPApplication-level tools you expose: Django data and business operations
CMDOP MCPA registered development machine and its permitted file, command and other machine tools

The two can coexist. Connecting a machine does not grant access to every application tool, and enabling django_mcp does not give a client shell access to the machine.

Connect a development machine

  1. Prepare your Django-CFG project and start its development environment on your own server. Keep the source in your own Git repository.
  2. Install and enroll CMDOP using the owner quickstart . For a container-based environment, see the CMDOP Docker reference .
  3. Use the agent quickstart  to connect your AI client. Start with read access; grant write or command execution only when the task requires it.
  4. Confirm that the intended machine is online and select its exact identity. Ask your agent to read the repository instructions and inspect Git status before making changes.

The owner controls the initial server setup and repository authorization. Admission to CMDOP is separate from access to the repository and from production deployment rights.

Work on a project

A typical session is to inspect the current branch, implement a scoped change, run the relevant Django and frontend checks, review the diff and make a commit. Push changes only through the repository’s approved transport and branch policy. A successful commit does not deploy production.

For containerized development, keep the workspace’s machine identity in persistent state, separate from the source and dependency volumes. Do not give a development agent the host Docker socket, production data or broad account credentials. A machine grant does not replace operating-system permissions or Git provider restrictions.

Call from Python or TypeScript

For programmatic integrations, CMDOP publishes its own SDKs. Install them in the caller’s environment, not as extra Django application dependencies.

pip install cmdop # Or, in a TypeScript project: npm install @cmdop/sdk

Follow the SDK quickstart  for the current connection API and SDK authentication  for scoped credentials. Keep tokens in the caller’s secret store, not in the project or browser bundle.

Docker starter and updates

The canonical Docker development workspace is published with Django-CFG 2.4.115. Start with the complete Git repository and Quick Start. The launcher prepares the verified initial CMDOP toolbox; its optional workspace starts explicitly. Owner admission and caller grants remain separate. See Operations.

Django-CFG application dependencies and CMDOP client updates have separate lifecycles. Follow the framework’s dependency resolution and your project’s lock files. Follow CMDOP’s native update guidance for its client and the supported container lifecycle; do not introduce a second updater or rebuild your application on every client release.

Last updated on