Django Admin MCP server
Django admin models over MCP: CRUD, actions, history, autocomplete — capped by Django permissions.
18 stars943 downloads/wk
Reviews
Write oneNobody has reviewed Django Admin MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Django Admin MCP tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.5 · 2026-09-19 · same rubric, same numbers if you re-run it
- Code scan27 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 2 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the Django Admin MCP repository's README, as published. We do not edit it. Read it on GitHub
django-admin-mcp
Expose Django admin models to MCP (Model Context Protocol) clients via HTTP. Add a mixin to your ModelAdmin classes and get instant access to CRUD operations, admin actions, model history, and more.
Features
- Only two dependencies — Django and Pydantic, nothing else. No MCP SDK, no extra HTTP stack, no supply-chain sprawl
- Token authentication — secure Bearer token auth with configurable expiry
- Django admin permissions — respects existing view/add/change/delete permissions
- Field filtering — control which fields are exposed via mcpfields and mcpexclude_fields
- Full CRUD — list, get, create, update, delete operations
- Admin actions — execute registered Django admin actions, including two-step confirmation flows
- Bulk operations — create, update, or delete multiple records at once
- Model introspection — describe model fields and relationships
- Related objects — traverse foreign keys and reverse relations
- Change history — access Django admin's history log
- Autocomplete — search suggestions for foreign key fields
- MCP Prompts & Resources — workflow guides plus read-only data access via models:// and data:// URIs
<!-- mcp-name: io.github.7tg/django-admin-mcp -->
Installation
pip install django-admin-mcpAdd to your Django project:
# settings.py
INSTALLED_APPS = [
'django_admin_mcp',
# ...
]
# urls.py
from django.urls import path, include
urlpatterns = [
path('mcp/', include('django_admin_mcp.urls')),
# ...
]Run migrations to create the token model:
python manage.py migrate django_admin_mcpQuick Start
1. Expose Your Models
Add the mixin to any ModelAdmin. Set mcp_expose = True to expose direct tools:
from django.contrib import admin
from django_admin_mcp import MCPAdminMixin
from .models import Article, Author
@admin.register(Article)
class ArticleAdmin(MCPAdminMixin, admin.ModelAdmin):
mcp_expose = True # Exposes list_article, get_article, etc.
list_display = ['title', 'author', 'published']Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-09-19restoreB → Ascore 92
Install directly
claude mcp add django-admin-mcp -- uvx django-admin-mcp
Django Admin MCP: common questions
- Is Django Admin MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Django Admin MCP safety report
- How do I install Django Admin MCP?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Django Admin MCP need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Django Admin MCP maintained?
- The last commit was 4 days ago (2026-09-17). The latest release is v0.8.0.