@integradte/mcp

@integradte/mcp

MCP server for querying Chilean electronic invoicing data via the IntegraDTE API. Enables language models to retrieve tax documents, folios, statistics, and more.

Category
Visit Server

README

@integradte/mcp

MCP Server para consultar datos de facturación electrónica chilena desde la API IntegraDTE.

Permite a modelos de lenguaje (Claude, etc.) consultar documentos tributarios, folios, estadísticas y más mediante el protocolo MCP (Model Context Protocol).

Tools disponibles

Tool Descripción
get_user_info Info del usuario autenticado (nombre, email, estado)
get_certificate_info Estado del certificado digital (vencimiento, titular)
list_documents Listar DTEs con filtros (tipo, estado, fechas, paginación)
get_document Detalle de un documento por ID
get_document_stats Estadísticas: totales emitidos, montos, por tipo DTE
get_numeration_summary Resumen de folios disponibles por tipo
get_last_folio Último folio usado para un tipo de DTE

Instalación

npm install
npm run build

Variables de entorno

Variable Descripción Default
API_BASE_URL URL de la API IntegraDTE http://localhost:5058
API_KEY API Key de autenticación (requerida) —

Uso con Claude Desktop

Agregar a claude_desktop_config.json:

{
  "mcpServers": {
    "integradte": {
      "command": "npx",
      "args": ["-y", "@integradte/mcp"],
      "env": {
        "API_BASE_URL": "https://api.integradte.cl",
        "API_KEY": "tu_api_key"
      }
    }
  }
}

Uso con npx (una vez publicado)

{
  "mcpServers": {
    "integradte": {
      "command": "npx",
      "args": ["-y", "@integradte/mcp"],
      "env": {
        "API_BASE_URL": "https://api.integradte.cl",
        "API_KEY": "tu_api_key"
      }
    }
  }
}

Tipos de DTE soportados

Código Tipo
33 Factura Electrónica
34 Factura Exenta
39 Boleta Electrónica
41 Boleta Exenta
46 Factura de Compra
52 Guía de Despacho
56 Nota de Débito
61 Nota de Crédito

Desarrollo

npm install
npm run dev    # Watch mode
npm run build  # Build
npm start      # Run

Publicación a npm con versiones automáticas

Este repo usa Changesets + GitHub Actions.

Configuración inicial

  1. Crear el secret NPM_TOKEN en GitHub (Settings > Secrets and variables > Actions).
  2. El token debe tener permisos para publicar en el scope @integradte.
  3. Si la organización exige 2FA para publish, usa un token con bypass 2fa.

Flujo de versiones

  1. Para cada cambio que quieras versionar, crea un changeset:
    pnpm changeset
    
  2. Haz commit del archivo en .changeset/*.md junto a tu cambio.
  3. Al hacer merge a main, el workflow Release crea/actualiza un PR de release con el nuevo versionado.
  4. Cuando ese PR se mergea, el mismo workflow publica automáticamente a npm.

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
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

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