Usage Guide¶
Common patterns and best practices for using the AIRS MCP Filesystem Server.
Basic Operations¶
Reading Files¶
Claude will use the read_file tool to access and display the file contents.
Writing Files¶
This triggers the write_file tool with approval workflow.
Listing Directories¶
Uses the list_directory tool to browse filesystem.
Common Workflows¶
Code Analysis¶
The server will:
1. List files matching **/*.ts
2. Read each TypeScript file
3. Analyze code patterns
4. Report findings
Documentation Generation¶
Workflow: 1. Read source files 2. Extract documentation 3. Generate markdown files 4. Write to docs directory
Project Setup¶
The server will: 1. Create directory structure 2. Generate configuration files 3. Set up initial templates
Security Patterns¶
Safe File Access¶
Always configure allowed paths:
Approval Workflows¶
Enable approval for sensitive operations:
Advanced Patterns¶
See Examples & Use Cases for detailed examples.
See Integration Guide for ecosystem integration.