Back to Apps

Django Admin MCP API
by martincastroalvarez
Turn your Django admin into an MCP server. Drive ModelAdmin tools with existing permissions and session auth.
0 stars
Works in:Cursor
Exposes:Tools
What it does
Django Admin MCP API is a wire adapter that exposes your existing Django Admin (ModelAdmin) as a set of MCP tools. It requires no new permission systems or custom API code; it leverages the same session authentication, form validation, and permissions already configured in your Django admin site.
Tools
admin.registry: List all models the current user is permitted to see.admin.list: Retrieve a page of results from a model's list view.admin.retrieve: Get a detailed view of a single object.admin.create: Create a new object via the admin's form logic.admin.update: Perform a partial update on an existing object.admin.destroy: Delete an object with cascade preview.admin.action: Execute a registeredModelAdmin.actionscallable.admin.history: View theLogEntrytimeline for a specific object.admin.autocomplete: Access the admin's autocomplete functionality for related models.
Installation
Install the package via pip:
pip install django-admin-mcp-api
Add django_admin_rest_api and django_admin_mcp_api to your INSTALLED_APPS in settings.py, and include the MCP URLs in your urls.py:
path("mcp/", include("django_admin_mcp_api.urls"))
Supported hosts
Confirmed for Claude, Cursor, and other MCP-compatible agents.
Quick install
pip install django-admin-mcp-apiInformation
- Pricing
- free
- Published
- 7/2/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Cursor
Add the /mcp/ endpoint to the Cursor MCP settings.Claude Desktop
Configure the server URL in claude_desktop_config.json pointing to your Django /mcp/ endpoint.





