Skip to main content
Glama

Django Styleguide MCP Server

by dmmeteo
example-function-based-service.md•518 B
### Example - function-based service An example service that creates a user: ```python def user_create( *, email: str, name: str ) -> User: user = User(email=email) user.full_clean() user.save() profile_create(user=user, name=name) confirmation_email_send(user=user) return user ``` As you can see, this service calls 2 other services - `profile_create` and `confirmation_email_send`. In this example, everything related to the user creation is in one place and can be traced.

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/dmmeteo/django-styleguide-mcp'

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