Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DJANGO_MCP_ENDPOINTNoThe URL endpoint used by the server.mcp
DJANGO_MCP_GLOBAL_SERVER_CONFIGNoA configuration dictionary for the global MCP server. Can include keys: 'name', 'instructions', and 'stateless' (boolean string).
DJANGO_MCP_AUTHENTICATION_CLASSESNoA 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_CLASSESNoA list of references to Django Rest Framework renderer classes to produce output (e.g., 'rest_framework.renderers.JSONRenderer').
DJANGO_MCP_GET_SERVER_INSTRUCTIONS_TOOLNoIf 'True', a tool will be offered to obtain global instructions. Defaults to 'True'.True

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/omarbenhamid/django-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server