开发者工具 · 人工智能聊天机器人

MCP Django Shell

joshuadavidthomas/mcp-django-shell

一个为AI助手提供有状态Django shell交互的MCP服务器,允许在Django项目中直接执行Python代码并保持会话状态

安装

pip install mcp-django

客户端配置

{
  "mcpServers": {
    "django": {
      "command": "python",
      "args": [
        "-m",
        "mcp_django"
      ],
      "env": {
        "DJANGO_SETTINGS_MODULE": "<DJANGO_SETTINGS_MODULE>"
      }
    }
  }
}

环境变量

DJANGO_SETTINGS_MODULE
分类
开发者工具, 人工智能聊天机器人
许可证
MIT
更新于
2026年10月6日

工具(11)

  • get_project_info

    Get comprehensive project information including Python environment and Django configuration

  • get_setting

    Get a Django setting value by key

  • list_apps

    List all installed Django applications with their models

  • list_models

    Get detailed information about Django models with optional filtering by app or scope

  • list_routes

    Introspect Django URL routes with filtering support for HTTP method, route name, or URL pattern

  • execute_command

    Execute Django management commands with arguments and options

  • list_commands

    List all available Django management commands with their source apps

  • execute

    Execute Python code in a stateless Django shell

  • export_history

    Export session history as a Python script

  • clear_history

    Clear the session history for a fresh start

  • djangopackages.org

本页信息摘自该项目的 README。 查看 README

相关 MCP 服务器

更多服务器
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright是一个跨浏览器的Web测试和自动化框架,支持Chromium、Firefox和WebKit,提供无头执行、多浏览器兼容性测试、强大的断言和工具支持,适用于多种编程语言。

开发者工具
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix是一个将代码库打包为AI友好格式的工具,支持本地和远程仓库处理,提供代码压缩、安全检查和多种输出格式。

开发者工具
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS 是字节跳动的多模态 AI 智能体技术栈,包含两个项目:Agent TARS(基于 MCP 的命令行与 Web UI 智能体)和 UI-TARS-desktop(桌面 GUI 智能体)。

开发者工具
blender logo

blender

ahujasid/blender-mcp

10.6k

BlenderMCP通过MCP协议将Blender与Claude AI连接,实现AI辅助3D建模与场景控制

开发者工具
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

Playwright MCP是一个基于Playwright的浏览器自动化服务器,通过结构化数据而非像素输入实现LLM与网页的交互。

开发者工具
2344 logo

2344

comet-ml/opik

7k

Opik是一个开源的LLM评估框架,支持追踪、评估和监控LLM应用,帮助开发者构建更高效、更经济的LLM系统。

开发者工具