MCP Project Guard
This MCP server automatically analyzes project architecture and finds similar code patterns to maintain consistency across different programming languages.
README
MCP Project Guard
🛡️ Servidor MCP que analisa automaticamente a arquitetura do seu projeto e busca códigos similares para manter consistência em diferentes linguagens de programação.
🚀 Instalação
npx mcp-project-guard
⚙️ Configuração no VS Code
Adicione ao seu settings.json (Ctrl+Shift+P → "Open User Settings (JSON)"):
{
"github.copilot.chat.welcomeMessage": "disabled",
"github.copilot.chat.startupMessage": "Use the MCP Project Guard tools to analyze architecture and find similar code patterns.",
"mcp": {
"servers": {
"mcp-project-guard": {
"command": "npx",
"args": ["mcp-project-guard"],
"env": {}
}
}
}
}
🛠️ Tools Disponíveis
1. analyze_architecture
Analisa a arquitetura geral do projeto:
- Detecta linguagem de programação
- Define regras e camadas arquiteturais
- Conta componentes existentes
- Retorna estrutura de pastas recomendada
2. find_similar_code
Busca códigos similares no projeto:
- Encontra componentes similares por tipo
- Extrai trechos de código relevantes
- Identifica padrões e imports usados
- Sugere reutilização de código existente
🎯 Como usar no GitHub Copilot
Workflow recomendado:
1. @mcp-project-guard analyze_architecture
2. @mcp-project-guard find_similar_code component_type:modal
3. [Agora o Copilot tem contexto completo para gerar código]
Exemplos práticos:
Para criar um modal:
@mcp-project-guard find_similar_code component_type:modal
Crie um modal para exibir detalhes do usuário
Para criar uma API:
@mcp-project-guard find_similar_code component_type:api search_term:fetch
Como criar uma nova rota de API?
Para criar um formulário:
@mcp-project-guard find_similar_code component_type:form
Preciso de um formulário de cadastro
Análise geral:
@mcp-project-guard analyze_architecture
Qual a estrutura recomendada para este projeto?
🔍 Verificar uso
npx mcp-check-usage
📦 NPM: mcp-project-guard
🐛 Issues: GitHub Issues
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.