Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DJANGO_MCP_ENDPOINT | No | The URL endpoint used by the server. | mcp |
| DJANGO_MCP_GLOBAL_SERVER_CONFIG | No | A configuration dictionary for the global MCP server. Can include keys: 'name', 'instructions', and 'stateless' (boolean string). | |
| DJANGO_MCP_AUTHENTICATION_CLASSES | No | A list of references to Django Rest Framework authentication classes to enforce in the main MCP view (e.g., 'rest_framework.authentication.TokenAuthentication'). | |
| DJANGO_MCP_OUTPUT_RENDERER_CLASSES | No | A list of references to Django Rest Framework renderer classes to produce output (e.g., 'rest_framework.renderers.JSONRenderer'). | |
| DJANGO_MCP_GET_SERVER_INSTRUCTIONS_TOOL | No | If 'True', a tool will be offered to obtain global instructions. Defaults to 'True'. | True |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |