# io.github.codespar/mcp-alegra (npm · @codespar/mcp-alegra)

Alegra — cloud accounting for LATAM (Colombian-founded)

- Trust score: 69/100 (medium)
- Change this week: +23
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-04

## Components

- npm · `@codespar/mcp-alegra`: 69/100 (this document), [markdown](https://verifymcp.io/servers/codespar-mcp-alegra/codespar-mcp-alegra.md), [page](https://verifymcp.io/servers/codespar-mcp-alegra/codespar-mcp-alegra)

## Channel facts

- Registry: `npm`
- Package: `@codespar/mcp-alegra`
- Version: `0.2.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-04.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 42 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 1268 tokens (~63/item across 20 items; 20 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 30/100
  - Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add codespar-mcp-alegra -- npx -y @codespar/mcp-alegra
```

### Codex

```bash
codex mcp add codespar-mcp-alegra -- npx -y @codespar/mcp-alegra
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "codespar-mcp-alegra": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@codespar/mcp-alegra"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add codespar-mcp-alegra --command npx --arg -y --arg @codespar/mcp-alegra
```

### Hermes

```yaml
mcp_servers:
  codespar-mcp-alegra:
    command: "npx"
    args: ["-y", "@codespar/mcp-alegra"]
```

### Other

```json
{
  "mcpServers": {
    "codespar-mcp-alegra": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-alegra"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-04 (score 69, +5)

- [functional improvement] Stability: unverified → 0.30

### 2026-08-02 (score 64, +43)

- [security regression] Provenance: unverified → fail
- [security improvement] Malware scan: unverified → pass
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Schema quality: unverified → good
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 21, −17)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-31 (score 38, +12)

- [security regression] Provenance: unverified → fail
- [security regression] Malware scan: pass → unverified
- [security improvement] Install scripts: unverified → pass
- [functional regression] Dependency health: partial → unverified
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] License: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional] Licence: MIT

### 2026-07-29 (score 26, −20)

- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (20)

### `create_invoice` (~111 tokens)

Create an invoice

Input parameters:

- `client` (number, required): Client/contact ID
- `currency` (string): Currency code (COP, USD, MXN)
- `date` (string, required): Invoice date (YYYY-MM-DD)
- `due_date` (string, required): Due date (YYYY-MM-DD)
- `items` (array, required): Invoice items
- `observations` (string): Notes/observations
- `payment_method` (string): Payment method
- `stamp` (object): E-invoicing stamp (for DIAN)

### `get_invoice` (~24 tokens)

Get invoice details by ID

Input parameters:

- `invoiceId` (number, required): Invoice ID

### `list_invoices` (~91 tokens)

List invoices

Input parameters:

- `client_id` (number): Filter by client ID
- `date_from` (string): Start date (YYYY-MM-DD)
- `date_to` (string): End date (YYYY-MM-DD)
- `limit` (number): Results limit (max 30)
- `start` (number): Offset for pagination
- `status` (string): Filter by status (open, closed, void)

### `void_invoice` (~38 tokens)

Void/cancel an invoice

Input parameters:

- `invoiceId` (number, required): Invoice ID
- `reason` (string): Reason for void/annulment

### `get_invoice_pdf` (~25 tokens)

Get invoice PDF download URL

Input parameters:

- `invoiceId` (number, required): Invoice ID

### `send_invoice` (~82 tokens)

Email an invoice to one or more recipients

Input parameters:

- `body` (string): Email body/message
- `cc` (array): CC recipients
- `emails` (array, required): Recipient email addresses
- `invoiceId` (number, required): Invoice ID
- `send_copy_to_user` (boolean): Send a copy to the account user
- `subject` (string): Email subject

### `create_contact` (~115 tokens)

Create a contact (customer or supplier)

Input parameters:

- `address` (string): Address
- `city` (string): City
- `department` (string): Department/state
- `email` (string): Email address
- `identification` (string): Tax ID (NIT, CC, CE, RUT)
- `name` (string, required): Contact name
- `phone_primary` (string): Primary phone
- `regime` (string): Tax regime (simplified, common)
- `type` (string): Contact type (client, provider)

### `update_contact` (~107 tokens)

Update an existing contact

Input parameters:

- `address` (string): Address
- `city` (string): City
- `contactId` (number, required): Contact ID
- `department` (string): Department/state
- `email` (string): Email address
- `identification` (string): Tax ID
- `name` (string): Contact name
- `phone_primary` (string): Primary phone
- `regime` (string): Tax regime
- `type` (string): Contact type (client, provider)

### `delete_contact` (~22 tokens)

Delete a contact

Input parameters:

- `contactId` (number, required): Contact ID

### `list_contacts` (~53 tokens)

List contacts

Input parameters:

- `limit` (number): Results limit
- `query` (string): Search query
- `start` (number): Offset for pagination
- `type` (string): Filter by type (client, provider)

### `create_item` (~93 tokens)

Create a product or service item

Input parameters:

- `category` (number): Category ID
- `description` (string): Description
- `inventory` (object): Inventory settings
- `name` (string, required): Item name
- `price` (number, required): Price
- `reference` (string): Reference/SKU code
- `tax` (array): Tax IDs
- `type` (string): Item type (product, service, kit)

### `update_item` (~92 tokens)

Update an existing item

Input parameters:

- `category` (number): Category ID
- `description` (string): Description
- `itemId` (number, required): Item ID
- `name` (string): Item name
- `price` (number): Price
- `reference` (string): Reference/SKU code
- `tax` (array): Tax IDs
- `type` (string): Item type (product, service, kit)

### `list_items` (~55 tokens)

List products and services

Input parameters:

- `limit` (number): Results limit
- `query` (string): Search query
- `start` (number): Offset for pagination
- `type` (string): Filter by type (product, service)

### `list_payments` (~59 tokens)

List payments

Input parameters:

- `date_from` (string): Start date (YYYY-MM-DD)
- `date_to` (string): End date (YYYY-MM-DD)
- `limit` (number): Results limit
- `start` (number): Offset for pagination

### `get_payment` (~23 tokens)

Get payment by ID

Input parameters:

- `paymentId` (number, required): Payment ID

### `create_payment` (~85 tokens)

Record a payment

Input parameters:

- `amount` (number, required): Payment amount
- `bank_account` (number): Bank account ID
- `client` (number): Client ID
- `date` (string, required): Payment date (YYYY-MM-DD)
- `invoices` (array): Invoices to apply payment to
- `observations` (string): Notes
- `payment_method` (string): Payment method

### `void_payment` (~25 tokens)

Void/annul a payment

Input parameters:

- `paymentId` (number, required): Payment ID

### `list_categories` (~44 tokens)

List item categories (chart of accounts)

Input parameters:

- `limit` (number): Results limit
- `query` (string): Search query
- `start` (number): Offset for pagination

### `list_bank_accounts` (~43 tokens)

List bank accounts

Input parameters:

- `limit` (number): Results limit
- `start` (number): Offset for pagination
- `type` (string): Filter by account type

### `get_company` (~14 tokens)

Get company profile and settings

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/codespar-mcp-alegra/codespar-mcp-alegra#diagnostics

## Score history

- 2026-08-04: 69
- 2026-08-03: 64
- 2026-08-02: 64
- 2026-08-01: 21
- 2026-07-31: 38
- 2026-07-29: 26
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@codespar/mcp-alegra
- Socket report: https://socket.dev/npm/package/@codespar/mcp-alegra
- Repository: https://github.com/codespar/mcp-dev-latam
- Changelog RSS feed: https://verifymcp.io/servers/codespar-mcp-alegra/codespar-mcp-alegra/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/codespar-mcp-alegra/codespar-mcp-alegra/changelog.json
- HTML version of this page: https://verifymcp.io/servers/codespar-mcp-alegra/codespar-mcp-alegra
