MCP Server Integration
Section titled “MCP Server Integration”Model Context Protocol (MCP) servers extend Claude’s capabilities by providing specialized tools and resources for development tasks. The astro-basics project includes 10 configured MCP servers that enhance the development experience across multiple domains.
What is MCP?
Section titled “What is MCP?”MCP (Model Context Protocol) is a standardized protocol that allows Claude to interact with external services and tools through specialized server implementations. Each server provides a set of functions that Claude can call to perform specific tasks.
Available MCP Servers
Section titled “Available MCP Servers”🚀 Astro Docs
Search the official Astro framework documentation for up-to-date information and examples.
🎭 Playwright
Browser automation and testing with screenshot, navigation, and interaction capabilities.
🗃️ Supabase
Complete database operations, project management, and real-time functionality.
📚 Context7
Library documentation retrieval for any package or framework with up-to-date information.
🎨 Figma
NEW! Complete design-to-code generation, variable extraction, and asset management from Figma files. Learn more →
🔐 Clerk
User authentication, organization management, and secure access control.
💻 IDE Integration
VS Code diagnostics, Jupyter notebook execution, and development environment integration.
🌐 Netlify
Deployment automation, form handling, and serverless function management.
🔍 Web Tools
Web search, content fetching, and online resource discovery.
🔧 Generic MCP
Resource listing, reading, and generic MCP server operations.
Key Benefits
Section titled “Key Benefits”Enhanced Development Workflow
Section titled “Enhanced Development Workflow”MCP servers eliminate the need to manually search documentation, configure services, or switch between tools. Claude can directly interact with your development stack.
Real-time Information
Section titled “Real-time Information”Access up-to-date documentation, API references, and service statuses without leaving your conversation with Claude.
Integrated Toolchain
Section titled “Integrated Toolchain”Seamlessly work across design (Figma), development (VS Code), database (Supabase), hosting (Netlify), and authentication (Clerk) without context switching.
Automated Operations
Section titled “Automated Operations”Perform complex multi-step operations like deploying to Netlify while updating Supabase database schemas and generating TypeScript types.
Common Use Cases
Section titled “Common Use Cases”- Search Astro documentation for specific features - Find examples in library documentation via Context7 - Get real-time API references and guides - Access troubleshooting information
- Run Jupyter notebook cells for data analysis - Get VS Code diagnostics and error information - Test browser functionality with Playwright - NEW! Generate production-ready code from Figma designs - NEW! Extract design tokens and sync with SCSS architecture - NEW! Export assets and create icon libraries from Figma
- Create and manage Supabase tables - Execute SQL queries and migrations - Manage user authentication with Clerk - Handle real-time subscriptions
- Deploy sites to Netlify - Manage environment variables - Configure serverless functions - Monitor deployment status
Server Categories
Section titled “Server Categories”Documentation & Learning
Section titled “Documentation & Learning”- Astro Docs: Official framework documentation
- Context7: Any library or package documentation
- Web Tools: General web search and content fetching
Development & Testing
Section titled “Development & Testing”- Playwright: Browser automation and testing
- IDE Integration: Development environment tools
- Generic MCP: Resource management
Backend & Database
Section titled “Backend & Database”- Supabase: Database operations and real-time features
- Clerk: Authentication and user management
Design & Assets
Section titled “Design & Assets”- Figma: Design system integration and code generation
Deployment & Hosting
Section titled “Deployment & Hosting”- Netlify: Site deployment and serverless functions
Getting Started
Section titled “Getting Started”- Setup & Configuration - Install and configure MCP servers
- Server Documentation - Detailed guides for each server
- Usage Examples - Real-world scenarios and code samples
- Troubleshooting - Common issues and solutions
Quick Example
Section titled “Quick Example”Here’s how you might use multiple MCP servers together in a complete design-to-deployment workflow:
// 1. Generate component from Figma designawait generateFigmaComponent('user-profile-card', { framework: 'react', styling: 'scss',})
// 2. Search Astro docs for authentication patternsawait searchAstroDocs('authentication middleware')
// 3. Get Clerk user management examplesawait getClerkDocumentation('user management')
// 4. Create Supabase table for user dataawait createSupabaseTable('user_profiles', schema)
// 5. Deploy to Netlify with environment variablesawait deployToNetlify({ envVars: { CLERK_SECRET_KEY: '...', SUPABASE_URL: '...' },})
// 6. Test the complete user flow with generated componentawait testWithPlaywright('/dashboard/profile')This workflow demonstrates the power of integrated MCP servers - from design extraction to research, implementation, testing, and deployment, all within a single conversation context.
Next Steps
Section titled “Next Steps”- New to MCP? Start with the Setup Guide
- Want design-to-code workflows? NEW! Figma Integration Guide
- Need specific functionality? Browse the Server Documentation
- Want to see examples? Check out Usage Examples
- Having issues? Visit Troubleshooting