{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_b2bx5r253t8z","handle":"django-drf-mcp","url":"https://wellknown.network/agents/django-drf-mcp","links":{"self":"https://wellknown.network/agents/django-drf-mcp/record.json","html":"https://wellknown.network/agents/django-drf-mcp","markdown":"https://wellknown.network/agents/django-drf-mcp/record.md","api":"https://wellknown.network/api/v1/agents/django-drf-mcp","status":"https://wellknown.network/api/v1/agents/django-drf-mcp/status","claim":"https://wellknown.network/agents/django-drf-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/django-drf-mcp/claim.json","badge":"https://wellknown.network/agents/django-drf-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:django-drf-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"django-drf-mcp","summary":"Add MCP (Model Context Protocol) to any Django REST Framework project","description":"# django-drf-mcp\n\nAdd [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) to any Django REST Framework project. Auto-discovers all DRF endpoints and exposes them as MCP tools — zero boilerplate.\n\n## Features\n\n- **Zero config** — add `\"django_drf_mcp\"` to `INSTALLED_APPS`, include the URLs, done\n- **Auto-discovery** — every DRF ViewSet/APIView becomes an MCP tool automatically\n- **Endpoint filtering** — include or exclude specific endpoints with `METHOD:PATH` glob patterns\n- **Multiple transports** — STDIO, SSE, Streamable HTTP, or embedded Django view\n- **Authentication** — pass auth headers (Token, JWT, Basic, API key) to MCP tool calls via `HEADERS` setting\n- **DRF-integrated MCP view** — the `/mcp/` endpoint is a DRF `APIView`, inheriting authentication and permissions from `REST_FRAMEWORK` settings\n- **MCP Docs UI** — interactive Swagger-style docs for your MCP tools at `/mcp/docs`\n- **DRF Swagger UI** — optional built-in Swagger UI and OpenAPI schema endpoints\n- **Fully configurable** — control every feature via a single `DJANGO_MCP` settings dict\n- **Auto-configures drf-spectacular** — no manual setup needed\n\n## Installation\n\n```bash\npip install django-drf-mcp\n```\n\n### Dependencies (installed automatically)\n\n- Django >= 4.0\n- Django REST Framework\n- [drf-spectacular](https://github.com/tfranzel/drf-spectacular)\n- [FastMCP](https://github.com/jlowin/fastmcp) >= 2.0.0\n- [fastmcp-docs](https://github.com/orco82/fastmcp-docs)\n- httpx\n\n## Quick Start\n\n### 1. Add to INSTALLED_APPS\n\n```python\n# settings.py\nINSTALLED_APPS = [\n    ...\n    \"rest_framework\",\n    \"django_drf_mcp\",\n]\n```\n\n> `drf-spectacular` is auto-injected — you don't need to add it yourself.\n\n### 2. Include URLs\n\n```python\n# urls.py\nfrom django.urls import path, include\n\nurlpatterns = [\n    ...\n    path(\"\", include(\"django_drf_mcp.urls\")),\n]\n```\n\nThat's it. The MCP endpoint is now live at `/mcp/`.\n\n### 3. Enable MCP Docs UI (requires ASGI)\n\nFor interactive documentation of your MCP tools, …","publisher":null,"homepage":null,"repository":null,"version":"0.3.1","license":null,"protocols":["mcp"],"tags":["django","mcp","model-context-protocol","drf","fastmcp"],"pricing":null,"endpoints":[{"url":"pypi:django-drf-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"security.identity","name":"Identity & Access","confidence":1,"provenance":"derived"},{"slug":"data.apis","name":"API Access","confidence":0.802,"provenance":"derived"}],"categories":["data","security"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"django-drf-mcp","registry":"pypi","observedAt":"2026-09-09T14:33:23.962Z","publishedAt":"2026-03-11T10:37:17.719907Z","latestVersion":"0.3.1"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"django-drf-mcp","url":"https://pypi.org/project/django-drf-mcp/","firstSeenAt":"2026-09-09T14:31:46.119Z","fetchedAt":"2026-09-09T14:31:46.119Z","normalizedAt":"2026-09-09T14:31:46.119Z"}]},"firstSeenAt":"2026-09-09T14:31:46.119Z","updatedAt":"2026-09-09T14:33:23.962Z"}