@guedder/mcp

@guedder/mcp

Readonly MCP server for the Guedder API v3, enabling operational tasks like listing events, searching tickets, and managing purchases via Streamable HTTP or stdio.

Category
Visit Server

README

@guedder/mcp

Readonly MCP over the Guedder API v3 for operational tasks. Thin wrappers over the public + produtor/admin GET endpoints. Streamable HTTP stateless server, TypeScript.

Transporte

O padrão é Streamable HTTP em http://127.0.0.1:3000/mcp, compatível com a arquitetura MCP atual sem sessão em memória. Configure o endereço público por reverse proxy, por exemplo https://api.guedder.com/mcp ou https://mcp.guedder.com/mcp.

Variável Padrão Uso
GUEDDER_MCP_TRANSPORT streamable-http Use stdio apenas para clientes locais legados.
GUEDDER_MCP_HOST 127.0.0.1 Em contêiner, use 0.0.0.0; o proxy publica HTTPS.
GUEDDER_MCP_PORT 3000 Porta HTTP do MCP.
GUEDDER_MCP_PATH /mcp Caminho HTTP do MCP.

Antes de expor publicamente, o proxy ou a próxima camada OAuth2 deve autenticar os clientes MCP. GUEDDER_BEARER_TOKEN autentica somente este servidor perante a API Guedder.

Autenticação

Os endpoints autenticados recebem o token configurado em GUEDDER_BEARER_TOKEN. O MCP o encaminha como Authorization: Bearer <token> somente nessas consultas; não armazena credenciais de usuário nem executa login na API.

Para OAuth2, a futura implementação troca apenas o provedor interno de token (tokenProvider), preservando contratos e ferramentas MCP.

As ferramentas públicas não precisam de token. Estas exigem GUEDDER_BEARER_TOKEN: guedder_buscar_ingressos_evento, guedder_meus_ingressos, guedder_minhas_compras, guedder_get_lote, guedder_usuario_logado.

Build

npm install
npm run build
npm run smoke   # usa stdio apenas no smoke: lista tools e consulta endpoint público
npm run sync:openapi-v3  # atualiza src/openapi-v3.json a partir de dev-api.guedder.com

Após a publicação, execute o servidor HTTP com:

GUEDDER_MCP_HOST=0.0.0.0 GUEDDER_BEARER_TOKEN=seu-token npx -y @guedder/mcp

A imagem multi-arquitetura é publicada pelo GitHub Actions em ghcr.io/guedder/mcp:latest.

Schema de saída e contexto

Cada ferramenta devolve o JSON original em content e também em structuredContent.result, coberto por outputSchema. Para reduzir contexto no harness, guedder://openapi/v3 é apenas um índice compacto; cada ferramenta aponta para seu resource específico, como guedder://openapi/v3/tools/guedder_listar_eventos, que contém somente sua operação e os componentes OpenAPI referenciados.

npm run sync:openapi-v3 baixa https://dev-api.guedder.com/v3/api-docs, mantém somente operações GET /api/v3/** e os componentes OpenAPI referenciados. Rode-o quando precisar atualizar os schemas antes de publicar uma nova versão do MCP.

Tools

Tool Auth v3 endpoint
guedder_listar_eventos GET /api/v3/evento (MCP: max_results padrão 50, máximo 100; sempre página 0)
guedder_get_evento GET /api/v3/evento/{id}
guedder_listar_categorias_evento GET /api/v3/evento/categorias/publico
guedder_listar_atracoes_evento GET /api/v3/evento/{eventoId}/atracoes/publico
guedder_listar_lotes_evento GET /api/v3/lote/evento/{eventoId}/publico
guedder_get_parametros_venda GET /api/v3/compra/evento/{eventoId}/parametros-venda/publico
guedder_get_lote GET /api/v3/lote/{codigoOrEventoId}/lote/{codigoOrLoteId}
guedder_buscar_ingressos_evento GET /api/v3/ingresso/{eventoId}/buscar (MCP: max_results, sempre página 0)
guedder_meus_ingressos GET /api/v3/ingresso/meus_ingressos/todos
guedder_minhas_compras GET /api/v3/minhas_compras (MCP: max_results, sempre página 0)
guedder_buscar_compras_evento GET /api/v2/compra/evento/{eventoId}/extrato (MCP: max_results, sempre página 0)
guedder_auditar_vendas_evento GET /api/v1/metrica/{eventoId}/ultimas-vendas (auditoria operacional; MCP: max_results, sempre página 0)
guedder_resumo_vendas_evento GET /api/v1/metrica/{eventoId}/resumo-vendas
guedder_listar_integracoes_pagamento ✅ ADMIN GET /api/v1/administrativo/gateway-adquirentes (MCP: max_results, sempre página 0)
guedder_listar_resumo_repasses_eventos ✅ ADMIN GET /api/v3/administrativo/repasses/eventos (MCP: max_results, sempre página 0)
guedder_listar_locais_recentes ✅ ADMIN GET /api/v3/administrativo/locais-recentes
guedder_usuario_logado GET /api/v3/usuarios/usuario_logado

Cliente MCP local (stdio opcional)

Add to ~/.claude.json (or project .mcp.json) under mcpServers:

{
  "mcpServers": {
    "guedder": {
      "command": "node",
      "args": ["/Users/danilo/Work/DG/guedder/guedder-ops-mcp/dist/index.js"],
      "env": {
        "GUEDDER_API_BASE": "https://api.guedder.com",
        "GUEDDER_MCP_TRANSPORT": "stdio",
        "GUEDDER_BEARER_TOKEN": "seu-access-token"
      }
    }
  }
}

Point GUEDDER_API_BASE at a dev/staging host to use those environments.

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