AndersonNascimentoAFSN/monitoring-gitlab-branches-mcp-server
If you are the rightful owner of monitoring-gitlab-branches-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Monitoring Branches MCP Server is designed to interface with the monitoring-branches project, providing a structured way to access and manage project status data through a Model Context Protocol (MCP) server.
get_status_all
Queries the /status endpoint to retrieve the status of all monitored projects.
get_status_modulo
Queries the /status/{modulo} endpoint to retrieve the status of a specific module.
Monitoring Branches MCP Server
Servidor MCP construído com FastMCP para expor tools que consomem os endpoints do projeto .
Pré-requisitos
- Python 3.10+
- O serviço
monitoring-branches
rodando (por padrão emlocalhost:8000
) - Ambiente virtual Python recomendado
Instalação
- Ative seu ambiente virtual (ou crie um):
python -m venv .venv source .venv/bin/activate
- Instale as dependências:
pip install -r requirements.txt
Rodando o servidor MCP
- Certifique-se de que o serviço
monitoring-branches
está rodando:cd ../monitoring-branches uvicorn monitor_server:app --reload
- Em outro terminal, rode o servidor MCP:
O servidor MCP ficará disponível em SSE na porta 8001.
python server.py
Tools disponíveis
get_status_all(format: str = "json")
Consulta o endpoint /status
do monitoring-branches.
- Parâmetros:
format
: "json", "markdown" ou "csv" (padrão: "json")
- Retorno: Status de todos os projetos monitorados.
get_status_modulo(modulo: str, format: str = "json")
Consulta o endpoint /status/{modulo}
do monitoring-branches.
- Parâmetros:
modulo
: nome do módulo/projetoformat
: "json", "markdown" ou "csv" (padrão: "json")
- Retorno: Status do módulo informado.
Exemplo de uso (via MCP Inspector ou Cursor)
- Adicione o servidor MCP em sua ferramenta (ex: Cursor) com:
- URL:
http://localhost:8001/sse/
- URL:
- Liste e execute os tools conforme desejado.
Dúvidas ou sugestões? Abra uma issue ou entre em contato!