diff --git a/.cursorrules b/.cursorrules index e7ec241..977018d 100644 --- a/.cursorrules +++ b/.cursorrules @@ -40,6 +40,12 @@ ivatar is a Django-based federated avatar service that serves as an alternative ## Development Workflow Rules +### Tool Usage Guidelines +- **Prefer MCP tools over command-line alternatives** - When MCP (Model Context Protocol) tools are available for a task, use them instead of command-line tools +- **Examples**: Use `mcp_lkernat-gitlab_*` functions instead of `glab` commands, prefer MCP web search over terminal `curl` calls +- **Benefits**: MCP tools provide more reliable, direct interfaces and better error handling +- **Fallback**: Only use command-line tools when no MCP alternative exists + ### External Resources & Libraries - **Web search is always allowed** - use web search to find solutions, check documentation, verify best practices - **Use latest library versions** - always prefer the latest stable versions of external libraries