batman-mcp
MCP server for managing developer escalation (Batman system) to resolve incidents during sprints, with tools for developer CRUD, unavailability, authentication, and Batman assignment.
README
Batman MCP Server
Este é um servidor MCP (Model Context Protocol) para a aplicação Batman API, que permite gerenciar o sistema de escalação de desenvolvedores para resolver incidentes durante a sprint.
📋 Funcionalidades
O servidor MCP expõe as seguintes funcionalidades da API Batman:
🔐 Autenticação
- batman_login: Fazer login na API Batman
- batman_register: Registrar novo usuário na API Batman
👥 Desenvolvedores
- batman_get_developers: Listar todos os desenvolvedores
- batman_get_developer: Obter um desenvolvedor específico
- batman_create_developer: Criar um novo desenvolvedor
- batman_update_developer: Atualizar um desenvolvedor
- batman_delete_developer: Remover um desenvolvedor
🚫 Indisponibilidades
- batman_get_unavailabilities: Listar indisponibilidades
- batman_create_unavailability: Criar uma nova indisponibilidade
🦇 Batman
- batman_get_current_batman: Obter o Batman e Robin atuais
- batman_get_priority_details: Obter detalhes do cálculo de prioridade
- batman_assign_batman: Atribuir o Batman atual
📜 Histórico
- batman_get_history: Obter histórico de Batmans
🚀 Instalação
- Instalar dependências:
npm install
- Compilar o projeto:
npm run build
- Executar o servidor:
npm start
🔧 Configuração
O servidor MCP se conecta à API Batman no endereço http://localhost:3000 por padrão. Para alterar a URL da API, modifique o construtor da classe BatmanApiClient em src/api-client.ts.
📖 Uso
Configuração no Cliente MCP
Adicione o servidor ao seu cliente MCP (como Claude Desktop):
{
"mcpServers": {
"batman": {
"command": "node",
"args": ["/caminho/para/batman-mcp-server/dist/index.js"]
}
}
}
Exemplos de Uso
1. Fazer Login
{
"name": "batman_login",
"arguments": {
"username": "admin",
"password": "admin123"
}
}
2. Obter Batman Atual
{
"name": "batman_get_current_batman",
"arguments": {}
}
3. Listar Desenvolvedores
{
"name": "batman_get_developers",
"arguments": {
"byPriority": true
}
}
4. Criar Desenvolvedor
{
"name": "batman_create_developer",
"arguments": {
"name": "João Silva",
"priority": 0
}
}
5. Criar Indisponibilidade
{
"name": "batman_create_unavailability",
"arguments": {
"developerId": "uuid-do-desenvolvedor",
"description": "Férias",
"startDate": "2024-01-15T00:00:00.000Z",
"endDate": "2024-01-30T23:59:59.999Z",
"level": 8
}
}
6. Atribuir Batman
{
"name": "batman_assign_batman",
"arguments": {}
}
🏗️ Estrutura do Projeto
src/
├── index.ts # Ponto de entrada
├── mcp-server.ts # Servidor MCP principal
├── api-client.ts # Cliente da API Batman
└── types.ts # Tipos TypeScript
🔒 Autenticação
Para usar funcionalidades que requerem autenticação (criar, atualizar, remover), você deve primeiro fazer login usando batman_login ou batman_register. O token JWT será automaticamente incluído nas requisições subsequentes.
📝 Desenvolvimento
Executar em modo de desenvolvimento:
npm run dev
Linting:
npm run lint
Formatação:
npm run format
🔗 API Batman
Este servidor MCP se conecta à API Batman que deve estar rodando em http://localhost:3000. Para mais informações sobre a API, consulte a documentação em ../api/README_API.md.
📄 Licença
ISC
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.