Custom Frameworks
Learn how to add custom frameworks to the Augments MCP Server with hot-reloading, validation, and advanced configuration options.
Required Fields
nameUnique identifier for the framework (alphanumeric, hyphens, underscores only)
display_nameHuman-readable name shown in documentation and search results
categoryFramework category for organization and filtering
typeDescriptive type of the framework
sourcesDocumentation sources configuration with GitHub and/or website
context_filesImportant documentation files to include in context
key_featuresMain features and capabilities for search and discovery
common_patternsCommon usage patterns and architectural approaches
Optional Fields
versionVersion tracking (defaults to 'latest')
sectionsNamed section mappings for specific documentation areas
prioritySearch ranking priority (0-100, higher = more important, default: 50)
Basic Framework Configuration
Minimal configuration for a simple framework with GitHub documentation.
{
"name": "my-framework",
"display_name": "My Framework",
"category": "web",
"type": "React Framework",
"version": "latest",
"sources": {
"documentation": {
"github": {
"repo": "myorg/my-framework",
"docs_path": "docs",
"branch": "main"
}
}
},
"context_files": [
"README.md",
"docs/getting-started.md",
"docs/api-reference.md"
],
"key_features": [
"fast-builds",
"hot-reload",
"typescript-support"
],
"common_patterns": [
"component-architecture",
"state-management"
],
"priority": 60
}How It Works
File System Monitoring
- • Watches the frameworks directory for changes
- • Detects .json file modifications, additions, deletions
- • Triggers automatic reloading without server restart
- • Provides real-time feedback on validation errors
Validation & Error Handling
- • Validates configuration against schema
- • Checks required fields and data types
- • Verifies GitHub repository access
- • Graceful fallback for invalid configurations
Development Workflow
1. Create Framework File
frameworks/my-category/my-framework.json2. Edit Configuration
Make changes to your framework configuration file. The server automatically detects changes.
3. Validation Feedback
Check server logs for validation results. Invalid configurations are logged with specific error messages.
4. Test Integration
Use MCP tools to verify your framework is available and documentation is accessible.
Validation Requirements
Naming Conventions
- • Framework name: alphanumeric, hyphens, underscores only
- • Use lowercase for consistency
- • Avoid spaces and special characters
- • Keep names concise but descriptive
Category Requirements
- • Must use predefined categories
- • Categories: web, backend, mobile, ai-ml, design, tools, database
- • Choose the most appropriate primary category
- • Use tags for cross-category features
Best Practices
Priority Guidelines
- • 90-100: Major frameworks (React, Next.js, Django)
- • 70-89: Popular specialized tools (Tailwind CSS, FastAPI)
- • 50-69: Standard frameworks and libraries
- • 25-49: Niche or experimental frameworks
Documentation Strategy
- • Include both GitHub and website sources for redundancy
- • Specify the most relevant documentation files
- • Use stable branches (main, master) for consistency
- • Test source accessibility before submission
Feature & Pattern Selection
- • Focus on distinctive features that users search for
- • Include architectural patterns and usage approaches
- • Use consistent terminology across similar frameworks
- • Balance comprehensiveness with clarity
❌ Invalid Name Format
Framework names must contain only alphanumeric characters, hyphens, and underscores.
// ❌ Invalid
"name": "My Framework!"
"name": "framework.js"
"name": "framework (v2)"
// ✅ Valid
"name": "my-framework"
"name": "framework_js"
"name": "framework-v2"⚠️ Missing Required Fields
Ensure all required fields are present in your configuration.
Required: name, display_name, category, type, sources, context_files, key_features, common_patterns
⚠️ Invalid Category
Categories must be one of the predefined values.
// ❌ Invalid
"category": "frontend"
"category": "devtools"
// ✅ Valid
"category": "web"
"category": "tools"💡 GitHub Access Issues
Ensure repository URLs are correct and accessible.
• Check repository visibility (public repositories preferred)
• Verify branch names (main vs master)
• Confirm documentation path exists
• Test with GitHub token for better rate limits