---
alwaysApply: true
---
# Buerokratt MCP server integration
## Loading Module Rules
When instructed to load rules (from MCP), use the `buerokratt-mcp` MCP server to retrieve context-specific guidelines.
### Steps to follow
1. **Get the list of available modules**:
- Call `mcp_buerokratt-mcp_list_modules` to retrieve all available module names
2. **Determine which module to load**:
- Extract the module name from the current file path (e.g., `/Users/igor/Projects/devtailor/burokratt/Service-Module/...` → `Service-Module`)
- Check if the extracted module name matches any module from the list
- If there is a match, use that module name
- If there is no match, use `global` as the module name
3. **Load the rules**:
- Call `mcp_buerokratt-mcp_get_rules` with the determined module name
- Apply the loaded rules to your work in that module
### Important
- Only load rules when explicitly instructed by the user
- The rules provide essential context and guidelines for the specific module or global workspace