{"repo":"zacharypodbela/django-rest-framework-mcp","free":true,"listed":false,"github":"https://github.com/zacharypodbela/django-rest-framework-mcp","clone":"git clone https://github.com/zacharypodbela/django-rest-framework-mcp.git","description":"Quickly build MCP servers that expose your Django Rest Framework APIs as tools for LLMs and agentic applications to work with","language":"Python","stars":53,"topics":[],"license":"BSD-3-Clause","category":"mcp-servers","readme_excerpt":"Django REST Framework MCP django-rest-framework-mcp allows you to spin up MCP servers that expose your Django Rest Framework APIs as MCP tools with just a few lines of code. Supercharge your admin workflows (and make developing Admin interfaces a thing of the past): - \"Deactivate josh@gmail.com's account\" → Actually deactivates it - \"Extend jack@teams.com's free trial by 1 week\" → Updates their plan - \"How many new users joined week-over-week?\" → Returns real data → LLMs can quickly create graphs (no more complex FE graphing libraries needed) Or transform your traditional, boring SaaS UX with conversational interactions: - Old way: User Clicks \"Manage\", Clicks \"My Posts\", Clicks a post from the list, Clicks \"Edit\", changes the title, Clicks \"Save\" - With Django Rest Framework MCP: \"Can you rename my post from 'Beginners Guide to Django' to 'Django 101'?\" Quick Start 1. Install the package: 2. Add to your INSTALLED APPS : 3. Add the MCP endpoint to your urls.py : 4. Transform any DRF ViewSet into MCP tools with a single decorator: When @mcp viewset is applied to a ViewSet class that inherits from GenericViewSet (such as ModelViewSet or ReadOnlyModelViewSet ), any of the following methods that are defined will be automatically exposed as MCP tools: - list - List customers with customers list tool. - retrieve - Retrieve a customer with customers retrieve tool. - create - Create new customers with customers create tool. - update - Update customers with customers update tool. (All","default_branch":null,"files":null,"tree":[],"storefront":"/r/zacharypodbela","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zacharypodbela/django-rest-framework-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."}