Django extension that exposes Django applications via Model Context Protocol
Django MCP Server is a Django extension enabling AI agents to interact with Django applications through Model Context Protocol. Safely expose Django models and APIs as MCP tools with just two lines of code, supporting both WSGI and ASGI.
Expose Django models as MCP tools with just 2 lines of code
Automatic conversion of Django REST Framework APIs to MCP tools
Support for both WSGI and ASGI Django applications
Secure bidirectional communication with AI agents
Declarative exposure of Django application logic
Use Cases
AI-assisted development workflows — AI agents like Claude AI can directly access Django app databases to automate development tasks and data queries.
LLM-integrated application development — Add MCP to existing Django apps, allowing AI agents to use application features through natural language interactions.
Dynamic API exposure to AI — Convert REST APIs to MCP tools with a single annotation, exposing complex business logic to AI agents.