{"repo":"7tg/django-admin-mcp","free":true,"listed":false,"github":"https://github.com/7tg/django-admin-mcp","clone":"git clone https://github.com/7tg/django-admin-mcp.git","description":"Expose Django admin models to MCP (Model Context Protocol) clients. Add a mixin to your ModelAdmin classes and let AI assistants like Claude perform CRUD operations, execute admin actions, and explore relationships—all respecting Django's permission system.","language":"Python","stars":15,"topics":["ai","api","automation","claude","django","django-admin","llm","mcp","model-context-protocol","python"],"license":"MIT","category":"mcp-servers","readme_excerpt":"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 - 📦 Zero dependencies — only Django and Pydantic required - 🔐 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 mcp fields and mcp exclude fields - 📝 Full CRUD — list, get, create, update, delete operations - ⚡ Admin actions — execute registered Django admin actions - 📦 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 --- 📥 Installation Add to your Django project: Run migrations to create the token model: --- 🚀 Quick Start 1️⃣ Expose Your Models Add the mixin to any ModelAdmin . Set mcp expose = True to expose direct tools: 🔒 Protecting Sensitive Fields Use mcp exclude fields to prevent sensitive data exposure: 2️⃣ Create an API Token Go to Django admin at /admin/django admin mcp/mcptoken/ and create a token. Tokens can optionally be tied to users, groups, or have direct permissions assigned. 3️⃣ Configure You","default_branch":null,"files":null,"tree":[],"storefront":"/r/7tg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/7tg/django-admin-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}