Function Signature
aguara.go:49
Description
Scans the local machine for MCP (Model Context Protocol) client configurations. This function:- Searches known config locations for popular MCP clients (Claude Desktop, Continue, Cline, etc.)
- Extracts server definitions from JSON configuration files
- Returns a structured result with all discovered clients and servers
- Does not perform network requests or modify any files
Parameters
None.Return Values
| Type | Description |
|---|---|
*DiscoverResult | Discovery results containing clients and servers |
error | Non-nil if filesystem access fails |
Type Definitions
Examples
Basic Usage
List All Servers
Audit MCP Configurations
Check for Unpinned npx Commands
Extract Environment Variables
Generate Security Report
Combined Discovery and Scanning
Supported Clients
Aguara searches for configurations from these MCP clients:- Claude Desktop (macOS, Windows, Linux)
- Continue (VSCode extension)
- Cline (VSCode extension)
- Zed
- Other MCP-compatible clients
Search Locations
Depending on the platform, Aguara checks:~/Library/Application Support/(macOS)%APPDATA%(Windows)~/.config/(Linux)- VSCode extension directories
Error Handling
Performance Notes
- Fast filesystem scan (typically < 100ms)
- No network requests
- Reads only known config file locations
- Does not parse or validate server commands
Related
- Scan() - Scan discovered config files
- MCP Config Rules - Detection rules for MCP configurations
