- Home
- MCP servers
- FastApply
FastApply
- python
5
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"betmoar-fastapply-mcp": {
"command": "uvx",
"args": [
"--from",
"/path/to/fastapply-mcp",
"run",
"python",
"main.py"
],
"env": {
"FAST_APPLY_URL": "http://localhost:1234/v1",
"WORKSPACE_ROOT": "/path/to/project",
"FAST_APPLY_MODEL": "fastapply-1.5b",
"FAST_APPLY_TIMEOUT": "30.0"
}
}
}
}FastApply MCP Server is an enterprise-grade code intelligence platform that runs locally to analyze, search, and transform code across multiple languages. It combines local AI models, AST-based semantic search, and secure enterprise features to help you move faster with code comprehension, automated refactoring, and quality gates all inside your environment.
How to use
You connect to the FastApply MCP Server from an MCP client to perform AI-assisted edits, semantic searches, and security analyses across your codebase. Use the MCP client to send multi-file edits, run pattern-based searches, analyze code structure, and generate reports. The server is designed to work with Python, JavaScript, TypeScript, and Java projects and emphasizes fast responses, secure workspace isolation, and customizable quality gates.
How to install
# Clone and install FastApply
git clone https://github.com/your-org/fastapply-mcp.git
cd fastapply-mcp
# Install dependencies with uv (recommended)
uv sync --all-extras
source .venv/bin/activate
uv pip install -e .
# Or with pip
pip install -e .
cp .env.example .env
# Verify installation completes and environment is prepared
python -m pip install -e .
cp .env.example .env
Configuration and operation notes
# Core FastApply Settings
FAST_APPLY_URL=http://localhost:1234/v1
FAST_APPLY_MODEL=fastapply-1.5b
FAST_APPLY_TIMEOUT=30.0
# Performance Optimization
FAST_APPLY_MAX_TOKENS=8000
FAST_APPLY_TEMPERATURE=0.05
# Security & Isolation
WORKSPACE_ROOT=/path/to/project
FAST_APPLY_STRICT_PATHS=1
MAX_FILE_SIZE=10485760
MCP integration example
{
"mcpServers": {
"fastapply_mcp": {
"command": "uvx",
"args": ["--from", "/path/to/fastapply-mcp", "run", "python", "main.py"],
"env": {
"FAST_APPLY_URL": "http://localhost:1234/v1",
"FAST_APPLY_MODEL": "fastapply-1.5b",
"WORKSPACE_ROOT": "/path/to/project"
}
}
}
}
Practical usage patterns
After starting the server, you can leverage the MCP client to perform AI-guided edits, semantic searches, and security analyses across your codebase. Typical workflows include locating references to a symbol, safely refactoring a module with validation, running a comprehensive security scan, and producing a quality gate report that your CI/CD can use to gate deployments.
Security, performance, and scalability notes
FastApply is designed for enterprise use with workspace isolation, strict path checking, and configurable file size limits. It supports caching and parallel processing to deliver sub-second responses for common queries while handling large projects through scalable batch processing.
Troubleshooting tips
If you encounter connection issues, verify the server is running at the configured URL and that the MCP client can reach it. For performance concerns, enable debug logging, monitor resource usage, and consider adjusting the cache or concurrency settings.
Real-world use cases and examples
You can use the server to perform large-scale refactoring, security audits, quality gate automation, architecture analysis, and automated documentation. Examples include finding all references to a legacy class, running a comprehensive security scan with compliance reporting, and generating API documentation from code patterns.
Available tools
edit_file
AI-guided code editing with atomic operations, backup creation, and validation.
dry_run_edit_file
Preview edits safely with diff visualization and validation testing.
read_multiple_files
Batch file reading with concatenated output and contextual analysis.
search_files
Filename pattern search with recursive scanning and exclusion patterns.
search_code_patterns
AST-based semantic search with multi-language support.
analyze_code_structure
Code structure analysis including functions, classes, imports, and complexity.
find_references
Symbol reference tracking and cross-codebase dependency mapping.
dump_syntax_tree
AST visualization with multiple format outputs.
find_code
Direct AST pattern search with CLI integration and JSON output.
find_code_by_rule
YAML rule-based search for advanced pattern matching.
security_scan_comprehensive
Vulnerability scanning with OWASP Top 10 and compliance checks.
quality_assessment_comprehensive
Multi-dimensional code quality analysis including complexity and maintainability.
compliance_reporting_generate
Generate reports for PCI DSS, HIPAA, GDPR, SOC 2, ISO 27001.
quality_gates_evaluate
Quality gate automation with customizable thresholds.
llm_analyze_code
Deep semantic analysis with multi-analysis types and memory features.
llm_generate_rule
Dynamic rule generation from natural language to AST rules.
llm_search_pattern
Intelligent pattern search with context awareness.
auto_ast_intelligence
Auto-intent detection and automated tool selection.