Django Inspector
БесплатноНе проверенExposes Django runtime information (settings, apps, URLs, models, migrations) as MCP resources for AI agents to inspect a live Django project without static ana
Описание
Exposes Django runtime information (settings, apps, URLs, models, migrations) as MCP resources for AI agents to inspect a live Django project without static analysis.
README
Starts a Model Context Protocol server that exposes Django runtime information as resources, allowing AI agents to inspect a live Django project without any static file analysis.
Resources
| URI | Contents |
|---|---|
django://settings |
All settings (sensitive values redacted) |
django://apps |
Installed apps, labels, paths, model names |
django://urls |
URL pattern tree flattened to pattern / view / name |
django://models |
Every model's fields, types, and relations |
django://models/{app_label} |
Fields for a single app |
django://migrations |
Applied and pending migrations per app |
Usage
Zero project modification (recommended)
Run as an ephemeral tool — no changes to INSTALLED_APPS or requirements:
DJANGO_SETTINGS_MODULE=myproject.settings uv run --with django-mcp-inspector django-mcp-inspector
Pass --settings instead of the environment variable if you prefer:
uv run --with django-mcp-inspector django-mcp-inspector --settings myproject.settings
Exclude third-party app noise:
uv run --with django-mcp-inspector django-mcp-inspector --settings myproject.settings --exclude-site-packages
As an installed app
Add mcp_inspector to INSTALLED_APPS:
INSTALLED_APPS = [
...
'mcp_inspector',
]
Then run the management command:
python manage.py mcpserver
python manage.py mcpserver --exclude-site-packages
Connecting an MCP client
The server communicates over stdio. Point any MCP-compatible client (Claude Desktop, custom agent, etc.) at the process.
Example Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"django": {
"command": "uv",
"args": [
"run", "--with", "django-mcp-inspector",
"django-mcp-inspector", "--settings", "myproject.settings"
],
"env": {
"PYTHONPATH": "/path/to/your/project"
}
}
}
}
Requirements
- Python 3.12+
- Django 4.2+
- mcp 1.0+
Установка Django Inspector
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/StuartMacKay/django-mcp-inspectorFAQ
Django Inspector MCP бесплатный?
Да, Django Inspector MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Django Inspector?
Нет, Django Inspector работает без API-ключей и переменных окружения.
Django Inspector — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Django Inspector в Claude Desktop, Claude Code или Cursor?
Открой Django Inspector на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Django Inspector with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
