Skip to main content
Glama

AI Agent Template MCP Server

by bswa006
SERVER-CAPABILITIES.md3.23 kB
# MCP Context Manager - Server Capabilities ## 🎯 What This Server Provides ### 📚 Template Resources (9 total) 1. **`template://project-template`** - Complete PROJECT-TEMPLATE.md with all AI safety features - Hallucination prevention, defensive coding, metrics tracking 2. **`template://tech-stack`** 🆕 - Single source of truth for version constraints - Eliminates duplication, reduces tokens by 30% 3. **`template://context7-config`** - Real-time documentation sync configuration - Prevents 27% error rate in AI-generated code 4. **`template://adr-template`** - Architecture Decision Records with AI constraints - DO/DON'T sections with code examples 5. **`template://cursor-context-loader`** 🆕 - Auto-attach configuration for Cursor - Context loads automatically when opening files 6. **`template://cursor-tech-rules`** 🆕 - Version enforcement and library preferences - Prevents using outdated or forbidden libraries 7. **`template://cursor-quality-gates`** 🆕 - Automated quality checks - Size limits, type safety, coverage requirements 8. **`template://version-sync-script`** 🆕 - Weekly dependency update checker - Updates tech-stack.yaml automatically 9. **`template://github-action-sync`** 🆕 - CI/CD workflow for automated context updates - Creates PRs for version bumps ### 🔧 Available Tools (9 total) 1. **`create_project_template`** - Enhanced to create full folder structure - References shared tech-stack.yaml 2. **`create_codebase_context`** - Updated to import from shared files - Reduces duplication 3. **`create_context7_config`** - Hallucination prevention setup 4. **`create_directory_readme`** - Directory-specific documentation 5. **`create_adr`** - Architecture decision records 6. **`check_context_usage`** - Enhanced to check all context files 7. **`create_cursor_config`** 🆕 - Sets up Cursor auto-loading rules 8. **`create_shared_tech_stack`** 🆕 - Creates deduplicated version config 9. **`create_maintenance_scripts`** 🆕 - Installs automation scripts ## 📊 Key Improvements ### Before Optimization - 65KB of context with duplicated versions - Manual context loading in Cursor - Exact version constraints causing lock-in - No automation for updates ### After Optimization - ~45KB context (30% reduction) - Automatic context loading - Minimum version constraints - Weekly automated updates - Cursor-specific optimizations ## 🚀 Usage Flow 1. **Initial Setup** ``` AI: Uses create_shared_tech_stack first AI: Then creates PROJECT-TEMPLATE.md referencing shared file AI: Sets up Cursor config for auto-loading AI: Installs maintenance scripts ``` 2. **Daily Development** - Context auto-loads in Cursor - AI checks shared/tech-stack.yaml for versions - Quality gates enforce standards 3. **Weekly Maintenance** - GitHub Action runs version sync - Creates PR if updates available - Keeps context current ## ✅ Result A production-ready MCP server that: - Reduces token costs by 30% - Auto-loads in Cursor - Prevents version lock-in - Maintains itself weekly - Enforces quality standards - Prevents AI hallucinations

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/bswa006/mcp-context-manager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server