# List Active Patterns
## šÆ Key Principle
**This tool coordinates Claude Code's actions. It does NOT write code or create content.**
## MCP Tool Usage in Claude Code
**Tool:** `mcp__claude-flow__agent_list`
## Parameters
```json
{
"swarmId": "current"
}
```
## Description
View all active cognitive patterns and their current focus areas
## Details
Filters:
- **all**: Show all defined patterns
- **active**: Currently engaged patterns
- **idle**: Available but unused patterns
- **busy**: Patterns actively coordinating tasks
## Example Usage
**In Claude Code:**
1. List all agents: Use tool `mcp__claude-flow__agent_list`
2. Get specific agent metrics: Use tool `mcp__claude-flow__agent_metrics` with parameters `{"agentId": "coder-123"}`
3. Monitor agent performance: Use tool `mcp__claude-flow__swarm_monitor` with parameters `{"interval": 2000}`
## Important Reminders
- ā This tool provides coordination and structure
- ā Claude Code performs all actual implementation
- ā The tool does NOT write code
- ā The tool does NOT access files directly
- ā The tool does NOT execute commands
## See Also
- Main documentation: /CLAUDE.md
- Other commands in this category
- Workflow examples in /workflows/
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/airmcp-com/mcp-standards'
If you have feedback or need assistance with the MCP directory API, please join our Discord server