Frisian MCP (Django) — Claude Code MCP server: setup guide
Exposes Django REST Framework ViewSets as MCP tools with automatic schema discovery. It connects coding agents to your API while keeping token usage low.
claude mcp add --transport http django https://mcp.frisian-mcp.com/mcp/What Frisian MCP (Django) does
Frisian MCP inspects Django route patterns and registers discovered ViewSets as tools on the fly. Parameter structures, descriptions, and validations come straight from DRF serializers. Standard backend filters like SearchFilter and OrderingFilter automatically translate into tool input arguments.
The server addresses prompt window exhaustion through dispatchers. While regular flat registrations dump hundreds of separate schemas into context, FRISIAN_MCP_DISPATCH_GROUPS consolidates actions under single dispatcher tools. Bulk operations return a fixed 24-token response envelope rather than echoing back entire payload objects.
Running this gateway requires Python 3.11+, Django 5.x, and Django REST Framework 3.14 or newer. Host application throttles, queryset filtering, and authentication rules stay enforced on every call.
What it helps with
- expose Django REST Framework endpoints to coding agents
- reduce context token consumption using tool dispatchers
- prevent context window bloat during bulk write operations
- enforce Django permissions and rate limits on agent calls
Example prompts for the agent
- Inspect the available tools using the dispatcher action="help"
- Verify the gateway configuration by running python manage.py mcp_doctor
- Fetch the list of records through the users.list tool
How to install Frisian MCP (Django)
Platform CLI: remote server
claude mcp add --transport http django https://mcp.frisian-mcp.com/mcp/Platform CLI: remote server
codex mcp add frisian-mcp-django --url https://mcp.frisian-mcp.com/mcp/Config file
{
"mcpServers": {
"frisian-mcp-django": {
"url": "https://mcp.frisian-mcp.com/mcp/"
}
}
}Config file
{
"servers": {
"frisian-mcp-django": {
"type": "http",
"url": "https://mcp.frisian-mcp.com/mcp/"
}
}
}Platform CLI: remote server
gemini mcp add -t http frisian-mcp-django https://mcp.frisian-mcp.com/mcp/Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Frisian MCP (Django)
How to install Frisian MCP (Django) in Claude Code?
Run claude mcp add --transport http django https://mcp.frisian-mcp.com/mcp/ in your terminal.
What does Frisian MCP (Django) do?
It maps your existing Django REST Framework ViewSets to MCP tools automatically, deriving arguments and descriptions from your serializers without extra boilerplate.
What are the compatibility requirements?
Your project must run Python 3.11 or newer, Django 5.x, and Django REST Framework version 3.14 or higher.