Django Shell

Provides a stateful Python shell environment specifically configured for Django development, enabling execution of Django ORM oper

joshuadavidthomas 40 ↓ 8.6k
Claude CodeClaude DesktopGeneric
View source ↗

This Django MCP server provides a stateful Python shell environment specifically configured for Django development, enabling AI assistants to execute Django ORM operations, explore models, and interact with Django applications through persistent sessions. Built by Josh Thomas using FastMCP, it offers two core tools: django_shell for executing Python code with full Django context and django_reset for clearing session state, with intelligent formatting for querysets and comprehensive error handling. The implementation maintains execution history, supports both synchronous and asynchronous operations, and includes robust testing with multiple Django/Python version compatibility, making it valuable for AI-assisted Django development, database exploration, and automated Django application management workflows.

Source

Repository: https://github.com/joshuadavidthomas/mcp-django

Maintain Django Shell?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

Django Shell on getagentictools
[![Django Shell on getagentictools](https://getagentictools.com/badge/mcp/joshuadavidthomas-mcp-django.svg)](https://getagentictools.com/mcp/joshuadavidthomas-mcp-django?ref=badge)