mcp-server-ngzorro

mcp-server-ngzorro

Enables querying NG-ZORRO (Ant Design for Angular) documentation and examples via GitHub API, providing structured prompts and document retrieval.

Category
Visit Server

README

MCP Server NG-ZORRO

Build NPM Version License: MIT

Servidor MCP (Model Context Protocol) que expõe ferramentas para consulta inteligente da documentação NG-ZORRO (Ant Design for Angular) via GitHub API com cache eficiente, operando em modo STDIO (JSON‑RPC 2.0) compatível com clientes MCP.

✨ Destaques

  • Fluxo enxuto: extração de contexto → recuperação de documentação
  • Ferramentas tipadas com Zod + validação
  • Modo STDIO pronto para clientes MCP (Claude / VS Code / Cursor / scripts customizados)
  • Facilmente extensível para novas tools de busca/listagem

🧰 Ferramentas Disponíveis

Tool Descrição
extract_ngzorro_topic Gera prompt estruturado (component, topics, intent, subtarefas)
query_ngzorro_document Busca documentação e exemplos oficiais do componente (simples/complexo)

Outras ferramentas utilitárias antigas foram removidas temporariamente para simplificar a superfície inicial.

⚡ Uso Rápido

1. Executar sem instalar

npx mcp-server-ngzorro

2. Instalar globalmente

npm install -g mcp-server-ngzorro
mcp-server-ngzorro

3. Execução STDIO direta (debug/manual)

npm run build
node build/index.js --stdio

O processo aguardará mensagens JSON‑RPC 2.0 via stdin e responderá via stdout.

Configuração VS Code (exemplo)

Crie ~/.vscode/mcp.json:

{
  "servers": {
    "mcp-server-ngzorro": {
      "command": "npx",
      "args": ["-y", "mcp-server-ngzorro", "mcp"]
    }
  }
}

Nota: O argumento final "mcp" é opcional. Ele existe para compatibilidade com clientes que enviam um subcomando explícito (padrão semelhante ao @angular/cli). Se seu cliente não precisar, pode remover.

Windows (cmd) Config (Cursor / VS Code)

Se estiver no Windows e o cliente exigir uso de cmd:

{
  "mcpServers": {
    "mcp-server-ngzorro": {
      "command": "npx",
      "args": ["-y", "mcp-server-ngzorro"]
    }
  }
}

Também aqui o mcp final é opcional.

👩‍💻 Desenvolvimento

git clone https://github.com/velrys/mcp-server-ngzorro.git
cd mcp-server-ngzorro
npm install
npm run build        # compila para ./build
node build/index.js --stdio  # inicia em modo stdio
npm start            # build + inspector interativo

🧪 Exemplo (Agente)

mode: agent
tools: ['extract_ngzorro_topic', 'query_ngzorro_document']
description: 'Trazer docs e exemplo básico'
---
Preciso exibir uma tabela paginada com filtros server-side. Traga a doc relevante e um trecho mínimo.

🤝 Contribuição

🔒 Repositório Público com Fluxo Rigoroso

Todas as mudanças devem ser feitas via Pull Request com aprovação obrigatória. Leia o Guia de Contribuição completo.

🚀 Fluxo Rápido:

# 1. Fork o repositório
# 2. Clone e prepare
git clone https://github.com/SEU_USUARIO/mcp-server-ngzorro.git
cd mcp-server-ngzorro && npm install

# 3. Crie branch para sua mudança
git checkout -b feature/minha-contribuicao

# 4. Desenvolva, teste e commit
npm run build && npm run lint
git commit -m "feat: minha contribuição"

# 5. Push e abra PR
git push origin feature/minha-contribuicao

📋 Requisitos:

  • ✅ Build e lint passando
  • ✅ PR template preenchido
  • ✅ Code review e aprovação
  • ✅ Commits seguindo Conventional Commits

Ver CONTRIBUTING.md para detalhes completos.

🔒 Segurança

Sem coleta ou armazenamento de dados do usuário.

🚨 Vulnerabilidades:

  • Não abra issue pública
  • Reporte via Security Policy
  • Email: erivelton.silva106@gmail.com

✅ Boas Práticas:

  • Não commitar tokens
  • Usar GITHUB_TOKEN apenas para rate limits
  • Manter dependências atualizadas (npm audit)

Ver SECURITY.md para processo completo.

📄 Licença

MIT © Erivelton


Nota: Arquivos internos históricos foram simplificados; este README é a fonte principal.

🙏 Créditos

  • NG-ZORRO Team
  • Comunidade Model Context Protocol

Pronto para explorar? npx mcp-server-ngzorro

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured