DRF Docs

•
15
•

Exposes Django REST Framework API documentation to AI coding agents, enabling them to assist with frontend integration code generation.

drf-mcp-docs provides API documentation for Django REST Framework applications directly to AI coding agents via the Model Context Protocol (MCP). Unlike other MCP packages that expose DRF actions for direct AI calls, this tool focuses on making API documentation machine-readable. It allows AI agents to understand your API's structure, endpoints, and schemas, facilitating the generation of accurate frontend integration code in various languages and clients, such as React, Vue, Angular, Python, and cURL.

Características Principales

01Exposes API structure as browsable MCP Resources for AI agents
02Provides MCP Tools for searching endpoints, getting detailed docs, and generating request/response examples
03Generates frontend integration code with real types and documentation for various languages and HTTP clients
04Supports multiple schema adapters including drf-spectacular, drf-yasg, and DRF's built-in schema generation
05Ensures read-only documentation exposure, preventing any data mutation or security risks
0613 GitHub stars

Casos de Uso

01Enabling AI agents to browse and understand your Django REST Framework API structure
02Generating accurate frontend integration code for your API endpoints using AI assistance
03Allowing AI agents to search API endpoints and retrieve detailed documentation programmatically