What You’ll Learn
- Configure permissions and deny rules
- Customize behavior through rule systems
- Extend capabilities with MCP integration
- Combine methods for comprehensive workflows
Extensibility Overview
| Method | Best For | Configuration |
|---|---|---|
| Permissions | Block dangerous commands | Settings → Permissions |
| User Rules | Personal coding preferences | Settings → User Rules |
| Project Rules | Team conventions | AGENTS.md in project root |
| MCP Integration | External tools and services | Settings → MCP Servers |
Permissions
Configure command permissions and security rules in Settings → Permissions.Deny Rules
Deny rules prevent potentially dangerous commands from being executed. Verdent blocks most dangerous commands by default, but you can add additional rules. Access: Settings → Permissions → Deny Rules Enter one rule per line. Deny rules take precedence over allow rules. Rule Syntax:- Use
*as a wildcard to match any characters - Rules are case-sensitive
- Each line represents a separate rule
- Empty lines are ignored
| Pattern | Purpose |
|---|---|
rm -rf /* | Prevent recursive deletion from root |
curl * | *sh* | Block piping downloaded scripts to shell |
dd * of=/dev/sd* | Prevent disk overwrite operations |
Rules System
Rule files guide Verdent’s behavior, output formatting, and adherence to project standards.| Rule Type | Scope | Access |
|---|---|---|
| User Rules | Global (all projects) | Settings → User Rules |
| Project Rules | Current project | AGENTS.md in project root |
User Rules
Personal preferences applied across all projects. Access: Settings → User Rules Example:Project Rules (AGENTS.md)
Team standards for the current project. Store in project root and commit to version control. Example:Rule Precedence
When conflicts occur, project rules override user rules:Rule Writing Best Practices
Be Specific and Directive:- Group related rules under section headers
- Use emphasis for critical rules:
**NEVER** commit credentials - Start new conversation to verify rule application
- Refine rules based on actual agent behavior
MCP Integration
Model Context Protocol (MCP) extends Verdent by connecting external tools and services. Configuration: Settings → MCP ServersCapabilities
| Category | Examples |
|---|---|
| Databases | PostgreSQL, MySQL, MongoDB |
| Cloud Services | AWS, Azure, GCP |
| Project Management | Jira, Linear, Asana |
| CI/CD | GitHub Actions, Jenkins |
@-Mentionable MCP Servers
Custom MCP servers can be invoked using @-mentions, enabling specialized workflows:Combining Methods
Example: Compliance Workflow
AGENTS.md (Project Rules):- Compliance database MCP: Check operations against compliance rules
- Audit log MCP: Record sensitive data access
Progressive Adoption
Phase 1: Start with basic rules (AGENTS.md) Phase 2: Add MCP servers for external integrations Phase 3: Create custom MCP servers for specialized tasksChoosing the Right Method
| Need | Method |
|---|---|
| Block dangerous commands | Permissions (Deny Rules) |
| Personal coding preferences | User Rules |
| Team conventions | Project Rules (AGENTS.md) |
| External service access | MCP Integration |
| Specialized AI review | Custom MCP Server (@-mentionable) |
Troubleshooting
- Rule Issues
- Permission Issues
- MCP Issues
Problem: Rules not being appliedCheck:
- Location: AGENTS.md in project root, User Rules in Settings
- Syntax: Valid Markdown with no parsing errors
- Directive Style: Use specific commands (“Always use…” not “Try to…”)
- Session: Start new conversation to test fresh rule application
- AGENTS.md in wrong directory
- Vague instructions
- Rules applied but results not as expected (refine wording)
FAQs
How do I add a deny rule?
How do I add a deny rule?
Go to Settings → Permissions → Deny Rules. Enter one pattern per line using
* as a wildcard.Do deny rules override allow rules?
Do deny rules override allow rules?
Yes. Deny rules always take precedence over allow rules.
Where do I configure user rules?
Where do I configure user rules?
Go to Settings → User Rules to define personal preferences that apply across all projects.
Can MCP servers be @-mentioned?
Can MCP servers be @-mentioned?
Yes. Custom MCP servers can be invoked using @-mentions (e.g.,
@migration-reviewer).