django-mcp-server
Django MCP Server enables AI Agents to interact with Django applications through the Model Context Protocol.
This server is an implementation of the Model Context Protocol (MCP) extension for Django, allowing seamless interaction between MCP Clients and AI agents with any Django application. It provides declarative tools for AI Agents and MCP clients to interact with Django models safely and efficiently. Additionally, it converts Django Rest Framework APIs into MCP tools with minimal effort, ensuring compatibility with both WSGI and ASGI environments.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"django-mcp-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-django-mcp-server"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions